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
andgetSigningAccount
(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 callgetSigningAccount
- ๐งจ return the accounts in their default order instead of putting the
current signing account first -
- move
leaveIdentity
fromAccount
to theAccountManagement
namespace
- move
- rename
getAccounts
togetSigningAccounts
in theAccountManagement
namespace - change the signature of the
Polymesh.connect
method so that it receives a
signingManager: SigningManager
. It replaces parametersaccountSeed
,accountMnemonic
,
accountUri
,keyring
andsigner
- rename
getCurrentIdentity
togetSigningIdentity
in thePolymesh
class - remove the
addSigner
method from thePolymesh
class. This behavior is now the responsibility
of Signing Managers to implement - rename the
setSigner
method in thePolymesh
class tosetSigningAccount
- rename
signer
tosigningAccount
inProcedureOpts
. 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