- 5ec5187: Fix initOtpAuth bug with improper version result (to be updated to V2 following release r2025.3.8)
-
72890f5: ### @turnkey/sdk-browser
- Move all type definitions to
./__types__/base.ts
TurnkeyBrowserClient
refereshSession()
now consumes a RefreshSessionParams parameterloginWithBundle()
now consumes a LoginWithBundleParams parameterloginWithPasskey()
now consumes a LoginWithPasskeyParams parameterloginWithWallet()
now consumes a LoginWithWalletParams parameter
Auth.tsx
- updated
passkeyClient?.loginWithPasskey()
to implement new method signature - updated
walletClient?.loginWithWallet()
to implement new method signature
- updated
- Move all type definitions to
./__types__/base.ts
- Move all type definitions to
- ecdb29a: Update API as per mono v2025.3.2 - Add CREATE_USERS_V3
- 0e4e959: bump update policy activity to v2
- 856f449: update
TurnkeyBrowserClient.login()
to align with other functions likeloginWithPasskey()
andloginWithWallet()
- d4ce5fa: fix unexpected error when using read-only session type when calling loginWithPasskey & loginWithWallet
- Updated dependencies [ecdb29a]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
-
93540e7: ## Major Package Updates
- create abstract
TurnkeyBaseClient
class which extendsTurnkeySDKClientBase
TurnkeyBrowserClient
,TurnkeyIframeClient
,TurnkeyPasskeyClient
, andTurnkeyWalletClient
all extendTurnkeyBaseClient
- TurnkeyBrowserClient
- Session Management
refreshSession
- attempts to refresh an existing, active session and will extend the session expiry using theexpirationSeconds
parameter- loginWithBundle - authenticate a user via a credential bundle and creates a read-write session
- loginWithPasskey - attempts to authenticate a user via passkey and create a read-only or read-write session
- loginWithSession - takes a
Session
, which can be either read-only or read-write, created via a server action and attempts to authenticate the user
- Session Management
- TurnkeyPasskeyClient
- Session Management
- createPasskeySession - leverages passkey authentication to create a read-write session. Once authenticated, the user will not be prompted for additional passkey taps.
- Session Management
- update
TurnkeyContext
to use new.getSession()
method to check if there is an active session OTPVerification
component no longer receivesauthIframeClient
oronValidateSuccess
props
- expose
sendCredential
server action - add
SessionType
enumREAD_ONLY
&READ_WRITE
- update dependencies in
package.json
- moved from
peerDependencies
todependencies
"@turnkey/http": "workspace:*"
"@turnkey/sdk-browser": "workspace:*"
- moved from
devDependencies
todependencies
"@turnkey/api-key-stamper": "workspace:*"
- moved from
- specify TypeScript version ^5.1.5
- create abstract
- 9147962: add dangerouslyOverrideIframeKeyTtl option to override iframe embedded key TTL (for longer lived read/write sessions)
- Updated dependencies [9147962]
- @turnkey/[email protected]
- @turnkey/[email protected]
- 233ae71: Add updateUserAuth, addUserAuth, deleteUserAuth helper functions
- @turnkey/[email protected]
- 56a307e: Update api to mono v2025.3.0
- Updated dependencies [56a307e]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- 3c44c4a: Updates per mono release v2025.2.2
- Updated dependencies [3c44c4a]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- 57f9cb0: Update endpoints - surface GetWalletAccount
- 69d2571: Upgrade elliptic
- Updated dependencies [57f9cb0]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- 755833b: refactor stamper out of config object and move it directly onto the client to match @turnkey/http
- Updated dependencies [2bc0046]
- @turnkey/[email protected]
- @turnkey/[email protected]
- 6695af2: Update per mono release v2025.1.11
- Updated dependencies [6695af2]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- 053fbfb: Update mono dependencies
- Updated dependencies [053fbfb]
- Updated dependencies [a216a47]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
-
328d6aa: Add defaultXrpAccountAtIndex helper
-
b90947e: Update default account exports, surface WalletAccount type
-
2d5977b: Update error messaging around api key and target public key usage
-
fad7c37: @turnkey/iframe-stamper - Implemented MessageChannel API for secure communication between the parent and iframe.
@turnkey/sdk-browser - fixed spelling in package.json @turnkey/sdk-server - fixed spelling in package.json
-
Updated dependencies [2d5977b]
-
Updated dependencies [fad7c37]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- 7988bc1: Fix readWrite session to use credentialBundle and add loginWithAuthBundle to create a session when you already have a credentialBundle
- 538d4fc: Update api endpoints - NEW: User verification, SMS customization params
- 12d5aaa: Update TurnkeySDKBrowserConfig type with an optional iframeUrl field. The TurnkeyContext provider will check for an iframeUrl otherwise it will fallback to the default.
- Updated dependencies [c895c8f]
- Updated dependencies [538d4fc]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- Updated dependencies [668edfa]
- @turnkey/[email protected]
- @turnkey/[email protected]
- Updated dependencies [78bc39c]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- Added new
TurnkeyWalletClient
to the@turnkey/sdk-browser
Reason: Allows using theWalletStamper
with the browser sdk - Added
getPublicKey
method toTurnkeyWalletClient
Reason: Enables easy access to wallet public key for sub-organization creation and future authentication flows - Updated
TurnkeyWalletClient
to use newWalletInterface
Reason: Ensures compatibility with the updated Wallet Stamper interfaces
- Introduced a new enum to track which client is authenticated (Passkey, Wallet, Iframe)
- Added a static
authClient
property to baseTurnkeyBrowserClient
to be used by the child classes to track which client was used for the initial authentication
- Added a new
UserSession
interface which is to be stored in local storage to track the authentication state of the user and to eliminate the need to store the write and read sessions separately. - Added
authClient
in the session object to store the authentication method used in the user's session data. Will be used in the@turnkey/sdk-react
to determine which client to return. - Added new versioned
UserSession
key:"@turnkey/session/v1"
- Updated to use the new
authClient
property to track and store the authentication method used during login
- Updated dependencies [8bea78f]
- @turnkey/[email protected]
- @turnkey/[email protected]
- 3dd74ac: Added functionality for constructing and returning stamped requests for all packages
- 1e36edf: Support RS256 by default when invoking createUserPasskey
- 4df8914: Version bump corresponding to mono release v2024.10.10. More detailed changelog to follow
- 11a9e2f: Allow override of WebauthnStamper configuration
- Updated dependencies [33e8e03]
- Updated dependencies [d989d46]
- Updated dependencies [4df8914]
- @turnkey/[email protected]
- @turnkey/[email protected]
- 9ebd062: Release OTP functionality
- Updated dependencies [9ebd062]
- @turnkey/[email protected]
- 96d7f99: Update dependencies
- Updated dependencies [e5c4fe9]
- Updated dependencies [96d7f99]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- ff059d5: Add ability to create a read + write session
- Updated dependencies [ff059d5]
- Updated dependencies [93666ff]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
-
c988ed0: Support activity polling (e.g. for awaiting consensus)
- [Breaking] Update the
activityPoller
parameter for configuring polling behavior - Polling continues until either a max number of retries is reached, or if the activity hits a terminal status
The shape of the parameter has gone from:
{ duration: number; timeout: number; }
to
{ intervalMs: number; numRetries: number; }
- [Breaking] Update the
- Updated dependencies [848f8d3]
- @turnkey/[email protected]
- 1813ed5: Allow
organizationId
override forTurnkeyBrowserClient.login
with an extraconfig
argument
- bab5393: Add keyformat to key export bundle injection
- a16073c: Exposes storage APIs used by the sdk for managing users & sessions
- 7e7d209: Add authenticatorAttachment option
- 93dee46: Add create read write session v2 which allows for user targeting directly from stamp or optional userId in intent
- Updated dependencies [93dee46]
- @turnkey/[email protected]
- Updated dependencies [e2f2e0b]
- @turnkey/[email protected]
- Fix activity versioning for CREATE_SUB_ORGANIZATION (V5=>V6)
-
f4b607f: Verify and pad uncompressed public keys while creating passkey sessions
-
Updated dependencies
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- f17a229: Update to oauth related endpoints to drop jwks uri from oauth providers
- Updated dependencies [f17a229]
- @turnkey/[email protected]
- Add Email Auth V2 - Optional invalidate exisiting Email Authentication API keys
- Updated dependencies
- @turnkey/[email protected]
- Update to use new endpoints. Including CREATE_READ_WRITE_SESSION which allows one shot passkey sessions (returns org information and a credential bundle) and CREATE_API_KEYS_V2 which allows a curve type to be passed (SECP256K1 or P256)
- Updated dependencies
- @turnkey/[email protected]
- Stable Release: Add Oauth integration. New suborg creation version will now require an oauthProviders field under root users.
- Updated dependencies
- @turnkey/[email protected]
- e4b29da: Deprecate the
getAuthBundle()
path for passkey sessions and replace it withgetReadWriteSession()
to store authBundles with their expirationTimestamps so applications can better manually manage active writing sessions
- d409d81: Add support for Passkey Sessions
- Updated dependencies [5d0bfde]
- Updated dependencies [2f2d09a]
- Updated dependencies [976663e]
- @turnkey/[email protected]
- updated syntax
- Updated dependencies [5d0bfde]
- Updated dependencies [2f2d09a]
- Updated dependencies [976663e]
- @turnkey/[email protected]
- Ready for 0.1.0
Initial (experimental) release! This is an alpha release and subject to change.