Skip to content

86.0.0

Choose a tag to compare

@github-actions github-actions released this 05 Feb 17:04
8320511

@metamask/hw-wallet-sdk 0.4.0

Added

  • Add ErrorMapping type (#446)

@metamask/keyring-api 21.4.0

Added

  • Add Keyring.createAccounts optional method (#448)
    • This method is part of the keyring v2 specification and set as optional for backwards compatibility.
    • This method can be used to create one or more accounts using the new keyring v2 account creation typed options.
    • Add RPC support for this method through KeyringRpcMethod.CreateAccounts.
  • Add support for account derivations using range of indices in KeyringV2 (#451)
    • Add bip44:derive-index-range capability to KeyringCapabilities.
    • Add AccountCreationType.Bip44DeriveIndexRange and CreateAccountBip44DeriveIndexRangeOptions.
  • Add support for custom capabilities and entropy types in KeyringV2 (#415)
    • Add custom capability to KeyringCapabilities for keyrings with non-standard createAccounts method.
    • Add KeyringAccountEntropyTypeOption.Custom for custom/opaque entropy sources.
    • Add AccountCreationType.Custom and CreateAccountCustomOptions for custom account creation flows.
  • Add EthKeyringWrapper abstract class for Ethereum-based KeyringV2 implementations (#404)
    • Provides common Ethereum signing method routing (submitRequest) for all Ethereum-based keyrings.
  • Add KeyringWrapper base class to adapt legacy keyrings to KeyringV2 (#398),(#402), (#409), (#410)

Changed

  • Make BIP-44 capabilities optional in KeyringCapabilities (#453)
    • The derivePath, deriveIndex, deriveIndexRange, and discover capabilities are now optional.
    • A capability set to true indicates support, while false or undefined indicates no support.
    • Keyrings no longer need to explicitly set unsupported capabilities to false.
  • Change KeyringWrapper.capabilities from a readonly property to a getter (#447)
    • Allows subclasses to override and return capabilities dynamically based on runtime state.
  • Refine EthAddressStruct in order to make it compatible with the Hex type from @metamask/utils (#405)

@metamask/eth-ledger-bridge-keyring 11.3.0

Changed

  • Integrate @metamask/hw-wallet-sdk for standardized hardware wallet error handling (#446)
    • Replace custom error handling with HardwareWalletError from the SDK.
    • Use LEDGER_ERROR_MAPPINGS from the SDK for consistent error code mapping.
    • Re-export HardwareWalletError, ErrorCode, Severity, Category, and error mappings for consumer convenience.
    • Deprecate LedgerStatusError in favor of HardwareWalletError.
    • Prefix Ledger transport error messages for compatibility.

@metamask/keyring-internal-api 10.0.0

Changed

  • BREAKING: Rename KeyringRequestV1 type to KeyringRequestWithoutOrigin (#423)
  • BREAKING: Rename toKeyringRequestV1 method to toKeyringRequestWithoutOrigin (#423)
  • Bump @metamask/keyring-api from ^21.2.0 to ^21.4.0 (#460)

Removed

  • BREAKING: Remove KeyringVersion support (#423)

@metamask/keyring-internal-snap-client 9.0.0

Changed

  • BREAKING: Bump @metamask/keyring-internal-api from ^9.1.2 to ^10.0.0 (#460)
  • Bump @metamask/keyring-api from ^21.2.0 to ^21.4.0 (#460)
  • Bump @metamask/snaps-controllers from ^14.0.1 to ^18.0.0 (#422), (#424), (#461)
  • Bump @metamask/snaps-sdk from ^9.0.0 to ^10.4.0 (#422), (#461)
  • Bump @metamask/snaps-utils from ^11.0.0 to ^12.1.0 (#422), (#461)

Removed

  • BREAKING: Rename submitRequestV1 method to submitRequestWithoutOrigin (#423)

@metamask/eth-snap-keyring 19.0.0

Added

  • Add SnapKeyring.createAccounts method (#448)
    • This method can be used to create one or more accounts using the new keyring v2 account creation typed options.
    • Generic accounts will be filtered out if they are not allowed by the keyring configuration.

Changed

  • BREAKING: Bump @metamask/keyring-internal-api from ^9.1.2 to ^10.0.0 (#460)
  • BREAKING: Bump @metamask/keyring-internal-snap-client from ^8.0.2 to ^9.0.0 (#460)
  • Bump @metamask/keyring-api from ^21.2.0 to ^21.4.0 (#460)
  • Bump @metamask/snaps-controllers from ^14.0.1 to ^18.0.0 (#422), (#461)
  • Bump @metamask/snaps-sdk from ^9.0.0 to ^10.4.0 (#422), (#461)
  • Bump @metamask/snaps-utils from ^11.0.0 to ^12.1.0 (#422), (#424), (#461)

Removed

  • BREAKING: Remove KeyringVersion support (#423)
    • Both getKeyringVersionFromPlatform, PLATFORM_VERSION_TO_KEYRING_VERSION got removed too.
  • BREAKING: Rename submitRequestV1 method to submitRequestWithoutOrigin (#423)

@metamask/keyring-snap-client 8.2.0

Added

  • Add KeyringClient.createAccounts method (#448)
    • This method can be used to create one or more accounts using the new keyring v2 account creation typed options.

Changed

  • Bump @metamask/keyring-api from ^21.2.0 to ^21.4.0 (#460)

@metamask/keyring-snap-sdk 7.2.0

Added

  • Add keyring_createAccounts method to RPC dispatcher (#448)
    • This method SHOULD NOT use notify:accountCreated.
    • Accounts returned by this method are will be automatically added to the internal keyring state.

Changed

  • Bump @metamask/keyring-api from ^21.2.0 to ^21.4.0 (#460)
  • Bump @metamask/snaps-sdk from ^9.0.0 to ^10.4.0 (#422, #461)

@metamask/keyring-utils 3.2.0

Added

  • Add EthKeyring alias export for the legacy Keyring type (#404)