Skip to content

Latest commit

 

History

History
183 lines (112 loc) · 7.89 KB

File metadata and controls

183 lines (112 loc) · 7.89 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Changed

  • Bump @metamask/keyring-api from ^23.0.1 to ^23.1.0 (#538)

Changed

  • Bump @metamask/keyring-api from ^23.0.0 to ^23.0.1 (#518)

Changed

  • Bump @metamask/keyring-api from ^22.0.0 to ^23.0.0 (#515)

Changed

  • Bump @metamask/keyring-api from ^21.6.0 to ^22.0.0 (#482)

Changed

  • BREAKING: Use new createAccounts options for AccountsProvider.createAccounts (#462)
    • This will allow to use various ways of constructing accounts (e.g. multiple indexes at once).
  • Bump @metamask/keyring-api to ^21.4.0 (#460)
  • Bump @metamask/keyring-utils to ^7.2.0 (#460)

Changed

  • BREAKING: Rename AccountsProvider.discoverAndCreateAccounts to AccountsProvider.discoverAccounts (#371)
    • This aligns the method name with MultichainAccountWallet.discoverAccounts.

Added

  • BREAKING: Add MultichainAccountWallet.{align,discover}Accounts methods (#368)
  • BREAKING: Add {Multichain,}AccountWallet.status getter (#367)

Changed

  • Make isBip44Account faster (#369)
    • We mainly rely on the options.entropy.type now and no longer use superstruct for this function.

Added

  • Add group/wallet ID parsing/validation support (#360)
  • Add Bip44AccountProvider type alias (#361)

Changed

  • BREAKING: Bump @metamask/keyring-api to ^21.0.0 (#362)

Changed

  • BREAKING: Bump @metamask/keyring-api to ^20.0.0 (#348)

Added

  • Add selectOne and select selectors functions (#342)
    • Those functions can be used to filter a list of accounts using an AccountSelector object.
  • Add common mock account definitions + MockAccountBuilder (#341)
    • You can now import/use them with @metamask/account-api/mocks.
  • Add assertIsBip44Account (#339)

Changed

  • BREAKING: Rename MultichainAccountGroup.index to MultichainAccountGroup.groupIndex (#344)
  • BREAKING: Move get and select methods to the AccountGroup type (#343)

Added

  • Add AccountProvider.{createAccounts,discoverAndCreateAccounts} (#337)

Changed

  • BREAKING: Rename getGroupIndexFromMultichainAccountId to getGroupIndexFromMultichainAccountGroupId (#336)
    • This function was not following the same naming convention (this is an oversight from previous release).

Changed

  • BREAKING: MultichainAccount is now an interface and has been renamed MultichainAccountGroup (#333)
  • BREAKING: MultichainAccountWallet is now an interface (#333)

Added

  • Add Account{Wallet,Group}IdOf type utility (#331)

Changed

  • Use generic type for toAccount{Wallet,Group}Id (#331)

Added

  • Add AccountGroupType + AccountGroup.type (#329)

Changed

  • BREAKING: Rename AccountWalletCategory to AccountWalletType + category to type (#328)
    • This name better reflects other patterns we already have in place elsewhere.

Added

  • Add Bip44Account<Account> type + isBip44Account helper (#319)
  • Add MultichainAccountWallet.sync method (#321)
    • This can be used to force wallet synchronization if new accounts are available on the account providers.

Changed

  • BREAKING: Force Bip44Account<Account> for Multichain* types (#321)
    • This requires the AccountProviders to also use new Bip44Account type constraint.

Added

  • Add multichain account/wallet support (#315)
    • This is only about "grouping" wallets and accounts together.

Changed

  • BREAKING: Bump @metamask/keyring-api from ^18.0.0 to ^19.0.0 (#317)
    • The KeyringAccount.options field is now partially typed.

Added

  • Add AccountGroup and AccountWallet (#307)