@dynamic-labs/embedded-wallet-evm 3.9.7 → 3.9.9

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,26 @@
1
1
 
2
+ ### [3.9.9](https://github.com/dynamic-labs/DynamicAuth/compare/v3.9.8...v3.9.9) (2025-01-15)
3
+
4
+
5
+ ### Features
6
+
7
+ * add hook for upgrading embedded wallets ([#7785](https://github.com/dynamic-labs/DynamicAuth/issues/7785)) ([5dcf776](https://github.com/dynamic-labs/DynamicAuth/commit/5dcf7769d5bd1c98d4e35427e0a0b34f52b530f6))
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * getWalletClient method not returning client with chain for Coinbase ([#7799](https://github.com/dynamic-labs/DynamicAuth/issues/7799)) ([#7800](https://github.com/dynamic-labs/DynamicAuth/issues/7800)) ([4f77045](https://github.com/dynamic-labs/DynamicAuth/commit/4f770456eb986ca16e17c4445b277f9d447b05e4))
13
+ * handle session key expire error code ([#7807](https://github.com/dynamic-labs/DynamicAuth/issues/7807)) ([1700b53](https://github.com/dynamic-labs/DynamicAuth/commit/1700b53496fd6577a6240af3c16ade8bdd8666a1))
14
+
15
+ ### [3.9.8](https://github.com/dynamic-labs/DynamicAuth/compare/v3.9.7...v3.9.8) (2025-01-09)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * allow confirmed commitment transactions for solana ([#7735](https://github.com/dynamic-labs/DynamicAuth/issues/7735)) ([7a43b79](https://github.com/dynamic-labs/DynamicAuth/commit/7a43b792ba615e277573b5540801a8b3e0c68155))
21
+ * allow selecting wallet directly without showing group view if wallet key is the same as group key ([#7748](https://github.com/dynamic-labs/DynamicAuth/issues/7748)) ([b335cbd](https://github.com/dynamic-labs/DynamicAuth/commit/b335cbdafc22d757c84995bd276c55681e6b2de5))
22
+ * make transaction destination parsing for regular EVM transactions ([#7719](https://github.com/dynamic-labs/DynamicAuth/issues/7719)) ([890bc0f](https://github.com/dynamic-labs/DynamicAuth/commit/890bc0f32a79fe3670d9dc4474b34c85854c0e70))
23
+
2
24
  ### [3.9.7](https://github.com/dynamic-labs/DynamicAuth/compare/v3.9.6...v3.9.7) (2025-01-02)
3
25
 
4
26
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "3.9.7";
6
+ var version = "3.9.9";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "3.9.7";
2
+ var version = "3.9.9";
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": "3.9.7",
3
+ "version": "3.9.9",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/dynamic-labs/dynamic-auth.git",
@@ -26,20 +26,20 @@
26
26
  "./package.json": "./package.json"
27
27
  },
28
28
  "dependencies": {
29
- "@dynamic-labs/sdk-api-core": "0.0.570",
29
+ "@dynamic-labs/sdk-api-core": "0.0.586",
30
30
  "@turnkey/api-key-stamper": "0.4.1",
31
31
  "@turnkey/http": "2.12.2",
32
32
  "@turnkey/iframe-stamper": "2.0.0",
33
33
  "@turnkey/viem": "0.4.26",
34
34
  "@turnkey/webauthn-stamper": "0.5.0",
35
- "@dynamic-labs/assert-package-version": "3.9.7",
36
- "@dynamic-labs/embedded-wallet": "3.9.7",
37
- "@dynamic-labs/ethereum-core": "3.9.7",
38
- "@dynamic-labs/types": "3.9.7",
39
- "@dynamic-labs/utils": "3.9.7",
40
- "@dynamic-labs/wallet-book": "3.9.7",
41
- "@dynamic-labs/wallet-connector-core": "3.9.7",
42
- "@dynamic-labs/webauthn": "3.9.7"
35
+ "@dynamic-labs/assert-package-version": "3.9.9",
36
+ "@dynamic-labs/embedded-wallet": "3.9.9",
37
+ "@dynamic-labs/ethereum-core": "3.9.9",
38
+ "@dynamic-labs/types": "3.9.9",
39
+ "@dynamic-labs/utils": "3.9.9",
40
+ "@dynamic-labs/wallet-book": "3.9.9",
41
+ "@dynamic-labs/wallet-connector-core": "3.9.9",
42
+ "@dynamic-labs/webauthn": "3.9.9"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "viem": "^2.7.12"
@@ -310,7 +310,9 @@ class TurnkeyEVMWalletConnector extends embeddedWallet.TurnkeyWalletConnectorBas
310
310
  return yield action(newTurnkeyAccountRaw);
311
311
  }
312
312
  catch (err) {
313
- if (embeddedWallet.TURNKEY_SDK_SESSION_KEY_RETRYABLE_ERRORS.some((errorMsg) => err.message.includes(errorMsg))) {
313
+ if (embeddedWallet.TURNKEY_SDK_SESSION_KEY_RETRYABLE_ERRORS.some((errorMsg) => err.message
314
+ .toLowerCase()
315
+ .includes(errorMsg.toLowerCase()))) {
314
316
  yield this.removeSessionKeys();
315
317
  yield this.createOrRestoreSession({
316
318
  ignoreRestore: true,
@@ -306,7 +306,9 @@ class TurnkeyEVMWalletConnector extends TurnkeyWalletConnectorBase {
306
306
  return yield action(newTurnkeyAccountRaw);
307
307
  }
308
308
  catch (err) {
309
- if (TURNKEY_SDK_SESSION_KEY_RETRYABLE_ERRORS.some((errorMsg) => err.message.includes(errorMsg))) {
309
+ if (TURNKEY_SDK_SESSION_KEY_RETRYABLE_ERRORS.some((errorMsg) => err.message
310
+ .toLowerCase()
311
+ .includes(errorMsg.toLowerCase()))) {
310
312
  yield this.removeSessionKeys();
311
313
  yield this.createOrRestoreSession({
312
314
  ignoreRestore: true,