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 to Auth
component that allows you to pass in alphanumeric
and otpLength
default for the Auth component is still false, 6 respectively (non breaking)
Updated dependencies [bf87774]
@turnkey/sdk-browser@3.1.0
Expose getEmbeddedPublicKey()
via TurnkeyIframeClient
. 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:
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
’s publicKey()
method.
2b8de45: Add passkeyConfig to EWK
You can do this by passing optional passkeyConfig
of interface PasskeyConfig
to the <Auth>
component
72890f5: ### @turnkey/sdk-browser
./__types__/base.ts
TurnkeyBrowserClient
refereshSession()
now consumes a RefreshSessionParams parameterloginWithBundle()
now consumes a LoginWithBundleParams parameterloginWithPasskey()
now consumes a LoginWithPasskeyParams parameterloginWithWallet()
now consumes a LoginWithWalletParams parameterAuth.tsx
passkeyClient?.loginWithPasskey()
to implement new method signaturewalletClient?.loginWithWallet()
to implement new method signature./__types__/base.ts
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]
93540e7: ## Major Package Updates
TurnkeyBaseClient
class which extends TurnkeySDKClientBase
TurnkeyBrowserClient
, TurnkeyIframeClient
, TurnkeyPasskeyClient
, and TurnkeyWalletClient
all extend TurnkeyBaseClient
refreshSession
- attempts to refresh an existing, active session and will extend the session expiry using the expirationSeconds
parameterSession
, which can be either read-only or read-write, created via a server action and attempts to authenticate the userTurnkeyContext
to use new .getSession()
method to check if there is an active sessionOTPVerification
component no longer receives authIframeClient
or onValidateSuccess
propssendCredential
server actionSessionType
enum
READ_ONLY
& READ_WRITE
package.json
peerDependencies
to dependencies
"@turnkey/http": "workspace:*"
"@turnkey/sdk-browser": "workspace:*"
devDependencies
to dependencies
"@turnkey/api-key-stamper": "workspace:*"
The useTurnkey
hook now returns the new walletClient
, used for authenticating requests via wallet signatures
Added new client
object returned from the useTurnkey
hook. This is the authenticated client. It will be null if the user is not authenticated. Example:
getAuthBundle()
path for passkey sessions and replace it with getReadWriteSession()
to store authBundles with their expirationTimestamps so applications can better manually manage active writing sessionsInitial (experimental) release! This is an alpha release and subject to change.
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 to Auth
component that allows you to pass in alphanumeric
and otpLength
default for the Auth component is still false, 6 respectively (non breaking)
Updated dependencies [bf87774]
@turnkey/sdk-browser@3.1.0
Expose getEmbeddedPublicKey()
via TurnkeyIframeClient
. 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:
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
’s publicKey()
method.
2b8de45: Add passkeyConfig to EWK
You can do this by passing optional passkeyConfig
of interface PasskeyConfig
to the <Auth>
component
72890f5: ### @turnkey/sdk-browser
./__types__/base.ts
TurnkeyBrowserClient
refereshSession()
now consumes a RefreshSessionParams parameterloginWithBundle()
now consumes a LoginWithBundleParams parameterloginWithPasskey()
now consumes a LoginWithPasskeyParams parameterloginWithWallet()
now consumes a LoginWithWalletParams parameterAuth.tsx
passkeyClient?.loginWithPasskey()
to implement new method signaturewalletClient?.loginWithWallet()
to implement new method signature./__types__/base.ts
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]
93540e7: ## Major Package Updates
TurnkeyBaseClient
class which extends TurnkeySDKClientBase
TurnkeyBrowserClient
, TurnkeyIframeClient
, TurnkeyPasskeyClient
, and TurnkeyWalletClient
all extend TurnkeyBaseClient
refreshSession
- attempts to refresh an existing, active session and will extend the session expiry using the expirationSeconds
parameterSession
, which can be either read-only or read-write, created via a server action and attempts to authenticate the userTurnkeyContext
to use new .getSession()
method to check if there is an active sessionOTPVerification
component no longer receives authIframeClient
or onValidateSuccess
propssendCredential
server actionSessionType
enum
READ_ONLY
& READ_WRITE
package.json
peerDependencies
to dependencies
"@turnkey/http": "workspace:*"
"@turnkey/sdk-browser": "workspace:*"
devDependencies
to dependencies
"@turnkey/api-key-stamper": "workspace:*"
The useTurnkey
hook now returns the new walletClient
, used for authenticating requests via wallet signatures
Added new client
object returned from the useTurnkey
hook. This is the authenticated client. It will be null if the user is not authenticated. Example:
getAuthBundle()
path for passkey sessions and replace it with getReadWriteSession()
to store authBundles with their expirationTimestamps so applications can better manually manage active writing sessionsInitial (experimental) release! This is an alpha release and subject to change.