- Updated dependencies [7988bc1]
- Updated dependencies [538d4fc]
- Updated dependencies [12d5aaa]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- Updated dependencies [78bc39c]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- Updated dependencies [8bea78f]
- @turnkey/[email protected]
- Updated dependencies [3dd74ac]
- Updated dependencies [1e36edf]
- Updated dependencies [4df8914]
- Updated dependencies [11a9e2f]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- Updated dependencies [9ebd062]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- Updated dependencies [abe7138]
- Updated dependencies [96d7f99]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
-
2bb9ea0: Add synchronous createAccount variant (thank you @mshrieve)
- Updated dependencies [ff059d5]
- Updated dependencies [ff059d5]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
-
848f8d3: Support awaiting consensus and improve error handling
- Add new error types that extend
BaseError
(and thus implementerror.walk
)TurnkeyConsensusNeededError
wraps consensus-related errorsTurnkeyActivityError
wraps base Turnkey errors
- Add a few new helper functions:
serializeSignature
serializes a raw signatureisTurnkeyActivityConsensusNeededError
andisTurnkeyActivityError
useerror.walk
to check the type of a Viem error
- Add new error types that extend
- Updated dependencies [c988ed0]
- Updated dependencies [848f8d3]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- Updated dependencies [1813ed5]
- @turnkey/[email protected]
- Updated dependencies [bab5393]
- Updated dependencies [a16073c]
- Updated dependencies [7e7d209]
- @turnkey/[email protected]
- Updated dependencies [93dee46]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- Updated dependencies [e2f2e0b]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- Updated dependencies
- @turnkey/[email protected]
- @turnkey/[email protected]
- Updated dependencies [2d7e5a9]
- Updated dependencies [f4b607f]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- Updated dependencies [f17a229]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- Updated dependencies
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- Updated dependencies
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- Updated dependencies
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- d59e1b6: Add export of turnkey viem account functions
- Updated dependencies [e4b29da]
- @turnkey/[email protected]
- Updated dependencies [d409d81]
- @turnkey/[email protected]
- @turnkey/[email protected]
- Updated dependencies
- Updated dependencies [e4d2a84]
- @turnkey/[email protected]
- @turnkey/[email protected]
- Updated dependencies
- @turnkey/[email protected]
- @turnkey/[email protected]
- a6502e6: Add support for new Turnkey Client types
- Updated dependencies [7a9ce7a]
- @turnkey/[email protected]
- Updated dependencies
- @turnkey/[email protected]
- Updated dependencies [83b62b5]
- @turnkey/[email protected]
- Updated dependencies [46a7d90]
- @turnkey/[email protected]
- Updated dependencies
- @turnkey/[email protected]
- Updated dependencies ([c3b423b], [d73725b])
- @turnkey/[email protected]
- @turnkey/[email protected]
- 4794c64: Updated dependencies
- Updated dependencies [f9d636c]
- @turnkey/[email protected]
- Updated dependencies [52e2389]
- @turnkey/[email protected]
- Updated dependencies [7a3c890]
- @turnkey/[email protected]
- Upgrade to Node v18 (#184)
- Updated dependencies
- @turnkey/[email protected]
- @turnkey/[email protected]
- Updated dependencies [464ac0e]
- @turnkey/[email protected]
- @turnkey/[email protected]
- Updated dependencies [f87ced8]
- @turnkey/[email protected]
- Use rollup to build ESM and CommonJS, fix ESM support (#174)
- Updated dependencies [fc5b291]
- @turnkey/[email protected]
- @turnkey/[email protected]
- Updated dependencies
- @turnkey/[email protected]
- @turnkey/[email protected]
- Updated dependencies [f1bd68a]
- @turnkey/[email protected]
- Updated dependencies [ed50a0f]
- Updated dependencies
- @turnkey/[email protected]
- cf8631a: Update interface to support
signWith
This change supports signing with wallet account addresses, private key addresses, or private key IDs. See below for an example:
const httpClient = new TurnkeyClient(
{
baseUrl: "https://api.turnkey.com",
},
// This uses API key credentials.
// If you're using passkeys, use `@turnkey/webauthn-stamper` to collect webauthn signatures:
// new WebauthnStamper({...options...})
new ApiKeyStamper({
apiPublicKey: "...",
apiPrivateKey: "...",
})
);
// Create the Viem custom account
const turnkeyAccount = await createAccount({
client: httpClient,
organizationId: "...",
signWith: "...",
// optional; will be fetched from Turnkey if not provided
ethereumAddress: "...",
});
- Updated dependencies [bb6ea0b]
- @turnkey/[email protected]
- 59dcd2f: Unpin typescript
- da7c960: Bump Viem dependency to fix
getAddresses()
for LocalAccount - Updated dependencies
- @turnkey/[email protected]
- Updated the shape of signing
- Updated dependencies
- @turnkey/[email protected]
- 0ec2d94: Addresses a bug when signing raw messages (see #116)
- Updated dependencies
- @turnkey/[email protected]
- Updated dependencies
- @turnkey/[email protected]
- @turnkey/[email protected]
- Fix code sample in the README; add more details and links
- Add new
createAccount
method and deprecates the existingcreateApiAccount
.createAccount
offers a superset of functionality and works with stampers (@turnkey/api-key-stamper
/@turnkey/webauthn-stamper
) to integrate with API keys or passkeys.
- Updated dependencies: @turnkey/[email protected]
- New dependency: @turnkey/[email protected]
- README updates
Initial release!