@dynamic-labs/embedded-wallet-evm 4.10.0 → 4.10.2
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.10.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.10.1...v4.10.2) (2025-04-02)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add walletTabSelected event ([#8430](https://github.com/dynamic-labs/dynamic-auth/issues/8430)) ([01ef815](https://github.com/dynamic-labs/dynamic-auth/commit/01ef815330e6c5433f7c135f561ed86621cc2bd9))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* disconect wallets on logout ([#8399](https://github.com/dynamic-labs/dynamic-auth/issues/8399)) ([148bc0d](https://github.com/dynamic-labs/dynamic-auth/commit/148bc0dd175048fa8a9a675383e8e6d93c7d16ac))
|
|
13
|
+
* ensure primary wallet is still a valid credential when calling resfreshUser ([#8439](https://github.com/dynamic-labs/dynamic-auth/issues/8439)) ([2e567e5](https://github.com/dynamic-labs/dynamic-auth/commit/2e567e53ea7738d4a42f3d54bb40a294403a1c36))
|
|
14
|
+
* **global-wallet-client:** ensure multiple global wallets can announce in same page ([#8421](https://github.com/dynamic-labs/dynamic-auth/issues/8421)) ([c55044a](https://github.com/dynamic-labs/dynamic-auth/commit/c55044a50f2d1c9417a3a2d85851c5522834a20a))
|
|
15
|
+
* **global-wallet-popup:** ensure popup icon can be viewed ([#8424](https://github.com/dynamic-labs/dynamic-auth/issues/8424)) ([f960eeb](https://github.com/dynamic-labs/dynamic-auth/commit/f960eebcdd875e1ff1779cd7be946d8342bea964))
|
|
16
|
+
|
|
17
|
+
### [4.10.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.10.0...v4.10.1) (2025-03-31)
|
|
18
|
+
|
|
2
19
|
## [4.10.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.9.12...v4.10.0) (2025-03-30)
|
|
3
20
|
|
|
4
21
|
|
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.10.
|
|
3
|
+
"version": "4.10.2",
|
|
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.10.
|
|
27
|
-
"@dynamic-labs/embedded-wallet": "4.10.
|
|
28
|
-
"@dynamic-labs/ethereum-core": "4.10.
|
|
29
|
-
"@dynamic-labs/types": "4.10.
|
|
30
|
-
"@dynamic-labs/utils": "4.10.
|
|
31
|
-
"@dynamic-labs/wallet-book": "4.10.
|
|
32
|
-
"@dynamic-labs/wallet-connector-core": "4.10.
|
|
33
|
-
"@dynamic-labs/webauthn": "4.10.
|
|
26
|
+
"@dynamic-labs/assert-package-version": "4.10.2",
|
|
27
|
+
"@dynamic-labs/embedded-wallet": "4.10.2",
|
|
28
|
+
"@dynamic-labs/ethereum-core": "4.10.2",
|
|
29
|
+
"@dynamic-labs/types": "4.10.2",
|
|
30
|
+
"@dynamic-labs/utils": "4.10.2",
|
|
31
|
+
"@dynamic-labs/wallet-book": "4.10.2",
|
|
32
|
+
"@dynamic-labs/wallet-connector-core": "4.10.2",
|
|
33
|
+
"@dynamic-labs/webauthn": "4.10.2"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"viem": "^2.21.55"
|
|
@@ -47,6 +47,10 @@ class TurnkeyEVMWalletConnector extends embeddedWallet.TurnkeyWalletConnectorBas
|
|
|
47
47
|
}
|
|
48
48
|
getLastUsedChainId() {
|
|
49
49
|
var _a;
|
|
50
|
+
embeddedWallet.logger.logVerboseTroubleshootingMessage('[TurnkeyEVMWalletConnector] getLastUsedChainId', {
|
|
51
|
+
evmNetworks: this.evmNetworks,
|
|
52
|
+
lastUsedChainId: this.lastUsedChainId,
|
|
53
|
+
});
|
|
50
54
|
if (this.lastUsedChainId) {
|
|
51
55
|
return this.lastUsedChainId;
|
|
52
56
|
}
|
|
@@ -278,6 +282,10 @@ class TurnkeyEVMWalletConnector extends embeddedWallet.TurnkeyWalletConnectorBas
|
|
|
278
282
|
}
|
|
279
283
|
get currentEvmNetwork() {
|
|
280
284
|
const chainId = this.currentChainId;
|
|
285
|
+
embeddedWallet.logger.logVerboseTroubleshootingMessage('[TurnkeyEVMWalletConnector] currentEvmNetwork', {
|
|
286
|
+
chainId,
|
|
287
|
+
evmNetworks: this.evmNetworks,
|
|
288
|
+
});
|
|
281
289
|
return this.evmNetworks.find((network) => network.chainId === chainId);
|
|
282
290
|
}
|
|
283
291
|
internalSign(_a) {
|
|
@@ -43,6 +43,10 @@ class TurnkeyEVMWalletConnector extends TurnkeyWalletConnectorBase {
|
|
|
43
43
|
}
|
|
44
44
|
getLastUsedChainId() {
|
|
45
45
|
var _a;
|
|
46
|
+
logger.logVerboseTroubleshootingMessage('[TurnkeyEVMWalletConnector] getLastUsedChainId', {
|
|
47
|
+
evmNetworks: this.evmNetworks,
|
|
48
|
+
lastUsedChainId: this.lastUsedChainId,
|
|
49
|
+
});
|
|
46
50
|
if (this.lastUsedChainId) {
|
|
47
51
|
return this.lastUsedChainId;
|
|
48
52
|
}
|
|
@@ -274,6 +278,10 @@ class TurnkeyEVMWalletConnector extends TurnkeyWalletConnectorBase {
|
|
|
274
278
|
}
|
|
275
279
|
get currentEvmNetwork() {
|
|
276
280
|
const chainId = this.currentChainId;
|
|
281
|
+
logger.logVerboseTroubleshootingMessage('[TurnkeyEVMWalletConnector] currentEvmNetwork', {
|
|
282
|
+
chainId,
|
|
283
|
+
evmNetworks: this.evmNetworks,
|
|
284
|
+
});
|
|
277
285
|
return this.evmNetworks.find((network) => network.chainId === chainId);
|
|
278
286
|
}
|
|
279
287
|
internalSign(_a) {
|