# @turnkey/sdk-browser

## 8.9.0

### Minor Changes

- [#1660](https://github.com/tkhq/sdk/pull/1660) [`7500289`](https://github.com/tkhq/sdk/commit/75002891b2fe50c758e6e57cde94f5fea9ded395) Author [@ericvelazquez](https://github.com/ericvelazquez) - Sync generated clients and types with mono `main` (2026-11-16).
  - Earn: `listEarnVaults` and `listEarnEnabledVaults` entries carry `rewardsApyPct`, the protocol-reward portion of `apyPct`. `apyPct` is now documented as gross APY including rewards and `netApyPct` as net of fees on the non-reward portion only.
  - Send-transaction status responses carry the landed transaction's `fee` (`EthTransactionFee` on EVM, `SolanaTransactionFee` on Solana) with the sponsored cost in USD.
  - Swap quotes include `transactions`, the calls the swap executes in order.
  - Usage controls: `UsageControlAggregation` is replaced by `UsageControlBudget` (`method`, `limit`, `window`), and the data source filters are removed.
  - `deleteExternalSigner` accepts `deleteWithoutExport`; `TRANSPORT_ENCRYPTION_SUITE_ENCLAVE_ENCRYPT_V2` is added.

  The `with-earn` example now runs on Solana as well as EVM: set `CHAIN_CAIP2` to `solana:mainnet` or `solana:devnet` to enable a Kamino vault, deposit, withdraw, and claim fees with the same scripts. It also calls the Earn queries by their current client names (`listEarnVaults`, `listEarnEnabledVaults`, `listEarnPositions`, `getEarn*Status`), which the example had fallen behind on.

### Patch Changes

- [#1650](https://github.com/tkhq/sdk/pull/1650) [`a232e57`](https://github.com/tkhq/sdk/commit/a232e57e18a3ed517bbbacae97dcc44bd9b8557b) Author [@emostov](https://github.com/emostov) - `importSecret` now uses `TRANSPORT_ENCRYPTION_SUITE_ENCLAVE_ENCRYPT_V2`, which binds the ciphertext to the secret's name and static properties. `encryptSecretToBundle` now requires `name` and `staticProperties`. Adds `importSecretsPurposeBinding` and an optional `purposeBinding` to `hpkeEncrypt` and `hpkeDecrypt`.

- Updated dependencies [[`a232e57`](https://github.com/tkhq/sdk/commit/a232e57e18a3ed517bbbacae97dcc44bd9b8557b), [`7500289`](https://github.com/tkhq/sdk/commit/75002891b2fe50c758e6e57cde94f5fea9ded395)]:
  - @turnkey/crypto@2.14.0
  - @turnkey/sdk-types@1.13.0
  - @turnkey/http@6.9.0
  - @turnkey/api-key-stamper@0.6.20
  - @turnkey/wallet-stamper@1.1.32
  - @turnkey/indexed-db-stamper@1.3.14

## 8.8.0

### Minor Changes

- [#1633](https://github.com/tkhq/sdk/pull/1633) [`d03117c`](https://github.com/tkhq/sdk/commit/d03117c190960aa80dedca55f34bef978d33e297) Thanks [@Bijan-Massoumi](https://github.com/Bijan-Massoumi)! - Sync with the latest public API. `executeSwap` now uses `ACTIVITY_TYPE_EXECUTE_SWAP_V4`, which adds market swaps, and `getIndicativeSwapQuote` previews a price without creating an activity. Also adds `mintJwt`, adds swap charges to swap quotes, results and status, and renames velocity controls to usage controls.

  **Breaking:** `executeSwap` moves the quote fields into `boundQuote`.

  Before:

  ```ts
  await client.executeSwap({
    quoteId,
    quotedOutputAmount,
    minOutputAmount,
    inputToken,
    inputAmount,
    outputToken,
    sponsor,
  });
  ```

  After:

  ```ts
  await client.executeSwap({
    boundQuote: { quoteId, quotedOutputAmount, minOutputAmount },
    inputToken,
    inputAmount,
    outputToken,
    sponsor,
  });
  ```

  For a market swap, pass `market` instead of `boundQuote`.

- [#1598](https://github.com/tkhq/sdk/pull/1598) [`b000c86`](https://github.com/tkhq/sdk/commit/b000c86ea770d2fbf8c5687fca128677e218c49f) Author [@amircheikh](https://github.com/amircheikh) - Sync generated clients and types with the latest public API.
  - Add `getWalletAuthenticators` (`POST /public/v1/query/get_wallet_authenticators`), `createWalletAuthenticators`, `deleteWalletAuthenticators`, and `verifyWalletAuthenticator` (plus `stamp*` variants). `v1WalletAuthenticatorParams` accepts an optional `verificationToken`.
  - Add `createExternalSigner` and `deleteExternalSigner` (plus `stamp*` variants). `createPrivateKeys` accepts an optional `externalSignerWrappingKeyId`.
  - Add `createFiatRampCredential` and `updateFiatRampCredential` (plus `stamp*` variants).
  - Fiat quotes and credentials now use the shared ramp types. `v1FiatOnRampAmount` is `v1FiatRampAmount`. On-ramp quote `onrampProvider` is `provider` (`v1FiatRampProvider`, which includes Meld). Quote `fiatCurrencyCode` and `paymentMethod` use `v1FiatRampCurrency` and `v1FiatRampPaymentMethod`. Credential `fiatOnrampCredentialId` is `credentialId`, and `publishableApiKey` / `encryptedSecretApiKey` are `apiKey` / `encryptedSecret`. `projectId` and `encryptedPrivateApiKey` are removed. `FIAT_ON_RAMP_PROVIDER_MELD` is removed from `v1FiatOnRampProvider`.
  - Generated activity types include `ACTIVITY_TYPE_EXECUTE_SWAP_V4` (`v1ExecuteSwapIntentV4`), `ACTIVITY_TYPE_ENABLE_SMS_FOR_COUNTRIES`, and `ACTIVITY_TYPE_DISABLE_SMS_FOR_COUNTRIES`. `executeSwap` results include optional `outputAmount`, `minOutputAmount`, `feeSponsorship`, and `fixedRate`. `setOrganizationFeature` `value` is optional. `AUTHENTICATOR_TRANSPORT_SMART_CARD` is added.
  - `@turnkey/core`: add auth proxy `proxySignupV3` (`POST /v1/signup_v3`) and `proxyVerifyWalletAuthenticator` (`POST /v1/verify_wallet_authenticator`).

### Patch Changes

- Updated dependencies [[`d03117c`](https://github.com/tkhq/sdk/commit/d03117c190960aa80dedca55f34bef978d33e297), [`b000c86`](https://github.com/tkhq/sdk/commit/b000c86ea770d2fbf8c5687fca128677e218c49f)]:
  - @turnkey/http@6.8.0
  - @turnkey/sdk-types@1.12.0
  - @turnkey/wallet-stamper@1.1.31
  - @turnkey/crypto@2.13.4
  - @turnkey/indexed-db-stamper@1.3.13
  - @turnkey/api-key-stamper@0.6.19

## 8.7.1

### Patch Changes

- [#1614](https://github.com/tkhq/sdk/pull/1614) [`8424905`](https://github.com/tkhq/sdk/commit/84249058b34836f0677af732885e3bed56dee8d8) Author [@radusandor](https://github.com/radusandor) - - Fixed `ethUndelegate7702()` and `stampEthUndelegate7702()` sending the invalid activity type `ACTIVITY_TYPE_ETH_UNDELEGATE7702`, which the API rejected with "Invalid activity type". They now send `ACTIVITY_TYPE_ETH_UNDELEGATE_7702`, matching `@turnkey/core`. The codegen now reads activity types from the API spec instead of deriving them from the method name

## 8.7.0

### Minor Changes

- [#1601](https://github.com/tkhq/sdk/pull/1601) [`818c954`](https://github.com/tkhq/sdk/commit/818c954da605daa1c5b9a9b8ac5128d1a9cd11f3) Thanks [@Bijan-Massoumi](https://github.com/Bijan-Massoumi)! - Sync generated clients and types with mono `main` (2026-10-15).
  - Add `upsertSwapFeeSponsorshipLimitConfig`, `upsertSwapFixedRateLimitConfig`, and `getSwapSponsorshipUsage` (plus `stamp*` variants).
  - `createSwapQuote` now sends `ACTIVITY_TYPE_CREATE_SWAP_QUOTE_V3`. V3 accepts the optional `feeSponsorship` and `fixedRate` flags (both default to false, matching V2), and quotes include `feeSponsorship`, `fixedRate`, and `estimatedFixedRateAdjustmentUsd`.
  - `@turnkey/http`: add `getFiatOnRampQuote` and `createFiatOnRampSession`. `deleteVelocityControl` is renamed to `deleteVelocityControls` to match the API.
  - Earn intents take `caip2` instead of `chainCaip2`, matching the API rename.
  - `FiatOnRampBlockchainNetwork.BITCOIN` is removed because the API no longer accepts it. `react-wallet-kit`'s `handleOnRamp` now throws for Bitcoin wallet accounts instead of sending a request the API rejects.

### Patch Changes

- Updated dependencies [[`b7d42d2`](https://github.com/tkhq/sdk/commit/b7d42d2f7a045c21bc236a8cf2da2974548df415), [`818c954`](https://github.com/tkhq/sdk/commit/818c954da605daa1c5b9a9b8ac5128d1a9cd11f3)]:
  - @turnkey/http@6.7.0
  - @turnkey/sdk-types@1.11.0
  - @turnkey/wallet-stamper@1.1.30
  - @turnkey/crypto@2.13.3
  - @turnkey/indexed-db-stamper@1.3.12
  - @turnkey/api-key-stamper@0.6.18

## 8.6.0

### Minor Changes

- [`bbbd9d7`](https://github.com/tkhq/sdk/commit/bbbd9d79a6b71cf9b78b99bca48cc140470c34a2) Author [@ericvelazquez](https://github.com/ericvelazquez) - Add Earn rewards: listEarnRewards, earnClaimRewards, getEarnClaimRewardsStatus

### Patch Changes

- Updated dependencies [[`bbbd9d7`](https://github.com/tkhq/sdk/commit/bbbd9d79a6b71cf9b78b99bca48cc140470c34a2)]:
  - @turnkey/sdk-types@1.10.0
  - @turnkey/http@6.6.0
  - @turnkey/crypto@2.13.2
  - @turnkey/indexed-db-stamper@1.3.11
  - @turnkey/wallet-stamper@1.1.29
  - @turnkey/api-key-stamper@0.6.17

## 8.5.1

### Patch Changes

- Updated dependencies [[`4066714`](https://github.com/tkhq/sdk/commit/406671483c664b009df94f6487589dc35fd4b312)]:
  - @turnkey/sdk-types@1.9.0
  - @turnkey/crypto@2.13.1
  - @turnkey/indexed-db-stamper@1.3.10
  - @turnkey/api-key-stamper@0.6.16
  - @turnkey/wallet-stamper@1.1.28
  - @turnkey/http@6.5.1

## 8.5.0

### Minor Changes

- [#1525](https://github.com/tkhq/sdk/pull/1525) [`78533a0`](https://github.com/tkhq/sdk/commit/78533a0acb604d47da211fedd26136c2538b2434) Thanks [@moe-dev](https://github.com/moe-dev)! - Update as per mono v2026.9.4

### Patch Changes

- Updated dependencies [[`78533a0`](https://github.com/tkhq/sdk/commit/78533a0acb604d47da211fedd26136c2538b2434), [`66f2acd`](https://github.com/tkhq/sdk/commit/66f2acda2fc99534316eba8a1e6e9aff674fb621), [`a68b73a`](https://github.com/tkhq/sdk/commit/a68b73a6c2b3d76ef94f9447ec3a9f3794eda857)]:
  - @turnkey/http@6.5.0
  - @turnkey/sdk-types@1.8.0
  - @turnkey/crypto@2.13.0
  - @turnkey/wallet-stamper@1.1.27
  - @turnkey/indexed-db-stamper@1.3.9
  - @turnkey/api-key-stamper@0.6.15

## 8.4.0

### Minor Changes

- [#1506](https://github.com/tkhq/sdk/pull/1506) [`8e25b38`](https://github.com/tkhq/sdk/commit/8e25b3886c4cb8d9646fdf8473735e96ebed556f) Thanks [@Bijan-Massoumi](https://github.com/Bijan-Massoumi)! - Use the latest public swap activities. `createSwapQuote` now submits V2, and `executeSwap` now submits V3. Both inputs support an optional `destinationAddress` for cross-protocol swaps. Also sync the public API types from mono v2026.8.4.

### Patch Changes

- Updated dependencies [[`8e25b38`](https://github.com/tkhq/sdk/commit/8e25b3886c4cb8d9646fdf8473735e96ebed556f)]:
  - @turnkey/sdk-types@1.7.0
  - @turnkey/http@6.4.0
  - @turnkey/crypto@2.12.1
  - @turnkey/indexed-db-stamper@1.3.8
  - @turnkey/wallet-stamper@1.1.26
  - @turnkey/api-key-stamper@0.6.14

## 8.3.0

### Minor Changes

- [#1458](https://github.com/tkhq/sdk/pull/1458) [`22a6682`](https://github.com/tkhq/sdk/commit/22a6682a3a7c5ad7b192cb46ffc599e073802ccf) Author [@besler613](https://github.com/besler613) - Sync transaction history API types with the latest public API swagger.

  ### Transaction history query endpoints
  - `listEthTransactionHistory` (`POST /public/v1/query/list_eth_transaction_history`) — paginated EVM transaction history for a wallet or private-key address on a supported CAIP-2 chain.
  - `listSolTransactionHistory` (`POST /public/v1/query/list_sol_transaction_history`) — paginated Solana transaction history for a wallet or private-key address on a supported CAIP-2 chain.

  ### Pagination type update

  Transaction history pagination now uses the shared `v1Pagination` / `v1PageInfo` types instead of transaction-history-specific `v1TransactionHistoryPaginationOptions` / `v1TransactionHistoryPaginationCursors`.

  **Before:**

  ```ts
  const response = await client.listEthTransactionHistory({ ... });
  const after = response.paginationCursors.after;
  ```

  **After:**

  ```ts
  const response = await client.listEthTransactionHistory({ ... });
  const after = response.pageInfo?.endCursor;
  ```

  These surfaces are generated into `@turnkey/http`, `@turnkey/sdk-types`, `@turnkey/sdk-browser`, `@turnkey/sdk-server`, and `@turnkey/core`.

### Patch Changes

- Updated dependencies [[`3af9589`](https://github.com/tkhq/sdk/commit/3af958959c2827d3404525fd22d73be5e306111c), [`35f9cce`](https://github.com/tkhq/sdk/commit/35f9cce418b3704d8e77840c0d76b325079982cb), [`22a6682`](https://github.com/tkhq/sdk/commit/22a6682a3a7c5ad7b192cb46ffc599e073802ccf)]:
  - @turnkey/crypto@2.12.0
  - @turnkey/sdk-types@1.6.0
  - @turnkey/http@6.3.0
  - @turnkey/api-key-stamper@0.6.13
  - @turnkey/wallet-stamper@1.1.25
  - @turnkey/indexed-db-stamper@1.3.7

## 8.2.1

### Patch Changes

- Updated dependencies [[`e1fdcb1`](https://github.com/tkhq/sdk/commit/e1fdcb16444e6902f220612bea002a7313607900)]:
  - @turnkey/sdk-types@1.5.1
  - @turnkey/crypto@2.11.3
  - @turnkey/indexed-db-stamper@1.3.6
  - @turnkey/api-key-stamper@0.6.12
  - @turnkey/wallet-stamper@1.1.24
  - @turnkey/http@6.2.1

## 8.2.0

### Minor Changes

- [#1480](https://github.com/tkhq/sdk/pull/1480) [`f191ad9`](https://github.com/tkhq/sdk/commit/f191ad98d5bd194a12045d9b0c562abccb07169a) Thanks [@moe-dev](https://github.com/moe-dev)! - Expose `createSwapQuote` (`ACTIVITY_TYPE_CREATE_SWAP_QUOTE`) and `executeSwap` (`ACTIVITY_TYPE_EXECUTE_SWAP_V2`) on the high-level SDK clients. `createSwapQuote` takes `signWith`, CAIP-19 tokens, amount, and optional `slippageBps`, and returns provider quotes. `executeSwap` is quote-bound: pass `quoteId` plus the exact quoted amounts (`quotedOutputAmount`, `minOutputAmount`, `sponsor`); the signer is derived from the quote. Poll with `getSwapStatus` using the returned `swapRequestId`.

  Also align transaction-history list responses with standard pagination (`v1Pagination` / `pageInfo`) instead of the previous transaction-history-specific cursor types.

### Patch Changes

- Updated dependencies [[`f191ad9`](https://github.com/tkhq/sdk/commit/f191ad98d5bd194a12045d9b0c562abccb07169a)]:
  - @turnkey/sdk-types@1.5.0
  - @turnkey/http@6.2.0
  - @turnkey/crypto@2.11.2
  - @turnkey/indexed-db-stamper@1.3.5
  - @turnkey/wallet-stamper@1.1.23
  - @turnkey/api-key-stamper@0.6.11

## 8.1.0

### Minor Changes

- [#1475](https://github.com/tkhq/sdk/pull/1475) [`4a20057`](https://github.com/tkhq/sdk/commit/4a20057b37d6081c0c38c0a4840affcd16140d47) Thanks [@moe-dev](https://github.com/moe-dev)! - Sync generated API clients and types with the latest public API swagger.

  ### New query endpoints
  - `getClaimEarnFeesStatus` (`POST /public/v1/query/get_claim_earn_fees_status`) — poll Earn fee-claim status by the `claimRequestId` returned from `ClaimEarnFees`. Response status is `PENDING` | `COMPLETED` | `FAILED`, with optional `claimTxHash` / `error`.
  - `getSwapStatus` (`POST /public/v1/query/get_swap_status`) — poll swap status by the `swapRequestId` returned from `ExecuteSwap`. Covers same-chain and cross-chain swaps, and returns provider, input/output tokens and amounts, origin/destination tx hashes, optional refund info on failure, and normalized error details.

  ### New submit endpoints / activities
  - `claimSwapFees` (`POST /public/v1/submit/claim_swap_fees`, `ACTIVITY_TYPE_CLAIM_SWAP_FEES`) — claim swap fees through the activity pipeline; result includes a Relay `requestId`.
  - `ethUndelegate7702` (`POST /public/v1/submit/eth_undelegate_7702`, `ACTIVITY_TYPE_ETH_UNDELEGATE_7702`) — submit an EIP-7702 undelegation for a wallet/private-key address on a supported CAIP-2 chain. Optional nonce / gas / fee fields; result returns a `sendTransactionStatusId` for polling.
  - `upsertSwapConfig` (`POST /public/v1/submit/upsert_swap_config`, `ACTIVITY_TYPE_UPSERT_SWAP_CONFIG`) — enable or update org swap config (`feeReceiverWalletAddress`, `feeBps`, and Enterprise-only `stableFeeBps` for stablecoin pairs).
  - `createSwapQuote` (`ACTIVITY_TYPE_CREATE_SWAP_QUOTE`) — request provider quotes for a swap (`signWith`, CAIP-19 `inputToken` / `outputToken`, `inputAmount`, optional `slippageBps`). Returns one or more `v1SwapQuote` values; pass `quoteId` into execute-swap v2.

  ### Related activity / type updates
  - `ACTIVITY_TYPE_EXECUTE_SWAP_V2` / `v1ExecuteSwapIntentV2` — quote-bound swap execution. Takes `quoteId` plus the exact quoted amounts (`inputAmount`, `quotedOutputAmount`, `minOutputAmount`, `sponsor`), with optional `evmNonce` / `recentBlockhash` / `gasStationNonce`. Signer is derived from the quote and must not be resupplied. Result still exposes `swapRequestId` for `getSwapStatus`.
  - `ACTIVITY_TYPE_UPDATE_WALLET_ACCOUNT_NAME` / `v1UpdateWalletAccountNameIntent` — rename a wallet account by `walletAccountId`.
  - Supporting swap types: `v1SwapQuote`, `v1SwapError`, `v1SwapRefund`.
  - CAIP-2 enums used by transaction intents (including undelegation) now include `eip155:143`.

  These surfaces are generated into `@turnkey/http`, `@turnkey/sdk-types`, `@turnkey/sdk-browser`, `@turnkey/sdk-server`, and `@turnkey/core`.

### Patch Changes

- Updated dependencies [[`4a20057`](https://github.com/tkhq/sdk/commit/4a20057b37d6081c0c38c0a4840affcd16140d47)]:
  - @turnkey/sdk-types@1.4.0
  - @turnkey/http@6.1.0
  - @turnkey/crypto@2.11.1
  - @turnkey/indexed-db-stamper@1.3.4
  - @turnkey/wallet-stamper@1.1.22
  - @turnkey/api-key-stamper@0.6.10

## 8.0.0

### Major Changes

- [#1448](https://github.com/tkhq/sdk/pull/1448) [`de5e169`](https://github.com/tkhq/sdk/commit/de5e1692ab79c18d898326e76777fa7ea54df812) Thanks [@Bijan-Massoumi](https://github.com/Bijan-Massoumi)! - Add Solana send-transaction v2 support for transactions requiring multiple Turnkey signers.

  `solSendTransaction()` now uses `ACTIVITY_TYPE_SOL_SEND_TRANSACTION_V2`. The v2 intent accepts an ordered `signWiths` array for transactions requiring multiple Turnkey signers, and its full unsigned transaction wire format is hex-encoded.

  **Before:**

  ```ts
  await client.solSendTransaction({
    unsignedTransaction: unsignedTransactionBase64,
    signWith: signerAddress,
    caip2,
    sponsor,
  });
  ```

  **After:**

  ```ts
  await client.solSendTransaction({
    unsignedTransaction: unsignedTransactionHex,
    signWiths: [signerAddress],
    caip2,
    sponsor,
  });
  ```

### Minor Changes

- [#1452](https://github.com/tkhq/sdk/pull/1452) [`b447497`](https://github.com/tkhq/sdk/commit/b447497e965b0b1df02d2294e87f89cedb761719) Author [@ericvelazquez](https://github.com/ericvelazquez) - Add Turnkey Earn APIs (early access) to the high-level SDK clients: `earnVaults`, `earnEnabledVaults`, `earnPositions`, `earnDeposit`, `earnDepositStatus`, `earnWithdraw`, `earnWithdrawStatus`, `earnDeployWrapper`, and `earnDeployStatus`.

  The Earn read endpoints live under `/query/` but aren't named `get`/`list`/`test`/`validate`, so each package's codegen pins `/query/earn_*` to query methods by path. `@turnkey/http` gains the previously-missing `earnDeployStatus` so its generated Earn surface matches the other packages.

### Patch Changes

- Updated dependencies [[`09d0e19`](https://github.com/tkhq/sdk/commit/09d0e19ee6b4b2c1be14762650613f7fbae036b0), [`de5e169`](https://github.com/tkhq/sdk/commit/de5e1692ab79c18d898326e76777fa7ea54df812), [`b447497`](https://github.com/tkhq/sdk/commit/b447497e965b0b1df02d2294e87f89cedb761719), [`c9a13f6`](https://github.com/tkhq/sdk/commit/c9a13f65092e9a7cddc0716206331db9a8b614d2)]:
  - @turnkey/sdk-types@1.3.0
  - @turnkey/http@6.0.0
  - @turnkey/crypto@2.11.0
  - @turnkey/indexed-db-stamper@1.3.3
  - @turnkey/wallet-stamper@1.1.21
  - @turnkey/api-key-stamper@0.6.9

## 7.0.0

### Major Changes

- [#1433](https://github.com/tkhq/sdk/pull/1433) [`cd1af93`](https://github.com/tkhq/sdk/commit/cd1af93c41a3f41c3c68589cfa6cfe17c1812c2f) Author [@amircheikh](https://github.com/amircheikh) - - Synced with Mono v2026.7.3
  - `EthSendTransaction()` function call now uses `ACTIVITY_TYPE_ETH_SEND_TRANSACTION_V2`. This activity allows for multiple eth calls to be batched together via the new `calls` array. This means the intent for the activity has now changed.

  **Before:**

  ```ts
  await client.ethSendTransaction({
    from,
    caip2,
    to,
    value,
    data,
  });
  ```

  **After:**

  ```ts
  await client.ethSendTransaction({
    from,
    caip2,
    calls: [{ to, value, data }],
  });
  ```

### Patch Changes

- Updated dependencies [[`cd1af93`](https://github.com/tkhq/sdk/commit/cd1af93c41a3f41c3c68589cfa6cfe17c1812c2f), [`cd1af93`](https://github.com/tkhq/sdk/commit/cd1af93c41a3f41c3c68589cfa6cfe17c1812c2f)]:
  - @turnkey/http@5.0.0
  - @turnkey/sdk-types@1.2.0
  - @turnkey/wallet-stamper@1.1.20
  - @turnkey/crypto@2.10.1
  - @turnkey/indexed-db-stamper@1.3.2
  - @turnkey/api-key-stamper@0.6.8

## 6.1.1

### Patch Changes

- Updated dependencies [[`325fded`](https://github.com/tkhq/sdk/commit/325fdedf2c647c9a93f28aa7355b1ff0053689f9)]:
  - @turnkey/http@4.1.1
  - @turnkey/iframe-stamper@2.11.1
  - @turnkey/wallet-stamper@1.1.19

## 6.1.0

### Minor Changes

- [#1324](https://github.com/tkhq/sdk/pull/1324) [`f505818`](https://github.com/tkhq/sdk/commit/f505818e121c137d290156a32918a884ba80e5f5) Author [@janjakubnanista](https://github.com/janjakubnanista) - ### Breaking/Behavioral Changes

  #### `nonce` parameter in `oauth2Authenticate` is now required

  ```ts
  # Before
  apiClient.oauth2Authenticate({
    oauth2CredentialId: ...,
    authCode: ...,
    redirectUri: ...,
    codeVerifier: ...,
    bearerTokenTargetPublicKey: ...,
    // nonce can be undefined
    nonce: undefined
  })

  # After
  apiClient.oauth2Authenticate({
    oauth2CredentialId: ...,
    authCode: ...,
    redirectUri: ...,
    codeVerifier: ...,
    bearerTokenTargetPublicKey: ...,
    // nonce is required
    nonce: ""
  })
  ```

  #### Solana transactions in Transaction Management are now limited to the following `caip2` values:
  - `solana:mainnet`
  - `solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp`
  - `solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d`
  - `solana:devnet`
  - `solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1`
  - `solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1wcaWoxPkrZBG`

  ### New SDK methods

  #### TVC

  These methods will only work if you are part of the [TVC beta](https://www.turnkey.com/turnkey-verifiable-cloud#waitlist)
  - `getTvcApp`
  - `getTvcDeployment`
  - `getTvcAppDeployments`
  - `getTvcApps`
  - `validateTvcImage`
  - `createTvcApp`
  - `createTvcDeployment`
  - `createTvcManifestApprovals`
  - `deleteTvcAppAndDeployments`
  - `deleteTvcDeployment`
  - `restoreTvcDeployment`
  - `updateTvcAppLiveDeployment`

  #### Spark protocol support
  - `sparkClaimTransfer`
  - `sparkPrepareLightningReceive`
  - `sparkPrepareTransfer`
  - `sparkSignFrost`

### Patch Changes

- Updated dependencies [[`bf2c28f`](https://github.com/tkhq/sdk/commit/bf2c28fec690ec31254125405bf15a482139109b), [`f505818`](https://github.com/tkhq/sdk/commit/f505818e121c137d290156a32918a884ba80e5f5), [`ad044cd`](https://github.com/tkhq/sdk/commit/ad044cdcd41690c6479a81c56ebcd6d5108581fb)]:
  - @turnkey/sdk-types@1.1.0
  - @turnkey/http@4.1.0
  - @turnkey/crypto@2.10.0
  - @turnkey/indexed-db-stamper@1.3.1
  - @turnkey/wallet-stamper@1.1.18
  - @turnkey/api-key-stamper@0.6.7

## 6.0.0

### Major Changes

- [#1250](https://github.com/tkhq/sdk/pull/1250) [`6128132`](https://github.com/tkhq/sdk/commit/6128132d910f658cdf83ecc1dec6598eb20c008a) Author [@moeodeh3](https://github.com/moeodeh3) - ### `INIT_OTP`

  `ACTIVITY_TYPE_INIT_OTP_V2` → `ACTIVITY_TYPE_INIT_OTP_V3`

  **What changed:** Added required `otpEncryptionTargetBundle` to the result.

  ```ts
  // before — v1InitOtpResult
  {
    otpId: string;
  }

  // after — v1InitOtpResultV2
  {
    otpId: string;
    otpEncryptionTargetBundle: string; // new
  }
  ```

  ***

  ### `VERIFY_OTP`

  `ACTIVITY_TYPE_VERIFY_OTP` → `ACTIVITY_TYPE_VERIFY_OTP_V2`

  **What changed:** Replaced plaintext `otpCode` + `publicKey` with a single `encryptedOtpBundle`.

  Instead of sending the OTP code in plaintext, you now HPKE-encrypt it (along with your public key) to Turnkey's enclave using the `otpEncryptionTargetBundle` returned by `initOtp`. This ensures the OTP code never leaves the client in plaintext.

  Use `encryptOtpCodeToBundle` from `@turnkey/crypto` to build the bundle:

  ```ts
  import { encryptOtpCodeToBundle } from "@turnkey/crypto";

  const { otpId, otpEncryptionTargetBundle } = await client.initOtp({ ... });

  // After the user enters their OTP code:
  const encryptedOtpBundle = await encryptOtpCodeToBundle(
    otpCode,                    // the code the user entered
    otpEncryptionTargetBundle,  // from the initOtp response
    publicKey,                  // your target public key
  );

  await client.verifyOtp({
    otpId,
    encryptedOtpBundle,
  });
  ```

  ```ts
  // before — v1VerifyOtpIntent
  {
    otpId: string;
    otpCode: string;           // removed
    expirationSeconds?: string;
    publicKey?: string;         // removed
  }

  // after — v1VerifyOtpIntentV2
  {
    otpId: string;
    encryptedOtpBundle: string; // new — replaces otpCode + publicKey
    expirationSeconds?: string;
  }
  ```

  ***

  ### `OTP_LOGIN`

  `ACTIVITY_TYPE_OTP_LOGIN` → `ACTIVITY_TYPE_OTP_LOGIN_V2`

  **What changed:** `clientSignature` promoted from optional to required.

  ```ts
  // before — v1OtpLoginIntent
  {
    verificationToken: string;
    publicKey: string;
    expirationSeconds?: string;
    invalidateExisting?: boolean;
    clientSignature?: v1ClientSignature; // optional
  }

  // after — v1OtpLoginIntentV2
  {
    verificationToken: string;
    publicKey: string;
    expirationSeconds?: string;
    invalidateExisting?: boolean;
    clientSignature: v1ClientSignature;  // now required
  }
  ```

  ***

  ### `CREATE_OAUTH_PROVIDERS`

  `ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS` → `ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS_V2`

  **What changed:** Added `oidcClaims` as a new option alongside `oidcToken`; you must provide exactly one. This updated type feeds into the `CREATE_SUB_ORGANIZATION` and `CREATE_USERS` changes below.

  ```ts
  // before — v1OauthProviderParams
  {
    providerName: string;
    oidcToken: string;
  }

  // after — v1OauthProviderParamsV2
  {
    providerName: string;
  } & (
    | { oidcToken: string }
    | { oidcClaims: { iss: string; sub: string; aud: string } }
  )
  ```

  ***

  ### `CREATE_SUB_ORGANIZATION`

  `ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7` → `ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V8`

  **What changed:** `rootUsers` items updated from `v1RootUserParamsV4` → `v1RootUserParamsV5`, which updates `oauthProviders` from `v1OauthProviderParams` → `v1OauthProviderParamsV2`.

  ```ts
  // before — v1RootUserParamsV4
  {
    userName: string;
    userEmail?: string;
    userPhoneNumber?: string;
    apiKeys: v1ApiKeyParamsV2[];
    authenticators: v1AuthenticatorParamsV2[];
    oauthProviders: {              // v1OauthProviderParams
      providerName: string;
      oidcToken: string;           // was required
    }[];
  }

  // after — v1RootUserParamsV5
  {
    userName: string;
    userEmail?: string;
    userPhoneNumber?: string;
    apiKeys: v1ApiKeyParamsV2[];
    authenticators: v1AuthenticatorParamsV2[];
    oauthProviders: ({             // v1OauthProviderParamsV2
      providerName: string;
    } & (
      | { oidcToken: string }
      | { oidcClaims: { iss: string; sub: string; aud: string } }
    ))[];
  }
  ```

  ***

  ### `CREATE_USERS`

  `ACTIVITY_TYPE_CREATE_USERS_V3` → `ACTIVITY_TYPE_CREATE_USERS_V4`

  **What changed:** `users` items updated from `v1UserParamsV3` → `v1UserParamsV4`, which updates `oauthProviders` from `v1OauthProviderParams` → `v1OauthProviderParamsV2`.

  ```ts
  // before — v1UserParamsV3
  {
    userName: string;
    userEmail?: string;
    userPhoneNumber?: string;
    apiKeys: v1ApiKeyParamsV2[];
    authenticators: v1AuthenticatorParamsV2[];
    oauthProviders: {              // v1OauthProviderParams
      providerName: string;
      oidcToken: string;           // was required
    }[];
    userTags: string[];
  }

  // after — v1UserParamsV4
  {
    userName: string;
    userEmail?: string;
    userPhoneNumber?: string;
    apiKeys: v1ApiKeyParamsV2[];
    authenticators: v1AuthenticatorParamsV2[];
    oauthProviders: ({             // v1OauthProviderParamsV2
      providerName: string;
    } & (
      | { oidcToken: string }
      | { oidcClaims: { iss: string; sub: string; aud: string } }
    ))[];
    userTags: string[];
  }
  ```

### Minor Changes

- [#1250](https://github.com/tkhq/sdk/pull/1250) [`34522d4`](https://github.com/tkhq/sdk/commit/34522d447592138a82d34cd690091315f9748edb) Author [@moeodeh3](https://github.com/moeodeh3) - - Expose `sign(payload, format)` method on `TurnkeyIndexedDbClient` to support raw and DER signature formats via `SignatureFormat`

### Patch Changes

- Updated dependencies [[`34522d4`](https://github.com/tkhq/sdk/commit/34522d447592138a82d34cd690091315f9748edb), [`d677115`](https://github.com/tkhq/sdk/commit/d677115e60aaee53319131723541211457803317), [`34522d4`](https://github.com/tkhq/sdk/commit/34522d447592138a82d34cd690091315f9748edb), [`7a36539`](https://github.com/tkhq/sdk/commit/7a36539196856a8bd4ca4c54115fa9874ccc83fa), [`47c0ca4`](https://github.com/tkhq/sdk/commit/47c0ca4696c8a518f95550c35cfe4cb4985a2633), [`5624d54`](https://github.com/tkhq/sdk/commit/5624d5417d2cc30032ca4ce71da0a5c7ab9a462d), [`6128132`](https://github.com/tkhq/sdk/commit/6128132d910f658cdf83ecc1dec6598eb20c008a), [`7b80b1e`](https://github.com/tkhq/sdk/commit/7b80b1e9755b83988b5e49c34dff13dd92d9932f)]:
  - @turnkey/indexed-db-stamper@1.3.0
  - @turnkey/crypto@2.9.0
  - @turnkey/sdk-types@1.0.0
  - @turnkey/http@4.0.0
  - @turnkey/api-key-stamper@0.6.6
  - @turnkey/wallet-stamper@1.1.17

## 5.16.1

### Patch Changes

- [#1269](https://github.com/tkhq/sdk/pull/1269) [`ef66673`](https://github.com/tkhq/sdk/commit/ef6667325d210c8aa0ea4c1d11d834ff28ddb66c) Author [@ethankonk](https://github.com/ethankonk) - Sync with v2026.4.5 of mono

- Updated dependencies [[`ef66673`](https://github.com/tkhq/sdk/commit/ef6667325d210c8aa0ea4c1d11d834ff28ddb66c), [`8209887`](https://github.com/tkhq/sdk/commit/8209887d48bae7ea617645603a156aeb1cfbd2e7)]:
  - @turnkey/sdk-types@0.14.0
  - @turnkey/http@3.18.1
  - @turnkey/crypto@2.8.14
  - @turnkey/wallet-stamper@1.1.16
  - @turnkey/api-key-stamper@0.6.5
  - @turnkey/indexed-db-stamper@1.2.6

## 5.16.0

### Minor Changes

- [#1252](https://github.com/tkhq/sdk/pull/1252) [`46b4d2f`](https://github.com/tkhq/sdk/commit/46b4d2fa807fb87d06bb606623ba1f86582aa4ef) Author [@ethankonk](https://github.com/ethankonk) - Sync as per mono v2026.3.6

### Patch Changes

- Updated dependencies [[`46b4d2f`](https://github.com/tkhq/sdk/commit/46b4d2fa807fb87d06bb606623ba1f86582aa4ef), [`068abcb`](https://github.com/tkhq/sdk/commit/068abcb11e05972329034222bed52865f405f1c4)]:
  - @turnkey/http@3.18.0
  - @turnkey/sdk-types@0.13.0
  - @turnkey/wallet-stamper@1.1.15
  - @turnkey/crypto@2.8.13
  - @turnkey/api-key-stamper@0.6.4
  - @turnkey/indexed-db-stamper@1.2.5

## 5.15.2

### Patch Changes

- Updated dependencies [[`dfdd864`](https://github.com/tkhq/sdk/commit/dfdd8647266fdd0297aaea32046ee815ae8fc27c)]:
  - @turnkey/sdk-types@0.12.1
  - @turnkey/crypto@2.8.12
  - @turnkey/api-key-stamper@0.6.3
  - @turnkey/wallet-stamper@1.1.14
  - @turnkey/http@3.17.1
  - @turnkey/indexed-db-stamper@1.2.4

## 5.15.1

### Patch Changes

- Updated dependencies [[`207fc93`](https://github.com/tkhq/sdk/commit/207fc932374a8362ec6f803ac0a67c2e5dbfc29e)]:
  - @turnkey/iframe-stamper@2.11.0

## 5.15.0

### Minor Changes

- [#1206](https://github.com/tkhq/sdk/pull/1206) [`58e04e5`](https://github.com/tkhq/sdk/commit/58e04e5856626d9d2593abb61d8ca32d8ccbb833) Author [@DeRauk](https://github.com/DeRauk) - Adds sdk methods for the GetWalletAddressBalances and ListSupportedAssets apis.

### Patch Changes

- [#1201](https://github.com/tkhq/sdk/pull/1201) [`1f6e240`](https://github.com/tkhq/sdk/commit/1f6e2403fca1fd9cbca646f88c88dbc49ddb0c34) Author [@ethankonk](https://github.com/ethankonk) - Synced with Mono v2026.2.0

- [#1197](https://github.com/tkhq/sdk/pull/1197) [`7458b7c`](https://github.com/tkhq/sdk/commit/7458b7cd6fc64796b376e3374b7c2ed79467459c) Thanks [@moe-dev](https://github.com/moe-dev)! - Add support for SolSendTransaction and associated abstractions

- Updated dependencies [[`1f6e240`](https://github.com/tkhq/sdk/commit/1f6e2403fca1fd9cbca646f88c88dbc49ddb0c34), [`58e04e5`](https://github.com/tkhq/sdk/commit/58e04e5856626d9d2593abb61d8ca32d8ccbb833), [`7458b7c`](https://github.com/tkhq/sdk/commit/7458b7cd6fc64796b376e3374b7c2ed79467459c)]:
  - @turnkey/sdk-types@0.12.0
  - @turnkey/http@3.17.0
  - @turnkey/crypto@2.8.11
  - @turnkey/wallet-stamper@1.1.13
  - @turnkey/api-key-stamper@0.6.2
  - @turnkey/indexed-db-stamper@1.2.3

## 5.14.3

### Patch Changes

- [#1194](https://github.com/tkhq/sdk/pull/1194) [`dced9db`](https://github.com/tkhq/sdk/commit/dced9dbbd8ea533442e19e45ce36e6a05a45a555) Author [@moeodeh3](https://github.com/moeodeh3) - Add `Content-Type: application/json` header to all Turnkey API requests

- Updated dependencies [[`dced9db`](https://github.com/tkhq/sdk/commit/dced9dbbd8ea533442e19e45ce36e6a05a45a555)]:
  - @turnkey/http@3.16.3
  - @turnkey/wallet-stamper@1.1.12

## 5.14.2

### Patch Changes

- Updated dependencies [[`8e075b7`](https://github.com/tkhq/sdk/commit/8e075b7161ccc68cb446b10b54737856fa0c6d31), [`fb0ff3e`](https://github.com/tkhq/sdk/commit/fb0ff3e38e061c48f01b35c44294f4549b61d61d)]:
  - @turnkey/sdk-types@0.11.2
  - @turnkey/iframe-stamper@2.10.0
  - @turnkey/crypto@2.8.10
  - @turnkey/api-key-stamper@0.6.1
  - @turnkey/wallet-stamper@1.1.12
  - @turnkey/http@3.16.2
  - @turnkey/indexed-db-stamper@1.2.2

## 5.14.1

### Patch Changes

- Updated dependencies [[`d0dba04`](https://github.com/tkhq/sdk/commit/d0dba0412fa7b0c7c9b135e73cc0ef6f55187314), [`91d6a9e`](https://github.com/tkhq/sdk/commit/91d6a9eb1b9ac9e21745749615ac7a7be66f5cf6), [`91d6a9e`](https://github.com/tkhq/sdk/commit/91d6a9eb1b9ac9e21745749615ac7a7be66f5cf6)]:
  - @turnkey/crypto@2.8.9
  - @turnkey/api-key-stamper@0.6.0
  - @turnkey/sdk-types@0.11.1
  - @turnkey/wallet-stamper@1.1.11
  - @turnkey/http@3.16.1
  - @turnkey/indexed-db-stamper@1.2.1

## 5.14.0

### Minor Changes

- [#1153](https://github.com/tkhq/sdk/pull/1153) [`78ec1d9`](https://github.com/tkhq/sdk/commit/78ec1d9afcafde3ca7107fc720323d486d6afaea) Thanks [@moe-dev](https://github.com/moe-dev)! - Update as per mono v2025.12.3.

  ### Breaking/Behavioral Changes
  - `appName` is now **required**:
    - In `emailCustomization` for Email Auth activities
    - At the top-level intent for OTP activities
  - Auth proxy endpoints are **not affected**

  ### Activity Version Bumps

  The following activity types have been versioned:
  - `ACTIVITY_TYPE_INIT_OTP` → `ACTIVITY_TYPE_INIT_OTP_V2`
  - `ACTIVITY_TYPE_INIT_OTP_AUTH_V2` → `ACTIVITY_TYPE_INIT_OTP_AUTH_V3`
  - `ACTIVITY_TYPE_EMAIL_AUTH_V2` → `ACTIVITY_TYPE_EMAIL_AUTH_V3`
  - `ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY` -> `ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY_V2`

### Patch Changes

- [#1145](https://github.com/tkhq/sdk/pull/1145) [`cfd34ab`](https://github.com/tkhq/sdk/commit/cfd34ab14ff2abed0e22dca9a802c58a96b9e8e1) Author [@moeodeh3](https://github.com/moeodeh3) - Stamp function improvements
  - Queries: add `organizationId` fallback from config
  - Activities: fix request structure to include the `parameters wrapper`, `organizationId`, `timestampMs`, and `type` fields

- Updated dependencies [[`78ec1d9`](https://github.com/tkhq/sdk/commit/78ec1d9afcafde3ca7107fc720323d486d6afaea)]:
  - @turnkey/sdk-types@0.11.0
  - @turnkey/http@3.16.0
  - @turnkey/crypto@2.8.8
  - @turnkey/wallet-stamper@1.1.10

## 5.13.6

### Patch Changes

- Updated dependencies [[`29a42db`](https://github.com/tkhq/sdk/commit/29a42db8f5f3ef8b9c23c90cd00f4c21027aac2e)]:
  - @turnkey/sdk-types@0.10.0
  - @turnkey/crypto@2.8.7
  - @turnkey/wallet-stamper@1.1.9

## 5.13.5

### Patch Changes

- Updated dependencies [[`850a3ee`](https://github.com/tkhq/sdk/commit/850a3ee5dbb5e2cc46bda50348c917c555e55f73)]:
  - @turnkey/iframe-stamper@2.9.0

## 5.13.4

### Patch Changes

- Updated dependencies [[`7ac558c`](https://github.com/tkhq/sdk/commit/7ac558c39c3fa0ddeb6e695182a49f03ee6d4f00)]:
  - @turnkey/iframe-stamper@2.8.0

## 5.13.3

### Patch Changes

- Updated dependencies [[`80ea306`](https://github.com/tkhq/sdk/commit/80ea306025a2161ff575a5e2b45794460eafdf1b)]:
  - @turnkey/sdk-types@0.9.0
  - @turnkey/crypto@2.8.6
  - @turnkey/wallet-stamper@1.1.8

## 5.13.2

### Patch Changes

- [#1097](https://github.com/tkhq/sdk/pull/1097) Bumping `hpke/core` to `1.7.5` to resolve https://github.com/dajiaji/hpke-js/security/advisories/GHSA-73g8-5h73-26h4. Thanks [@r-n-o](https://github.com/r-n-o) for the bump, and thank you to [@dajiaji](https://github.com/dajiaji) for the disclosure and the underlying fix!

## 5.13.1

### Patch Changes

- Updated dependencies [[`2fd1d55`](https://github.com/tkhq/sdk/commit/2fd1d5555dd358a1c0210ca65fd6ca70ff172058)]:
  - @turnkey/iframe-stamper@2.7.1

## 5.13.0

### Minor Changes

- [#1072](https://github.com/tkhq/sdk/pull/1072) [`67b03a5`](https://github.com/tkhq/sdk/commit/67b03a5d9ab1b6eabfb0b41938ac91365b5dcd9b) Thanks [@moe-dev](https://github.com/moe-dev)! - Bump packages as per mono v2025.11.0

### Patch Changes

- Updated dependencies [[`5f829c6`](https://github.com/tkhq/sdk/commit/5f829c67af03bb85c3806acd202b2debf8274e78), [`084acce`](https://github.com/tkhq/sdk/commit/084acce85fe7c15513a025e77c1571012ac82e4b), [`67b03a5`](https://github.com/tkhq/sdk/commit/67b03a5d9ab1b6eabfb0b41938ac91365b5dcd9b)]:
  - @turnkey/crypto@2.8.5
  - @turnkey/sdk-types@0.8.0
  - @turnkey/http@3.15.0
  - @turnkey/wallet-stamper@1.1.7

## 5.12.0

### Minor Changes

- [#1058](https://github.com/tkhq/sdk/pull/1058) [`9fbd5c4`](https://github.com/tkhq/sdk/commit/9fbd5c459782dc3721dd0935d0a4458babce258b) Author [@moeodeh3](https://github.com/moeodeh3) - Update per mono release `v2025.10.10-hotfix.2`

### Patch Changes

- Updated dependencies [[`9fbd5c4`](https://github.com/tkhq/sdk/commit/9fbd5c459782dc3721dd0935d0a4458babce258b)]:
  - @turnkey/http@3.14.0
  - @turnkey/crypto@2.8.4
  - @turnkey/wallet-stamper@1.1.6

## 5.11.6

### Patch Changes

- Updated dependencies [[`c745646`](https://github.com/tkhq/sdk/commit/c745646ae4b2a275e116abca07c6e108f89beb04)]:
  - @turnkey/crypto@2.8.4
  - @turnkey/wallet-stamper@1.1.6

## 5.11.5

### Patch Changes

- Updated dependencies [[`5c4495b`](https://github.com/tkhq/sdk/commit/5c4495bff1b0abfe3c427ead1b8e1a8d510c8186), [`5c4495b`](https://github.com/tkhq/sdk/commit/5c4495bff1b0abfe3c427ead1b8e1a8d510c8186)]:
  - @turnkey/crypto@2.8.3
  - @turnkey/sdk-types@0.6.3
  - @turnkey/wallet-stamper@1.1.5

## 5.11.4

### Patch Changes

- [#1016](https://github.com/tkhq/sdk/pull/1016) [`9df42ad`](https://github.com/tkhq/sdk/commit/9df42adc02c7ff77afba3b938536e79b57882ef1) Author [@amircheikh](https://github.com/amircheikh) - Synced API as per mono v2025.10.2

- Updated dependencies [[`9df42ad`](https://github.com/tkhq/sdk/commit/9df42adc02c7ff77afba3b938536e79b57882ef1)]:
  - @turnkey/sdk-types@0.6.2
  - @turnkey/http@3.13.1
  - @turnkey/crypto@2.8.2
  - @turnkey/wallet-stamper@1.1.4

## 5.11.3

### Patch Changes

- Updated dependencies [[`e76d2bf`](https://github.com/tkhq/sdk/commit/e76d2bfbe3fb481aedac9b992260c50217823e8a)]:
  - @turnkey/iframe-stamper@2.7.0

## 5.11.2

### Patch Changes

- Updated dependencies [[`68631c4`](https://github.com/tkhq/sdk/commit/68631c4008387f845dfe4f1a139981011727f6c9)]:
  - @turnkey/sdk-types@0.6.1
  - @turnkey/crypto@2.8.1
  - @turnkey/wallet-stamper@1.1.3

## 5.11.1

### Patch Changes

- Updated dependencies [[`3997c0f`](https://github.com/tkhq/sdk/commit/3997c0fd08a8a85108acf904c0bf39d69f8dc79c), [`3997c0f`](https://github.com/tkhq/sdk/commit/3997c0fd08a8a85108acf904c0bf39d69f8dc79c)]:
  - @turnkey/crypto@2.8.0
  - @turnkey/sdk-types@0.6.0
  - @turnkey/wallet-stamper@1.1.2

## 5.11.0

### Minor Changes

- [#977](https://github.com/tkhq/sdk/pull/977) [`4567059`](https://github.com/tkhq/sdk/commit/45670598f102223925b87a5295edca15a6ce8241) Author [@besler613](https://github.com/besler613) - OAuth2Authenticate now supports returning the encrypted bearer token via the optional `bearerTokenTargetPublicKey` request parameter (mono release v2025.9.5)

### Patch Changes

- Updated dependencies [[`4567059`](https://github.com/tkhq/sdk/commit/45670598f102223925b87a5295edca15a6ce8241)]:
  - @turnkey/sdk-types@0.5.0
  - @turnkey/http@3.13.0
  - @turnkey/crypto@2.7.0
  - @turnkey/wallet-stamper@1.1.1

## 5.10.1

### Patch Changes

- [#958](https://github.com/tkhq/sdk/pull/958) [`5a96fe8`](https://github.com/tkhq/sdk/commit/5a96fe80db4c4c45e09ad8c613695ee4c2b8e51f) Author [@amircheikh](https://github.com/amircheikh) - - Synced api with mono

- Updated dependencies [[`2191a1b`](https://github.com/tkhq/sdk/commit/2191a1b201fb17dea4c79cf9e02b3a493b18f97a), [`5a96fe8`](https://github.com/tkhq/sdk/commit/5a96fe80db4c4c45e09ad8c613695ee4c2b8e51f)]:
  - @turnkey/crypto@2.7.0
  - @turnkey/sdk-types@0.4.1
  - @turnkey/http@3.12.1
  - @turnkey/wallet-stamper@1.1.1

## 5.10.0

### Minor Changes

- Updated dependencies [[`fc1d6e2`](https://github.com/tkhq/sdk/commit/fc1d6e2d26f4a53116633e9e8cccccd792267f4e), [`fc1d6e2`](https://github.com/tkhq/sdk/commit/fc1d6e2d26f4a53116633e9e8cccccd792267f4e), [`4880f26`](https://github.com/tkhq/sdk/commit/4880f26a4dd324c049bff7f35284098ccfc55823), [`c6ee323`](https://github.com/tkhq/sdk/commit/c6ee3239c389a7bbbbb23610c84b883ed298f95c), [`c6ee323`](https://github.com/tkhq/sdk/commit/c6ee3239c389a7bbbbb23610c84b883ed298f95c), [`c6ee323`](https://github.com/tkhq/sdk/commit/c6ee3239c389a7bbbbb23610c84b883ed298f95c), [`06347ad`](https://github.com/tkhq/sdk/commit/06347adfa08fb0867c350e43821d0fed06c49624), [`6bfcbc5`](https://github.com/tkhq/sdk/commit/6bfcbc5c098e64ab1d115518733b87cfc1653e17)]:
  - @turnkey/sdk-types@0.4.0
  - @turnkey/encoding@0.6.0
  - @turnkey/http@3.12.0
  - @turnkey/crypto@2.6.0
  - @turnkey/indexed-db-stamper@1.2.0
  - @turnkey/webauthn-stamper@0.6.0
  - @turnkey/api-key-stamper@0.5.0
  - @turnkey/iframe-stamper@2.6.0
  - @turnkey/wallet-stamper@1.1.0

## 5.9.0-beta.1

### Patch Changes

- Updated dependencies []:
  - @turnkey/sdk-types@0.4.0-beta.6
  - @turnkey/encoding@0.6.0-beta.6
  - @turnkey/crypto@2.6.0-beta.6
  - @turnkey/api-key-stamper@0.5.0-beta.6
  - @turnkey/http@3.11.1-beta.0
  - @turnkey/indexed-db-stamper@1.2.0-beta.6
  - @turnkey/wallet-stamper@1.1.0-beta.6

## 5.9.0-beta.0

### Minor Changes

- SDK beta release @turnkey/react-wallet-kit @turnkey/core

### Patch Changes

- Updated dependencies []:
  - @turnkey/indexed-db-stamper@1.2.0-beta.5
  - @turnkey/webauthn-stamper@0.6.0-beta.0
  - @turnkey/api-key-stamper@0.5.0-beta.5
  - @turnkey/iframe-stamper@2.6.0-beta.0
  - @turnkey/wallet-stamper@1.1.0-beta.5
  - @turnkey/sdk-types@0.4.0-beta.5
  - @turnkey/encoding@0.6.0-beta.5
  - @turnkey/crypto@2.6.0-beta.5
  - @turnkey/http@3.10.0-beta.2

## 5.9.0

### Minor Changes

- [#879](https://github.com/tkhq/sdk/pull/879) [`026264c`](https://github.com/tkhq/sdk/commit/026264c55aa16342c8925af0bdcdf72dc00e5158) Author [@zkharit](https://github.com/zkharit) - Update packages to include new activities as of the newest release (mono v2025.8.10)

### Patch Changes

- Updated dependencies [[`026264c`](https://github.com/tkhq/sdk/commit/026264c55aa16342c8925af0bdcdf72dc00e5158), [`d7420e6`](https://github.com/tkhq/sdk/commit/d7420e6c3559efc1024b58749b31d253150cb189)]:
  - @turnkey/http@3.11.0
  - @turnkey/crypto@2.6.0
  - @turnkey/wallet-stamper@1.0.9

## 5.8.0

### Minor Changes

- [#861](https://github.com/tkhq/sdk/pull/861) [`5d8be2d`](https://github.com/tkhq/sdk/commit/5d8be2d0329070c7aa025dddb1b28f04257ae4e6) Author [@amircheikh](https://github.com/amircheikh) - Synced as per mono 2025.8.4

### Patch Changes

- Updated dependencies [[`5d8be2d`](https://github.com/tkhq/sdk/commit/5d8be2d0329070c7aa025dddb1b28f04257ae4e6)]:
  - @turnkey/http@3.10.0
  - @turnkey/crypto@2.5.0
  - @turnkey/wallet-stamper@1.0.8

## 5.7.1-beta.1

### Patch Changes

- Updated dependencies []:
  - @turnkey/sdk-types@0.4.0-beta.4
  - @turnkey/encoding@0.6.0-beta.4
  - @turnkey/http@3.10.0-beta.1
  - @turnkey/api-key-stamper@0.4.8-beta.4
  - @turnkey/crypto@2.5.1-beta.4
  - @turnkey/indexed-db-stamper@1.1.2-beta.4
  - @turnkey/wallet-stamper@1.0.9-beta.4

## 5.7.1-beta.0

### Patch Changes

- Updated dependencies []:
  - @turnkey/sdk-types@0.4.0-beta.3
  - @turnkey/encoding@0.6.0-beta.3
  - @turnkey/http@3.10.0-beta.0
  - @turnkey/api-key-stamper@0.4.8-beta.3
  - @turnkey/crypto@2.5.1-beta.3
  - @turnkey/indexed-db-stamper@1.1.2-beta.3
  - @turnkey/wallet-stamper@1.0.9-beta.3

## 5.7.0

### Minor Changes

- [#834](https://github.com/tkhq/sdk/pull/834) [`8b39dba`](https://github.com/tkhq/sdk/commit/8b39dbabf68d3e376b5b07f26960d5b61ae87fa9) Author [@moeodeh3](https://github.com/moeodeh3) - Update per mono release v2025.8.3-hotfix.0

### Patch Changes

- Updated dependencies [[`8b39dba`](https://github.com/tkhq/sdk/commit/8b39dbabf68d3e376b5b07f26960d5b61ae87fa9)]:
  - @turnkey/http@3.9.0
  - @turnkey/crypto@2.5.0
  - @turnkey/wallet-stamper@1.0.8

## 5.6.1-beta.2

### Patch Changes

- Updated dependencies []:
  - @turnkey/sdk-types@0.4.0-beta.2
  - @turnkey/encoding@0.6.0-beta.2
  - @turnkey/api-key-stamper@0.4.8-beta.2
  - @turnkey/crypto@2.5.1-beta.2
  - @turnkey/http@3.8.1-beta.2
  - @turnkey/indexed-db-stamper@1.1.2-beta.2
  - @turnkey/wallet-stamper@1.0.9-beta.2

## 5.6.1-beta.0

### Patch Changes

- Updated dependencies []:
  - @turnkey/sdk-types@1.0.0-beta.0
  - @turnkey/encoding@1.0.0-beta.0
  - @turnkey/api-key-stamper@0.4.8-beta.0
  - @turnkey/crypto@2.5.1-beta.0
  - @turnkey/http@3.8.1-beta.0
  - @turnkey/indexed-db-stamper@1.1.2-beta.0
  - @turnkey/wallet-stamper@1.0.9-beta.0

## 5.6.0

### Minor Changes

- [#826](https://github.com/tkhq/sdk/pull/826) [`f83f25b`](https://github.com/tkhq/sdk/commit/f83f25ba33ef15dbd66723531eebe2fd00f43ac0) Author [@turnekybc](https://github.com/turnekybc) - Update per mono release v2025.8.1

### Patch Changes

- Updated dependencies [[`f83f25b`](https://github.com/tkhq/sdk/commit/f83f25ba33ef15dbd66723531eebe2fd00f43ac0)]:
  - @turnkey/http@3.8.0
  - @turnkey/crypto@2.5.0
  - @turnkey/wallet-stamper@1.0.8

## 5.5.0

### Minor Changes

- [#651](https://github.com/tkhq/sdk/pull/651) [`81e355c`](https://github.com/tkhq/sdk/commit/81e355c9a8321feffcac056916b65139cf35eeed) Author [@turnekybc](https://github.com/turnekybc) - Add Coinbase & MoonPay Fiat Onramp. View the [Fiat Onramp feature docs](https://docs.turnkey.com/wallets/fiat-on-ramp).

### Patch Changes

- Updated dependencies [[`81e355c`](https://github.com/tkhq/sdk/commit/81e355c9a8321feffcac056916b65139cf35eeed), [`6cde41c`](https://github.com/tkhq/sdk/commit/6cde41cfecdfb7d54abf52cc65e28ef0e2ad6ba3)]:
  - @turnkey/http@3.7.0
  - @turnkey/sdk-types@0.3.0
  - @turnkey/crypto@2.5.0
  - @turnkey/wallet-stamper@1.0.8

## 5.4.1

### Patch Changes

- [#787](https://github.com/tkhq/sdk/pull/787) [`0d1eb2c`](https://github.com/tkhq/sdk/commit/0d1eb2c464bac3cf6f4386f402604ecf8f373f15) Author [@andrewkmin](https://github.com/andrewkmin) - Add optional `organizationId` parameter to `loginWithPasskey()` and `loginWithWallet()` to allow targeting a specific organization.

## 5.4.0

### Minor Changes

- [#782](https://github.com/tkhq/sdk/pull/782) [`e90a478`](https://github.com/tkhq/sdk/commit/e90a478c9208d858b1144df9b2c2c7ba956c406e) Thanks [@r-n-o](https://github.com/r-n-o)! - Release v2025.7.16

### Patch Changes

- Updated dependencies [[`e90a478`](https://github.com/tkhq/sdk/commit/e90a478c9208d858b1144df9b2c2c7ba956c406e)]:
  - @turnkey/http@3.6.0
  - @turnkey/crypto@2.4.3
  - @turnkey/wallet-stamper@1.0.7

## 5.3.4

### Patch Changes

- [#763](https://github.com/tkhq/sdk/pull/763) [`cb13c26`](https://github.com/tkhq/sdk/commit/cb13c26edb79a01ab651e3b2897334fd154b436a) Author [@andrewkmin](https://github.com/andrewkmin) - Release per mono v2025.7.1. This release contains the following API changes:
  - Introduction of `SmartContractInterfaces`: we've now exposed endpoints for uploading ABIs and IDLs to help secure EVM and Solana signing flows. For more information, see our docs [here](https://docs.turnkey.com/concepts/policies/smart-contract-interfaces)

- Updated dependencies [[`cb13c26`](https://github.com/tkhq/sdk/commit/cb13c26edb79a01ab651e3b2897334fd154b436a)]:
  - @turnkey/http@3.5.1
  - @turnkey/crypto@2.4.3
  - @turnkey/wallet-stamper@1.0.7

## 5.3.3

### Patch Changes

- [#750](https://github.com/tkhq/sdk/pull/750) [`2c4f42c`](https://github.com/tkhq/sdk/commit/2c4f42c747ac8017cf17e86b0ca0c3fa6f593bbf) Thanks [@moe-dev](https://github.com/moe-dev)! - Surface keyFormat for extractKeyEncryptedBundle in iframe client abstraction

## 5.3.2

### Patch Changes

- Updated dependencies [[`6cbff7a`](https://github.com/tkhq/sdk/commit/6cbff7a0c0b3a9a05586399e5cef476154d3bdca)]:
  - @turnkey/crypto@2.4.3
  - @turnkey/wallet-stamper@1.0.7

## 5.3.1

### Patch Changes

- [#716](https://github.com/tkhq/sdk/pull/716) [`fa46701`](https://github.com/tkhq/sdk/commit/fa467019eef34b5199372248edff1e7a64934e79) Author [@moeodeh3](https://github.com/moeodeh3) - Updated dependencies
  - bs58check@4.0.0

- Updated dependencies [[`c5cdf82`](https://github.com/tkhq/sdk/commit/c5cdf8229da5da1bd6d52db06b2fe42826e96d57), [`fa46701`](https://github.com/tkhq/sdk/commit/fa467019eef34b5199372248edff1e7a64934e79)]:
  - @turnkey/crypto@2.4.2
  - @turnkey/wallet-stamper@1.0.6

## 5.3.0

### Minor Changes

- [#704](https://github.com/tkhq/sdk/pull/704) [`5f3dd98`](https://github.com/tkhq/sdk/commit/5f3dd9814650308b3bf3198168c453e7b1a98efd) Author [@amircheikh](https://github.com/amircheikh) - Synced with mono 2025.6.10 to include the following endpoints:

  `update_user_email`: Update a User's email in an existing Organization

  `update_user_name`: Update a User's name in an existing Organization

  `update_user_phone_number`: Update a User's phone number in an existing Organization

### Patch Changes

- Updated dependencies [[`5f3dd98`](https://github.com/tkhq/sdk/commit/5f3dd9814650308b3bf3198168c453e7b1a98efd), [`7625df0`](https://github.com/tkhq/sdk/commit/7625df0538002c3455bd5862211210e38472e164), [`878e039`](https://github.com/tkhq/sdk/commit/878e03973856cfec83e6e3fda5b76d1b64943628)]:
  - @turnkey/http@3.5.0
  - @turnkey/api-key-stamper@0.4.7
  - @turnkey/crypto@2.4.1
  - @turnkey/wallet-stamper@1.0.5
  - @turnkey/indexed-db-stamper@1.1.1

## 5.2.3

### Patch Changes

- Updated dependencies [[`039602a`](https://github.com/tkhq/sdk/commit/039602a015d20783952b992d1d339f5fc003f658)]:
  - @turnkey/sdk-types@0.2.1

## 5.2.2

### Patch Changes

- Updated dependencies [[`0dd3fc3`](https://github.com/tkhq/sdk/commit/0dd3fc31956992c5b449da5868f6eef8b0bb194c)]:
  - @turnkey/sdk-types@0.2.0

## 5.2.1

### Patch Changes

- Updated dependencies [[`be0a621`](https://github.com/tkhq/sdk/commit/be0a621fb962bd51d2df1a1e79f5260d7c696772)]:
  - @turnkey/http@3.4.2
  - @turnkey/crypto@2.4.0
  - @turnkey/wallet-stamper@1.0.4

## 5.2.0

### Minor Changes

- [#659](https://github.com/tkhq/sdk/pull/659) [`5afbe51`](https://github.com/tkhq/sdk/commit/5afbe51949bdd1997fad083a4c1e4272ff7409dc) Author [@turnekybc](https://github.com/turnekybc) - export types and models from @turnkey/sdk-browser

### Patch Changes

- [#653](https://github.com/tkhq/sdk/pull/653) [`40c4035`](https://github.com/tkhq/sdk/commit/40c40359ec7096d0bca39ffc93e89361b3b11a1a) Thanks [@moe-dev](https://github.com/moe-dev)! - Allow external keys to be passed to resetKeyPair in the indexedDbClient/Stamper enabling refreshing RW sessions

- [#663](https://github.com/tkhq/sdk/pull/663) [`593de2d`](https://github.com/tkhq/sdk/commit/593de2d9404ec8cf53426f9cf832c13eefa3fbf2) Thanks [@moe-dev](https://github.com/moe-dev)! - Update to endpoints as per mono v2025.5.7. Add V5 TON address format generation. Non breaking

- Updated dependencies [[`5afbe51`](https://github.com/tkhq/sdk/commit/5afbe51949bdd1997fad083a4c1e4272ff7409dc), [`40c4035`](https://github.com/tkhq/sdk/commit/40c40359ec7096d0bca39ffc93e89361b3b11a1a), [`10ee5c5`](https://github.com/tkhq/sdk/commit/10ee5c524b477ce998e4fc635152cd101ae5a9cc), [`40c4035`](https://github.com/tkhq/sdk/commit/40c40359ec7096d0bca39ffc93e89361b3b11a1a), [`593de2d`](https://github.com/tkhq/sdk/commit/593de2d9404ec8cf53426f9cf832c13eefa3fbf2)]:
  - @turnkey/wallet-stamper@1.0.4
  - @turnkey/webauthn-stamper@0.5.1
  - @turnkey/encoding@0.5.0
  - @turnkey/crypto@2.4.0
  - @turnkey/indexed-db-stamper@1.1.0
  - @turnkey/http@3.4.1
  - @turnkey/api-key-stamper@0.4.6

## 5.1.0

### Minor Changes

- Update @turnkey/sdk-types readme and install dependency in packages with common types

- [#650](https://github.com/tkhq/sdk/pull/650) [`27fe590`](https://github.com/tkhq/sdk/commit/27fe590cdc3eb6a8cde093eeefda2ee1cdc79412) Author [@turnekybc](https://github.com/turnekybc) - Update @turnkey/sdk-types readme and install dependency in packages with common types

### Patch Changes

- Updated dependencies [[`27fe590`](https://github.com/tkhq/sdk/commit/27fe590cdc3eb6a8cde093eeefda2ee1cdc79412)]:
  - @turnkey/sdk-types@0.1.0

## 5.0.0

### Major Changes

- [#601](https://github.com/tkhq/sdk/pull/601) [`07dfd33`](https://github.com/tkhq/sdk/commit/07dfd3397472687092e1c73b1d68714f421b9ca0) Author [@moe-dev](https://github.com/moe-dev)

This release introduces the new `indexedDbClient`, leveraging the `indexedDbStamper` to securely store cryptographic keys directly in IndexedDB. It provides persistent, secure, non-extractable authentication, replacing legacy iframe-based flows for OTP, passkey, external wallet, and OAuth authentications.

### Key Changes:

- **IndexedDB Client (`indexedDbClient`)**:
  - Offers persistent, tamper-resistant authentication using P-256 keys stored securely in IndexedDB.
  - Eliminates the need for credential injection via iframes, significantly improving the DevEx and UX of session management.
  - Provides human-readable sessions through `getSession()`.

- **Deprecation Notice**:
  - Authentication via the `iframeClient` (e.g., `auth.turnkey.com`) is deprecated. Developers should migrate authentication flows to the new IndexedDB-based client.
  - Existing iframe-based wallet flows (Email Recovery, Import, and Export) remain supported.

These enhancements simplify integrations, improve UX, and deliver a more robust client-side experience.

### Patch Changes

- Updated dependencies [[`07dfd33`](https://github.com/tkhq/sdk/commit/07dfd3397472687092e1c73b1d68714f421b9ca0)]:
  - @turnkey/indexed-db-stamper@1.0.0
  - @turnkey/http@3.4.0
  - @turnkey/crypto@2.3.1
  - @turnkey/wallet-stamper@1.0.3

## 4.3.0

### Minor Changes

- 25ca339: Adding replyToEmailAddress field for specifying reply-to when using a customer sender

### Patch Changes

- Updated dependencies [25ca339]
  - @turnkey/http@3.3.0
  - @turnkey/crypto@2.3.1
  - @turnkey/wallet-stamper@1.0.3

## 4.2.0

### Minor Changes

- 3f6e415: Update per mono v2025.4.5

### Patch Changes

- Updated dependencies [3f6e415]
- Updated dependencies [4d1d775]
  - @turnkey/http@3.2.0
  - @turnkey/api-key-stamper@0.4.5
  - @turnkey/crypto@2.3.1
  - @turnkey/wallet-stamper@1.0.3

## 4.1.0

### Minor Changes

- 3e4a482: Release per mono v2025.4.4

### Patch Changes

- Updated dependencies [3e4a482]
  - @turnkey/http@3.1.0
  - @turnkey/crypto@2.3.1
  - @turnkey/wallet-stamper@1.0.3

## 4.0.0

### Major Changes

- d1083bd: initOtpAuth now defaults to v2 (breaking) which allows alphanumeric boolean and otpLength (6-9) to be passed. More details below.

- This release introduces the `INIT_OTP_AUTH_V2` activity. The difference between it and `INIT_OTP_AUTH` is that it can now accept `alphanumeric` and `otpLength` for selecting crockford bech32 alphanumeric codes and the length of those codes. By default alphanumeric = true, otpLength = 9

- This release introduces `sendFromEmailSenderName` to `INIT_OTP_AUTH`, `INIT_OTP_AUTH_V2`, `EMAIL_AUTH` and `EMAIL_AUTH_V2`. This is an optional custom sender name for use with sendFromEmailAddress; if left empty, will default to 'Notifications'.

### Minor Changes

- e501690: Add new utility functions:
  - Add `clearEmbeddedKey()` async function, which clears the embedded key within an iframe
  - Add `initEmbeddedKey()` async function, which reinitializes the embedded key within an iframe

  These can be used in tandem to reset the embedded key within an iframe. See demo video in this PR's description: https://github.com/tkhq/sdk/pull/571

  Usage may look like the following:

  ```javascript
  import { Turnkey } from "@turnkey/sdk-browser";

  ...

  // create an instance of TurnkeyBrowserSDK
  const turnkeyBrowserSDK = new Turnkey(config);

  // create an instance of TurnkeyIframeClient
  const iframeClient = await turnkeyBrowserSDK.iframeClient({
    iframeContainer: document.getElementById(
      "turnkey-auth-iframe-container-id",
    ),
    iframeUrl: "https://auth.turnkey.com",
    iframeElementId: "turnkey-auth-iframe-element-id",
  });

  ...

  // Clear the existing embedded key
  await iframeClient.clearEmbeddedKey();

  const newPublicKey = await iframeClient.initEmbeddedKey();
  ```

### Patch Changes

- Updated dependencies [e501690]
- Updated dependencies [d1083bd]
- Updated dependencies [f94d36e]
  - @turnkey/iframe-stamper@2.5.0
  - @turnkey/http@3.0.0
  - @turnkey/crypto@2.3.1
  - @turnkey/wallet-stamper@1.0.3

## 3.1.0

### Minor Changes

- bf87774: 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:

  ```javascript
  import { Turnkey } from "@turnkey/sdk-browser";

  // create an instance of TurnkeyBrowserSDK
  const turnkeyBrowserSDK = new Turnkey(config);

  // create an instance of TurnkeyIframeClient
  const iframeClient = await turnkeyBrowserSDK.iframeClient({
    iframeContainer: document.getElementById(
      "turnkey-auth-iframe-container-id",
    ),
    iframeUrl: "https://auth.turnkey.com",
    iframeElementId: "turnkey-auth-iframe-element-id",
  });

  ...

  const publicKey = await iframeClient.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`'s `publicKey()` method.

### Patch Changes

- Updated dependencies [a833088]
  - @turnkey/iframe-stamper@2.4.0

## 3.0.1

### Patch Changes

- 5ec5187: Fix initOtpAuth bug with improper version result (to be updated to V2 following release r2025.3.8)

## 3.0.0

### Major Changes

- 72890f5: ### @turnkey/sdk-browser
  - Move all type definitions to [`./__types__/base.ts`](https://github.com/tkhq/sdk/blob/494911d948d0a53c0d00aa01e9821aefd5e3f80d/packages/sdk-browser/src/__types__/base.ts)
  - `TurnkeyBrowserClient`
    - `refereshSession()` now consumes a [RefreshSessionParams](https://github.com/tkhq/sdk/blob/494911d948d0a53c0d00aa01e9821aefd5e3f80d/packages/sdk-browser/src/__types__/base.ts#L213) parameter
    - `loginWithBundle()` now consumes a [LoginWithBundleParams](https://github.com/tkhq/sdk/blob/494911d948d0a53c0d00aa01e9821aefd5e3f80d/packages/sdk-browser/src/__types__/base.ts#L219) parameter
    - `loginWithPasskey()` now consumes a [LoginWithPasskeyParams](https://github.com/tkhq/sdk/blob/494911d948d0a53c0d00aa01e9821aefd5e3f80d/packages/sdk-browser/src/__types__/base.ts#L224) parameter
    - `loginWithWallet()` now consumes a [LoginWithWalletParams](https://github.com/tkhq/sdk/blob/494911d948d0a53c0d00aa01e9821aefd5e3f80d/packages/sdk-browser/src/__types__/base.ts#L231) parameter

  ### @turnkey/sdk-react
  - `Auth.tsx`
    - updated `passkeyClient?.loginWithPasskey()` to implement new method signature
    - updated `walletClient?.loginWithWallet()` to implement new method signature

  ### @turnkey/sdk-server
  - Move all type definitions to [`./__types__/base.ts`](https://github.com/tkhq/sdk/blob/494911d948d0a53c0d00aa01e9821aefd5e3f80d/packages/sdk-server/src/__types__/base.ts)

### Minor Changes

- ecdb29a: Update API as per mono v2025.3.2 - Add CREATE_USERS_V3

### Patch Changes

- 0e4e959: bump update policy activity to v2
- 856f449: update `TurnkeyBrowserClient.login()` to align with other functions like `loginWithPasskey()` and `loginWithWallet()`
- d4ce5fa: fix unexpected error when using read-only session type when calling loginWithPasskey & loginWithWallet
- Updated dependencies [ecdb29a]
  - @turnkey/http@2.22.0
  - @turnkey/crypto@2.3.1
  - @turnkey/wallet-stamper@1.0.3

## 2.0.0

### Major Changes

- 93540e7: ## Major Package Updates

  ### @turnkey/sdk-browser
  - create abstract `TurnkeyBaseClient` class which extends `TurnkeySDKClientBase`
    - `TurnkeyBrowserClient`, `TurnkeyIframeClient`, `TurnkeyPasskeyClient`, and `TurnkeyWalletClient` all extend `TurnkeyBaseClient`
  - TurnkeyBrowserClient
    - Session Management
      - `refreshSession` - attempts to refresh an existing, active session and will extend the session expiry using the `expirationSeconds` 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
  - 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.

  ### @turnkey/sdk-react
  - update `TurnkeyContext` to use new `.getSession()` method to check if there is an active session
  - `OTPVerification` component no longer receives `authIframeClient` or `onValidateSuccess` props

  ## Minor Package Updates

  ### @turnkey/sdk-server
  - expose `sendCredential` server action
  - add `SessionType` enum
    - `READ_ONLY` & `READ_WRITE`

  ### @turnkey/eip-1193-provider
  - update dependencies in `package.json`
    - moved from `peerDependencies` to `dependencies`
      - `"@turnkey/http": "workspace:*"`
      - `"@turnkey/sdk-browser": "workspace:*"`
    - moved from `devDependencies` to `dependencies`
      - `"@turnkey/api-key-stamper": "workspace:*"`
  - specify TypeScript version ^5.1.5

### Minor Changes

- 9147962: add dangerouslyOverrideIframeKeyTtl option to override iframe embedded key TTL (for longer lived read/write sessions)

### Patch Changes

- Updated dependencies [9147962]
  - @turnkey/iframe-stamper@2.3.0
  - @turnkey/crypto@2.3.1

## 1.16.0

### Minor Changes

- 233ae71: Add updateUserAuth, addUserAuth, deleteUserAuth helper functions

### Patch Changes

- @turnkey/crypto@2.3.1

## 1.15.0

### Minor Changes

- 56a307e: Update api to mono v2025.3.0

### Patch Changes

- Updated dependencies [56a307e]
  - @turnkey/http@2.21.0
  - @turnkey/crypto@2.3.1
  - @turnkey/wallet-stamper@1.0.3

## 1.14.0

### Minor Changes

- 3c44c4a: Updates per mono release v2025.2.2

### Patch Changes

- Updated dependencies [3c44c4a]
  - @turnkey/http@2.20.0
  - @turnkey/crypto@2.3.1
  - @turnkey/wallet-stamper@1.0.3

## 1.13.0

### Minor Changes

- 57f9cb0: Update endpoints - surface GetWalletAccount

### Patch Changes

- 69d2571: Upgrade elliptic
- Updated dependencies [57f9cb0]
  - @turnkey/http@2.19.0
  - @turnkey/crypto@2.3.1
  - @turnkey/wallet-stamper@1.0.3

## 1.12.1

### Patch Changes

- 755833b: refactor stamper out of config object and move it directly onto the client to match @turnkey/http
- Updated dependencies [2bc0046]
  - @turnkey/crypto@2.3.1
  - @turnkey/wallet-stamper@1.0.3

## 1.12.0

### Minor Changes

- 6695af2: Update per mono release v2025.1.11

### Patch Changes

- Updated dependencies [6695af2]
  - @turnkey/http@2.18.0
  - @turnkey/crypto@2.3.0
  - @turnkey/wallet-stamper@1.0.2

## 1.11.2

### Patch Changes

- 053fbfb: Update mono dependencies
- Updated dependencies [053fbfb]
- Updated dependencies [a216a47]
  - @turnkey/http@2.17.3
  - @turnkey/iframe-stamper@2.2.0
  - @turnkey/crypto@2.3.0
  - @turnkey/wallet-stamper@1.0.2

## 1.11.1

### Patch Changes

- 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/api-key-stamper@0.4.4
  - @turnkey/iframe-stamper@2.1.0
  - @turnkey/crypto@2.3.0
  - @turnkey/http@2.17.2
  - @turnkey/wallet-stamper@1.0.2

## 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]
  - @turnkey/wallet-stamper@1.0.2
  - @turnkey/http@2.17.1
  - @turnkey/crypto@2.3.0

## 1.10.2

### Patch Changes

- Updated dependencies [668edfa]
  - @turnkey/crypto@2.3.0
  - @turnkey/wallet-stamper@1.0.1

## 1.10.1

### Patch Changes

- Updated dependencies [78bc39c]
  - @turnkey/http@2.17.0
  - @turnkey/crypto@2.2.0
  - @turnkey/wallet-stamper@1.0.0

## 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

- Updated dependencies [8bea78f]
  - @turnkey/wallet-stamper@2.0.0
  - @turnkey/crypto@2.2.0

## 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

- Updated dependencies [33e8e03]
- Updated dependencies [d989d46]
- Updated dependencies [4df8914]
  - @turnkey/crypto@2.1.0
  - @turnkey/http@2.16.0

## 1.8.0

### Minor Changes

- 9ebd062: Release OTP functionality

### Patch Changes

- Updated dependencies [9ebd062]
  - @turnkey/http@2.15.0

## 1.7.1

### Patch Changes

- 96d7f99: Update dependencies
- Updated dependencies [e5c4fe9]
- Updated dependencies [96d7f99]
  - @turnkey/crypto@2.0.0
  - @turnkey/encoding@0.4.0
  - @turnkey/http@2.14.2
  - @turnkey/api-key-stamper@0.4.3

## 1.7.0

### Minor Changes

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

### Patch Changes

- Updated dependencies [ff059d5]
- Updated dependencies [93666ff]
  - @turnkey/http@2.14.1
  - @turnkey/crypto@1.0.0
  - @turnkey/encoding@0.3.0
  - @turnkey/api-key-stamper@0.4.2

## 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

- Updated dependencies [848f8d3]
  - @turnkey/http@2.14.0

## 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

- Updated dependencies [93dee46]
  - @turnkey/http@2.13.0

## 1.2.4

### Patch Changes

- Updated dependencies [e2f2e0b]
  - @turnkey/http@2.12.3

## 1.2.3

### Patch Changes

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

## 1.2.2

### Patch Changes

- f4b607f: Verify and pad uncompressed public keys while creating passkey sessions

- Updated dependencies
  - @turnkey/api-key-stamper@0.4.1
  - @turnkey/encoding@0.2.1
  - @turnkey/http@2.12.2
  - @turnkey/crypto@0.2.1

## 1.2.1

### Patch Changes

- f17a229: Update to oauth related endpoints to drop jwks uri from oauth providers
- Updated dependencies [f17a229]
  - @turnkey/http@2.12.1

## 1.2.0

### Minor Changes

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

### Patch Changes

- Updated dependencies
  - @turnkey/http@2.12.0

## 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

- Updated dependencies
  - @turnkey/http@2.11.0

## 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

- Updated dependencies
  - @turnkey/crypto@0.2.0

## 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]
  - @turnkey/iframe-stamper@2.0.0

## 0.2.0

### Minor Changes

- updated syntax

### Patch Changes

- Updated dependencies [5d0bfde]
- Updated dependencies [2f2d09a]
- Updated dependencies [976663e]
  - @turnkey/iframe-stamper@2.0.0

## 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.
