@dynamic-labs/embedded-wallet-evm 4.91.3 → 4.91.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,4 +1,21 @@
1
1
 
2
+ ### [4.91.5](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.4...v4.91.5) (2026-07-02)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * revoke WaaS signed-session callback on client rebuild to stop iOS nonce race ([#11766](https://github.com/dynamic-labs/dynamic-auth/issues/11766)) ([c895b5d](https://github.com/dynamic-labs/dynamic-auth/commit/c895b5d0987d62a9f5597741dbeae0ec7fedfe5b))
8
+ * **sdk-react-core:** allow sendOneTimeCode to target non-primary chain wallets ([#11777](https://github.com/dynamic-labs/dynamic-auth/issues/11777)) ([63f82af](https://github.com/dynamic-labs/dynamic-auth/commit/63f82af7c52be595bc2948ec88ee9c919ac9275a))
9
+ * **webview-controller:** resolve post-login wallet race in Viem and ZeroDev controllers ([#11774](https://github.com/dynamic-labs/dynamic-auth/issues/11774)) ([95ed26e](https://github.com/dynamic-labs/dynamic-auth/commit/95ed26eee09d9aff5a5af6517ab7e1360ef5f337))
10
+
11
+ ### [4.91.4](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.3...v4.91.4) (2026-07-01)
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * conditionally use /op/ route for AA transactions based on block explorer support ([#11628](https://github.com/dynamic-labs/dynamic-auth/issues/11628)) ([95822dc](https://github.com/dynamic-labs/dynamic-auth/commit/95822dc0edbcd739afe870f0b3881555fdb17eb6))
17
+ * require error codes in all SDK error classes ([#11761](https://github.com/dynamic-labs/dynamic-auth/issues/11761)) ([5744811](https://github.com/dynamic-labs/dynamic-auth/commit/5744811efdd1e415aaf51eec5b3300b323ec1347))
18
+
2
19
  ### [4.91.3](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.2...v4.91.3) (2026-06-30)
3
20
 
4
21
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.91.3";
6
+ var version = "4.91.5";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.91.3";
2
+ var version = "4.91.5";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/embedded-wallet-evm",
3
- "version": "4.91.3",
3
+ "version": "4.91.5",
4
4
  "description": "A React SDK for implementing wallet web3 authentication and authorization to your website.",
5
5
  "author": "Dynamic Labs, Inc.",
6
6
  "license": "MIT",
@@ -23,14 +23,14 @@
23
23
  "@turnkey/iframe-stamper": "2.5.0",
24
24
  "@turnkey/viem": "0.13.0",
25
25
  "@turnkey/webauthn-stamper": "0.5.1",
26
- "@dynamic-labs/assert-package-version": "4.91.3",
27
- "@dynamic-labs/embedded-wallet": "4.91.3",
28
- "@dynamic-labs/ethereum-core": "4.91.3",
29
- "@dynamic-labs/types": "4.91.3",
30
- "@dynamic-labs/utils": "4.91.3",
31
- "@dynamic-labs/wallet-book": "4.91.3",
32
- "@dynamic-labs/wallet-connector-core": "4.91.3",
33
- "@dynamic-labs/webauthn": "4.91.3"
26
+ "@dynamic-labs/assert-package-version": "4.91.5",
27
+ "@dynamic-labs/embedded-wallet": "4.91.5",
28
+ "@dynamic-labs/ethereum-core": "4.91.5",
29
+ "@dynamic-labs/types": "4.91.5",
30
+ "@dynamic-labs/utils": "4.91.5",
31
+ "@dynamic-labs/wallet-book": "4.91.5",
32
+ "@dynamic-labs/wallet-connector-core": "4.91.5",
33
+ "@dynamic-labs/webauthn": "4.91.5"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "viem": "^2.45.3"
@@ -105,7 +105,7 @@ class TurnkeyEVMWalletConnector extends embeddedWallet.TurnkeyWalletConnectorBas
105
105
  if (!isWalletActive) {
106
106
  const targetActiveAccount = (_b = this.verifiedCredentials) === null || _b === void 0 ? void 0 : _b.find((vc) => (vc === null || vc === void 0 ? void 0 : vc.address) === expectedAddress);
107
107
  if (!targetActiveAccount) {
108
- throw new utils.DynamicError('Account not found');
108
+ throw new utils.DynamicError('Account not found', 'account_not_found');
109
109
  }
110
110
  this.verifiedCredential = targetActiveAccount;
111
111
  this.refreshTurnkeyAccount();
@@ -454,7 +454,7 @@ class TurnkeyEVMWalletConnector extends embeddedWallet.TurnkeyWalletConnectorBas
454
454
  const walletClient = this.getWalletClient();
455
455
  const publicClient = yield this.getPublicClient();
456
456
  if (!publicClient || !walletClient) {
457
- throw new utils.DynamicError('No public client available');
457
+ throw new utils.DynamicError('No public client available', 'no_public_client_available');
458
458
  }
459
459
  return ethereumCore.createViemUiTransaction({ from, publicClient, walletClient });
460
460
  });
@@ -101,7 +101,7 @@ class TurnkeyEVMWalletConnector extends TurnkeyWalletConnectorBase {
101
101
  if (!isWalletActive) {
102
102
  const targetActiveAccount = (_b = this.verifiedCredentials) === null || _b === void 0 ? void 0 : _b.find((vc) => (vc === null || vc === void 0 ? void 0 : vc.address) === expectedAddress);
103
103
  if (!targetActiveAccount) {
104
- throw new DynamicError('Account not found');
104
+ throw new DynamicError('Account not found', 'account_not_found');
105
105
  }
106
106
  this.verifiedCredential = targetActiveAccount;
107
107
  this.refreshTurnkeyAccount();
@@ -450,7 +450,7 @@ class TurnkeyEVMWalletConnector extends TurnkeyWalletConnectorBase {
450
450
  const walletClient = this.getWalletClient();
451
451
  const publicClient = yield this.getPublicClient();
452
452
  if (!publicClient || !walletClient) {
453
- throw new DynamicError('No public client available');
453
+ throw new DynamicError('No public client available', 'no_public_client_available');
454
454
  }
455
455
  return createViemUiTransaction({ from, publicClient, walletClient });
456
456
  });