@dynamic-labs/waas-evm 4.19.4 → 4.19.6
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 +20 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +9 -9
- package/src/DynamicWaasEVMConnector.cjs +9 -0
- package/src/DynamicWaasEVMConnector.d.ts +1 -0
- package/src/DynamicWaasEVMConnector.js +9 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,24 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.19.6](https://github.com/dynamic-labs/dynamic-auth/compare/v4.19.5...v4.19.6) (2025-06-04)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* backup unsuccessful popup when create wallet fails ([#8872](https://github.com/dynamic-labs/dynamic-auth/issues/8872)) ([c8f88f2](https://github.com/dynamic-labs/dynamic-auth/commit/c8f88f2cafdb7856764305764a230e159f09dadf))
|
|
8
|
+
* **global-wallet:** new native api method to return the eoa wallet for a connected smart wallet ([#8864](https://github.com/dynamic-labs/dynamic-auth/issues/8864)) ([5d0e200](https://github.com/dynamic-labs/dynamic-auth/commit/5d0e2002caefb658f6120b102abe145d6caafaf4))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* dont call select endpoint when signing in with 7702 wallet ([#8854](https://github.com/dynamic-labs/dynamic-auth/issues/8854)) ([9828a8f](https://github.com/dynamic-labs/dynamic-auth/commit/9828a8fb758b07dd4dc51cb9eadee483b884defe))
|
|
14
|
+
|
|
15
|
+
### [4.19.5](https://github.com/dynamic-labs/dynamic-auth/compare/v4.19.4...v4.19.5) (2025-06-02)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* add cleanup for waas connectors ([#8849](https://github.com/dynamic-labs/dynamic-auth/issues/8849)) ([5899169](https://github.com/dynamic-labs/dynamic-auth/commit/5899169abaf7ce86add2b1393cfd9b967da5e388))
|
|
21
|
+
|
|
2
22
|
### [4.19.4](https://github.com/dynamic-labs/dynamic-auth/compare/v4.19.3...v4.19.4) (2025-05-31)
|
|
3
23
|
|
|
4
24
|
### [4.19.3](https://github.com/dynamic-labs/dynamic-auth/compare/v4.19.2...v4.19.3) (2025-05-28)
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/waas-evm",
|
|
3
|
-
"version": "4.19.
|
|
3
|
+
"version": "4.19.6",
|
|
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",
|
|
@@ -18,15 +18,15 @@
|
|
|
18
18
|
},
|
|
19
19
|
"homepage": "https://www.dynamic.xyz/",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@dynamic-labs-wallet/browser-wallet-client": "0.0.
|
|
22
|
-
"@dynamic-labs/sdk-api-core": "0.0.
|
|
21
|
+
"@dynamic-labs-wallet/browser-wallet-client": "0.0.84",
|
|
22
|
+
"@dynamic-labs/sdk-api-core": "0.0.681",
|
|
23
23
|
"viem": "^2.28.4",
|
|
24
|
-
"@dynamic-labs/assert-package-version": "4.19.
|
|
25
|
-
"@dynamic-labs/ethereum-core": "4.19.
|
|
26
|
-
"@dynamic-labs/logger": "4.19.
|
|
27
|
-
"@dynamic-labs/types": "4.19.
|
|
28
|
-
"@dynamic-labs/utils": "4.19.
|
|
29
|
-
"@dynamic-labs/wallet-connector-core": "4.19.
|
|
24
|
+
"@dynamic-labs/assert-package-version": "4.19.6",
|
|
25
|
+
"@dynamic-labs/ethereum-core": "4.19.6",
|
|
26
|
+
"@dynamic-labs/logger": "4.19.6",
|
|
27
|
+
"@dynamic-labs/types": "4.19.6",
|
|
28
|
+
"@dynamic-labs/utils": "4.19.6",
|
|
29
|
+
"@dynamic-labs/wallet-connector-core": "4.19.6"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {}
|
|
32
32
|
}
|
|
@@ -424,6 +424,15 @@ class DynamicWaasEVMConnector extends ethereumCore.EthereumWalletConnector {
|
|
|
424
424
|
isSignAuthorizationSupported() {
|
|
425
425
|
return true;
|
|
426
426
|
}
|
|
427
|
+
endSession() {
|
|
428
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
429
|
+
const waasEvmClient = this.getWaasWalletClient();
|
|
430
|
+
if (!waasEvmClient) {
|
|
431
|
+
return;
|
|
432
|
+
}
|
|
433
|
+
yield waasEvmClient.cleanup();
|
|
434
|
+
});
|
|
435
|
+
}
|
|
427
436
|
}
|
|
428
437
|
DynamicWaasEVMConnector.lastUsedChainIdStorageKey = 'dynamic-waas-evm-last-used-chain-id';
|
|
429
438
|
|
|
@@ -89,5 +89,6 @@ export declare class DynamicWaasEVMConnector extends EthereumWalletConnector imp
|
|
|
89
89
|
isAtomicSupported(chainId?: number): Promise<boolean>;
|
|
90
90
|
isPaymasterServiceSupported(chainId?: number): Promise<boolean>;
|
|
91
91
|
isSignAuthorizationSupported(): boolean;
|
|
92
|
+
endSession(): Promise<void>;
|
|
92
93
|
}
|
|
93
94
|
export {};
|
|
@@ -420,6 +420,15 @@ class DynamicWaasEVMConnector extends EthereumWalletConnector {
|
|
|
420
420
|
isSignAuthorizationSupported() {
|
|
421
421
|
return true;
|
|
422
422
|
}
|
|
423
|
+
endSession() {
|
|
424
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
425
|
+
const waasEvmClient = this.getWaasWalletClient();
|
|
426
|
+
if (!waasEvmClient) {
|
|
427
|
+
return;
|
|
428
|
+
}
|
|
429
|
+
yield waasEvmClient.cleanup();
|
|
430
|
+
});
|
|
431
|
+
}
|
|
423
432
|
}
|
|
424
433
|
DynamicWaasEVMConnector.lastUsedChainIdStorageKey = 'dynamic-waas-evm-last-used-chain-id';
|
|
425
434
|
|