github PolymeshAssociation/polymesh-sdk v14.0.0-alpha.3

latest releases: v25.1.1, v25.1.1-beta.1, v25.1.1-alpha.1...
pre-release2 years ago

14.0.0-alpha.3 (2022-03-08)

Features

  • ๐ŸŽธ create SigningManager type and local implementation (d083068)
  • ๐ŸŽธ modify getSigningAccounts behavior (4b39d46)
  • ๐ŸŽธ remove LocalSigningManager code (a713ebd)
  • split getAccount and getSigningAccount (644b67b)
  • support signing managers (35ea5a8)

Performance Improvements

  • โšก๏ธ remove redundant call (23c5b1a)

BREAKING CHANGES

  • getAccount no longer accepts undefined as an argument.
    To fetch the "current" signing Account, you must call getSigningAccount
  • ๐Ÿงจ return the accounts in their default order instead of putting the
    current signing account first
    • move leaveIdentity from Account to the AccountManagement namespace
  • rename getAccounts to getSigningAccounts in the AccountManagement namespace
  • change the signature of the Polymesh.connect method so that it receives a
    signingManager: SigningManager. It replaces parameters accountSeed, accountMnemonic,
    accountUri, keyring and signer
  • rename getCurrentIdentity to getSigningIdentity in the Polymesh class
  • remove the addSigner method from the Polymesh class. This behavior is now the responsibility
    of Signing Managers to implement
  • rename the setSigner method in the Polymesh class to setSigningAccount
  • rename signer to signingAccount in ProcedureOpts. This affects users who are signing
    transactions with different accounts per-transaction instead of having an SDK-level signing
    Account
  • remove the exported KeyringPair interface

Don't miss a new polymesh-sdk release

NewReleases is sending notifications on new releases.