Skip to content

Latest commit

 

History

History
298 lines (184 loc) · 6.94 KB

CHANGELOG.md

File metadata and controls

298 lines (184 loc) · 6.94 KB

@turnkey/sdk-browser

1.11.0

Minor Changes

  • 7988bc1: Fix readWrite session to use credentialBundle and add loginWithAuthBundle to create a session when you already have a credentialBundle

Patch Changes

  • 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]

1.10.2

Patch Changes

1.10.1

Patch Changes

1.10.0

Minor Changes

TurnkeyWalletClient
  • Added new TurnkeyWalletClient to the @turnkey/sdk-browser Reason: Allows using the WalletStamper with the browser sdk
  • Added getPublicKey method to TurnkeyWalletClient Reason: Enables easy access to wallet public key for sub-organization creation and future authentication flows
  • Updated TurnkeyWalletClient to use new WalletInterface Reason: Ensures compatibility with the updated Wallet Stamper interfaces
AuthClient (new enum)
  • Introduced a new enum to track which client is authenticated (Passkey, Wallet, Iframe)
TurnkeyBrowserClient, TurnkeyIframeClient, TurnkeyPasskeyClient, TurnkeyWalletClient
  • Added a static authClient property to base TurnkeyBrowserClient to be used by the child classes to track which client was used for the initial authentication
UserSession interface
  • 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"
login and loginWithReadWriteSession methods
  • Updated to use the new authClient property to track and store the authentication method used during login

Patch Changes

1.9.0

Minor Changes

  • 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

Patch Changes

1.8.0

Minor Changes

  • 9ebd062: Release OTP functionality

Patch Changes

1.7.1

Patch Changes

1.7.0

Minor Changes

  • ff059d5: Add ability to create a read + write session

Patch Changes

1.6.0

Minor Changes

  • 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;
    }
    

Patch Changes

1.5.0

Minor Changes

  • 1813ed5: Allow organizationId override for TurnkeyBrowserClient.login with an extra config argument

1.4.0

Minor Changes

  • bab5393: Add keyformat to key export bundle injection

Patch Changes

  • a16073c: Exposes storage APIs used by the sdk for managing users & sessions
  • 7e7d209: Add authenticatorAttachment option

1.3.0

Minor Changes

  • 93dee46: Add create read write session v2 which allows for user targeting directly from stamp or optional userId in intent

Patch Changes

1.2.4

Patch Changes

1.2.3

Patch Changes

  • Fix activity versioning for CREATE_SUB_ORGANIZATION (V5=>V6)

1.2.2

Patch Changes

1.2.1

Patch Changes

  • f17a229: Update to oauth related endpoints to drop jwks uri from oauth providers
  • Updated dependencies [f17a229]

1.2.0

Minor Changes

  • Add Email Auth V2 - Optional invalidate exisiting Email Authentication API keys

Patch Changes

1.1.0

Minor Changes

  • 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)

Patch Changes

1.0.0

Major Changes

  • Stable Release: Add Oauth integration. New suborg creation version will now require an oauthProviders field under root users.

0.4.1

Patch Changes

0.4.0

Minor Changes

  • e4b29da: Deprecate the getAuthBundle() path for passkey sessions and replace it with getReadWriteSession() to store authBundles with their expirationTimestamps so applications can better manually manage active writing sessions

0.3.0

Minor Changes

  • d409d81: Add support for Passkey Sessions

0.2.1

Patch Changes

  • Updated dependencies [5d0bfde]
  • Updated dependencies [2f2d09a]
  • Updated dependencies [976663e]

0.2.0

Minor Changes

  • updated syntax

Patch Changes

  • Updated dependencies [5d0bfde]
  • Updated dependencies [2f2d09a]
  • Updated dependencies [976663e]

0.1.0

Minor Changes

  • Ready for 0.1.0

0.0.1

Initial (experimental) release! This is an alpha release and subject to change.