- 7755413: Ensure that iframe has an embedded key
- Updated dependencies [7b72769]
- @turnkey/[email protected]
-
de59993: Update default country codes to supported deliveries:
USA, Canada, France, Czech Republic, Finland, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia (with a 1 min delay), Lithuania, Luxembourg, Malta, Mexico, Moldova, Montenegro, Netherlands, Norway, Poland, Portugal, Romania, Serbia, Slovenia, Spain, Sweden, Switzerland.
-
d1083bd: Add
otpConfig
param toAuth
component that allows you to pass inalphanumeric
andotpLength
default for the Auth component is still false, 6 respectively (non breaking)
- Updated dependencies [e501690]
- Updated dependencies [d1083bd]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
-
Updated dependencies [bf87774]
-
@turnkey/[email protected]
-
Expose
getEmbeddedPublicKey()
viaTurnkeyIframeClient
. This can be used to fetch the live public key of the target embedded key living within an iframe.Usage may look like the following:
import { useTurnkey } from "@turnkey/sdk-react"; ... const { authIframeClient } = useTurnkey(); const publicKey = await authIframeClient!.getEmbeddedPublicKey();
Functionally, this can be useful for scenarios where the developer would like to verify whether an iframe has a live embedded key within it. This contrasts from the static
iframeStamper.iframePublicKey
exposed by@turnkey/iframe-stamper
'spublicKey()
method.
-
-
- Updated dependencies [5ec5187]
- @turnkey/[email protected]
- @turnkey/[email protected]
-
2b8de45: Add passkeyConfig to EWK
You can do this by passing optional
passkeyConfig
of interfacePasskeyConfig
to the<Auth>
componentexport interface PasskeyConfig { displayName?: string; name?: string; }
-
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
-
c9ae537: Update nextJs to >= 15.2.3 as per github advisory: https://github.com/advisories/GHSA-f82v-jwr5-mffw
For Next.js 15.x, this issue is fixed in 15.2.3 For Next.js 14.x, this issue is fixed in 14.2.25 For Next.js 13.x, this issue is fixed in 13.5.9 For Next.js 12.x, this issue is fixed in 12.3.5
-
Updated dependencies [0e4e959]
-
Updated dependencies [856f449]
-
Updated dependencies [c9ae537]
-
Updated dependencies [d4ce5fa]
-
Updated dependencies [ecdb29a]
-
Updated dependencies [72890f5]
- @turnkey/[email protected]
- @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)
- fdb8bf0: Add loading indicators for EWK. Exposed email customization to EWK.
- Updated dependencies [93540e7]
- Updated dependencies [fdb8bf0]
- Updated dependencies [9147962]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- 9317588: Adds wallet as an authentication option in the Embedded Wallet Kit components for sdk-react
- Updated dependencies [233ae71]
- Updated dependencies [9317588]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- Updated dependencies [56a307e]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- cdf2e6e: Fix issue in EWK preventing sign up flow
- 9256e75: Fix apple login issue on mobile web browser
- bfc833f: Add getOrCreateSuborg server action
- Updated dependencies [3c44c4a]
- Updated dependencies [bfc833f]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- 5f6de98: Fix phone number validation issue causing issues with non +1 country codes
- Updated dependencies [69d2571]
- Updated dependencies [57f9cb0]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- faa757c: Patch EWK custom session lengths - previously not working as intended (defaulted to 15 minute sessions only) and fix the following useLocalStorage issue when compiling: [Error: useLocalStorage is a client-only hook]
- a8bd73b: Fix issue with EWK where suborgs were being created on failed fetches
- cb8cf7e: Add all supported country codes to phone input field
- 2eb2179: Fix bundling issue with sdk-react
- Updated dependencies [755833b]
- Updated dependencies [2bc0046]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- 1ebd4e2: Remove references to server actions and import from sdk-server
- Updated dependencies [6695af2]
- Updated dependencies [1ebd4e2]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- 99ebe78: Fixed MUI components not inheriting fonts.
- Updated dependencies [053fbfb]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- d43c52c: Add session length customization, wallet generation customization, enter to continue, more css customization and css fixes (icon sizing issues, etc)
- 5419d49: fix css bundling bug
- Updated dependencies [328d6aa]
- Updated dependencies [b90947e]
- Updated dependencies [2d5977b]
- Updated dependencies [fad7c37]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- eaf3e20: Fix css related build issues with React 19+ & NextJs 15+
- 0da96aa: Add README to react sdk
- 95717d7: New Feature: UI components - Auth, Export, Import. Leverages server and client directives on NextJS 13+ to abstract functionalities away from the developer
- c8330fa: Add a user identifier for sms rate limiting
- 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 [7988bc1]
- Updated dependencies [c895c8f]
- Updated dependencies [538d4fc]
- Updated dependencies [12d5aaa]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
- @turnkey/[email protected]
-
The
useTurnkey
hook now returns the newwalletClient
, used for authenticating requests via wallet signatures -
Added new
client
object returned from theuseTurnkey
hook. This is the authenticated client. It will be null if the user is not authenticated. Example:const { client } = useTurnkey();
- Updated dependencies [8bea78f]
- @turnkey/[email protected]
- @turnkey/[email protected]
- Updated dependencies [3dd74ac]
- Updated dependencies [1e36edf]
- Updated dependencies [4df8914]
- Updated dependencies [11a9e2f]
- @turnkey/[email protected]
- Updated dependencies [9ebd062]
- @turnkey/[email protected]
- Updated dependencies [96d7f99]
- @turnkey/[email protected]
- Updated dependencies [ff059d5]
- @turnkey/[email protected]
- Updated dependencies [c988ed0]
- @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]
- Updated dependencies [e2f2e0b]
- @turnkey/[email protected]
- Updated dependencies
- @turnkey/[email protected]
- Updated dependencies
- @turnkey/[email protected]
- f17a229: Update to oauth related endpoints to drop jwks uri from oauth providers
- Updated dependencies [f17a229]
- @turnkey/[email protected]
- Updated dependencies
- @turnkey/[email protected]
- 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]
- @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
- Updated dependencies [e4b29da]
- @turnkey/[email protected]
- d409d81: Add support for Passkey Sessions
- Updated dependencies [d409d81]
- @turnkey/[email protected]
- @turnkey/[email protected]
- updated syntax
- Updated dependencies
- @turnkey/[email protected]
- Ready for 0.1.0
- Updated dependencies
- @turnkey/[email protected]
Initial (experimental) release! This is an alpha release and subject to change.