@dynamic-labs/embedded-wallet-evm 4.2.1 → 4.2.3
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,18 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.2.3](https://github.com/dynamic-labs/dynamic-auth/compare/v4.2.2...v4.2.3) (2025-01-16)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* properly raise userUpdated event when updating email and phone ([#7817](https://github.com/dynamic-labs/dynamic-auth/issues/7817)) ([f129aa1](https://github.com/dynamic-labs/dynamic-auth/commit/f129aa1cd0360394ea3b500a829e378bdf5b7c64))
|
|
8
|
+
|
|
9
|
+
### [4.2.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.2.1...v4.2.2) (2025-01-15)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* handle session key expire error code ([#7806](https://github.com/dynamic-labs/dynamic-auth/issues/7806)) ([2e33bbc](https://github.com/dynamic-labs/dynamic-auth/commit/2e33bbcd5ea5af6e32fda4985d5723a9af36eef6))
|
|
15
|
+
|
|
2
16
|
### [4.2.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.2.0...v4.2.1) (2025-01-15)
|
|
3
17
|
|
|
4
18
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/embedded-wallet-evm",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.3",
|
|
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.0.0",
|
|
24
24
|
"@turnkey/viem": "0.6.2",
|
|
25
25
|
"@turnkey/webauthn-stamper": "0.5.0",
|
|
26
|
-
"@dynamic-labs/assert-package-version": "4.2.
|
|
27
|
-
"@dynamic-labs/embedded-wallet": "4.2.
|
|
28
|
-
"@dynamic-labs/ethereum-core": "4.2.
|
|
29
|
-
"@dynamic-labs/types": "4.2.
|
|
30
|
-
"@dynamic-labs/utils": "4.2.
|
|
31
|
-
"@dynamic-labs/wallet-book": "4.2.
|
|
32
|
-
"@dynamic-labs/wallet-connector-core": "4.2.
|
|
33
|
-
"@dynamic-labs/webauthn": "4.2.
|
|
26
|
+
"@dynamic-labs/assert-package-version": "4.2.3",
|
|
27
|
+
"@dynamic-labs/embedded-wallet": "4.2.3",
|
|
28
|
+
"@dynamic-labs/ethereum-core": "4.2.3",
|
|
29
|
+
"@dynamic-labs/types": "4.2.3",
|
|
30
|
+
"@dynamic-labs/utils": "4.2.3",
|
|
31
|
+
"@dynamic-labs/wallet-book": "4.2.3",
|
|
32
|
+
"@dynamic-labs/wallet-connector-core": "4.2.3",
|
|
33
|
+
"@dynamic-labs/webauthn": "4.2.3"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"viem": "^2.21.55"
|
|
@@ -277,7 +277,9 @@ class TurnkeyEVMWalletConnector extends embeddedWallet.TurnkeyWalletConnectorBas
|
|
|
277
277
|
return yield action(newTurnkeyAccountRaw);
|
|
278
278
|
}
|
|
279
279
|
catch (err) {
|
|
280
|
-
if (embeddedWallet.TURNKEY_SDK_SESSION_KEY_RETRYABLE_ERRORS.some((errorMsg) => err.message
|
|
280
|
+
if (embeddedWallet.TURNKEY_SDK_SESSION_KEY_RETRYABLE_ERRORS.some((errorMsg) => err.message
|
|
281
|
+
.toLowerCase()
|
|
282
|
+
.includes(errorMsg.toLowerCase()))) {
|
|
281
283
|
yield this.removeSessionKeys();
|
|
282
284
|
yield this.createOrRestoreSession({
|
|
283
285
|
ignoreRestore: true,
|
|
@@ -273,7 +273,9 @@ class TurnkeyEVMWalletConnector extends TurnkeyWalletConnectorBase {
|
|
|
273
273
|
return yield action(newTurnkeyAccountRaw);
|
|
274
274
|
}
|
|
275
275
|
catch (err) {
|
|
276
|
-
if (TURNKEY_SDK_SESSION_KEY_RETRYABLE_ERRORS.some((errorMsg) => err.message
|
|
276
|
+
if (TURNKEY_SDK_SESSION_KEY_RETRYABLE_ERRORS.some((errorMsg) => err.message
|
|
277
|
+
.toLowerCase()
|
|
278
|
+
.includes(errorMsg.toLowerCase()))) {
|
|
277
279
|
yield this.removeSessionKeys();
|
|
278
280
|
yield this.createOrRestoreSession({
|
|
279
281
|
ignoreRestore: true,
|