@dynamic-labs/ethereum 4.25.8-alpha.0 → 4.25.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 +15 -2
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +11 -11
- package/src/metaMask/MetaMaskConnector.cjs +4 -12
- package/src/metaMask/MetaMaskConnector.js +4 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,23 @@
|
|
|
1
1
|
|
|
2
|
-
### [4.25.
|
|
2
|
+
### [4.25.9](https://github.com/dynamic-labs/dynamic-auth/compare/v4.25.8...v4.25.9) (2025-08-01)
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
### Bug Fixes
|
|
6
6
|
|
|
7
|
-
*
|
|
7
|
+
* use zerodev rpc for zerodev calls ([#9280](https://github.com/dynamic-labs/dynamic-auth/issues/9280)) ([87d52f3](https://github.com/dynamic-labs/dynamic-auth/commit/87d52f30de968919d675b0fada15a372b1533b76))
|
|
8
|
+
|
|
9
|
+
### [4.25.8](https://github.com/dynamic-labs/dynamic-auth/compare/v4.25.7...v4.25.8) (2025-07-31)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* add link_wallet_message copykey ([#9266](https://github.com/dynamic-labs/dynamic-auth/issues/9266)) ([a465300](https://github.com/dynamic-labs/dynamic-auth/commit/a46530050db5faf6d05dd12723421d33780da034))
|
|
15
|
+
* implement onSignedMessage event trigger for wallet transfer flows ([#9251](https://github.com/dynamic-labs/dynamic-auth/issues/9251)) ([554cd6c](https://github.com/dynamic-labs/dynamic-auth/commit/554cd6c4cb34db5f0096d1de30877c6a6c4dcbee))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* improve session key handling ([#9249](https://github.com/dynamic-labs/dynamic-auth/issues/9249)) ([fba683a](https://github.com/dynamic-labs/dynamic-auth/commit/fba683abc57bc1ad9bdb6fb2e26b195f616d63cc))
|
|
8
21
|
|
|
9
22
|
### [4.25.7](https://github.com/dynamic-labs/dynamic-auth/compare/v4.25.6...v4.25.7) (2025-07-28)
|
|
10
23
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/ethereum",
|
|
3
|
-
"version": "4.25.
|
|
3
|
+
"version": "4.25.9",
|
|
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,16 +23,16 @@
|
|
|
23
23
|
"eventemitter3": "5.0.1",
|
|
24
24
|
"buffer": "6.0.3",
|
|
25
25
|
"@metamask/sdk": "0.33.0",
|
|
26
|
-
"@dynamic-labs/assert-package-version": "4.25.
|
|
27
|
-
"@dynamic-labs/embedded-wallet-evm": "4.25.
|
|
28
|
-
"@dynamic-labs/ethereum-core": "4.25.
|
|
29
|
-
"@dynamic-labs/logger": "4.25.
|
|
30
|
-
"@dynamic-labs/rpc-providers": "4.25.
|
|
31
|
-
"@dynamic-labs/types": "4.25.
|
|
32
|
-
"@dynamic-labs/utils": "4.25.
|
|
33
|
-
"@dynamic-labs/waas-evm": "4.25.
|
|
34
|
-
"@dynamic-labs/wallet-book": "4.25.
|
|
35
|
-
"@dynamic-labs/wallet-connector-core": "4.25.
|
|
26
|
+
"@dynamic-labs/assert-package-version": "4.25.9",
|
|
27
|
+
"@dynamic-labs/embedded-wallet-evm": "4.25.9",
|
|
28
|
+
"@dynamic-labs/ethereum-core": "4.25.9",
|
|
29
|
+
"@dynamic-labs/logger": "4.25.9",
|
|
30
|
+
"@dynamic-labs/rpc-providers": "4.25.9",
|
|
31
|
+
"@dynamic-labs/types": "4.25.9",
|
|
32
|
+
"@dynamic-labs/utils": "4.25.9",
|
|
33
|
+
"@dynamic-labs/waas-evm": "4.25.9",
|
|
34
|
+
"@dynamic-labs/wallet-book": "4.25.9",
|
|
35
|
+
"@dynamic-labs/wallet-connector-core": "4.25.9"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"viem": "^2.28.4"
|
|
@@ -414,25 +414,17 @@ class MetaMaskConnector extends InjectedWalletBase.InjectedWalletBase {
|
|
|
414
414
|
}
|
|
415
415
|
shouldDeepLinkToMetaMaskInAppBrowser() {
|
|
416
416
|
// Not in an in-app browser
|
|
417
|
-
if (this.isInAppBrowser)
|
|
417
|
+
if (this.isInAppBrowser)
|
|
418
418
|
return false;
|
|
419
|
-
}
|
|
420
419
|
// Not a mobile device
|
|
421
|
-
if (!utils.isMobile())
|
|
420
|
+
if (!utils.isMobile())
|
|
422
421
|
return false;
|
|
423
|
-
}
|
|
424
422
|
// SDK is configured to use the in-app browser
|
|
425
|
-
if (this.mobileExperience !== 'in-app-browser')
|
|
423
|
+
if (this.mobileExperience !== 'in-app-browser')
|
|
426
424
|
return false;
|
|
427
|
-
}
|
|
428
425
|
// Wallet does not have an in-app browser link
|
|
429
|
-
if (!this.metadata.inAppBrowserUrl)
|
|
426
|
+
if (!this.metadata.inAppBrowserUrl)
|
|
430
427
|
return false;
|
|
431
|
-
}
|
|
432
|
-
// We don't want to deep link to the in-app browser when already in the in-app browser
|
|
433
|
-
if (navigator.userAgent.match(/metamaskmobile/i)) {
|
|
434
|
-
return false;
|
|
435
|
-
}
|
|
436
428
|
return true;
|
|
437
429
|
}
|
|
438
430
|
getConnectionUri() {
|
|
@@ -410,25 +410,17 @@ class MetaMaskConnector extends InjectedWalletBase {
|
|
|
410
410
|
}
|
|
411
411
|
shouldDeepLinkToMetaMaskInAppBrowser() {
|
|
412
412
|
// Not in an in-app browser
|
|
413
|
-
if (this.isInAppBrowser)
|
|
413
|
+
if (this.isInAppBrowser)
|
|
414
414
|
return false;
|
|
415
|
-
}
|
|
416
415
|
// Not a mobile device
|
|
417
|
-
if (!isMobile())
|
|
416
|
+
if (!isMobile())
|
|
418
417
|
return false;
|
|
419
|
-
}
|
|
420
418
|
// SDK is configured to use the in-app browser
|
|
421
|
-
if (this.mobileExperience !== 'in-app-browser')
|
|
419
|
+
if (this.mobileExperience !== 'in-app-browser')
|
|
422
420
|
return false;
|
|
423
|
-
}
|
|
424
421
|
// Wallet does not have an in-app browser link
|
|
425
|
-
if (!this.metadata.inAppBrowserUrl)
|
|
422
|
+
if (!this.metadata.inAppBrowserUrl)
|
|
426
423
|
return false;
|
|
427
|
-
}
|
|
428
|
-
// We don't want to deep link to the in-app browser when already in the in-app browser
|
|
429
|
-
if (navigator.userAgent.match(/metamaskmobile/i)) {
|
|
430
|
-
return false;
|
|
431
|
-
}
|
|
432
424
|
return true;
|
|
433
425
|
}
|
|
434
426
|
getConnectionUri() {
|