2bb9ea0: Add synchronous createAccount variant (thank you @mshrieve)
createAccountWithAddress
848f8d3: Support awaiting consensus and improve error handling
BaseError
(and thus implement error.walk
)
TurnkeyConsensusNeededError
wraps consensus-related errorsTurnkeyActivityError
wraps base Turnkey errorsserializeSignature
serializes a raw signatureisTurnkeyActivityConsensusNeededError
and isTurnkeyActivityError
use error.walk
to check the type of a Viem errorsignWith
This change supports signing with wallet account addresses, private key addresses, or private key IDs. See below for an example:
getAddresses()
for LocalAccountcreateAccount
method and deprecates the existing createApiAccount
. createAccount
offers a superset of functionality and works with stampers (@turnkey/api-key-stamper
/ @turnkey/webauthn-stamper
) to integrate with API keys or passkeys.Initial release!
2bb9ea0: Add synchronous createAccount variant (thank you @mshrieve)
createAccountWithAddress
848f8d3: Support awaiting consensus and improve error handling
BaseError
(and thus implement error.walk
)
TurnkeyConsensusNeededError
wraps consensus-related errorsTurnkeyActivityError
wraps base Turnkey errorsserializeSignature
serializes a raw signatureisTurnkeyActivityConsensusNeededError
and isTurnkeyActivityError
use error.walk
to check the type of a Viem errorsignWith
This change supports signing with wallet account addresses, private key addresses, or private key IDs. See below for an example:
getAddresses()
for LocalAccountcreateAccount
method and deprecates the existing createApiAccount
. createAccount
offers a superset of functionality and works with stampers (@turnkey/api-key-stamper
/ @turnkey/webauthn-stamper
) to integrate with API keys or passkeys.Initial release!