@dynamic-labs/waas-evm 4.87.0 → 4.87.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 +11 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +9 -9
- package/src/DynamicWaasEVMConnector.cjs +6 -2
- package/src/DynamicWaasEVMConnector.d.ts +4 -2
- package/src/DynamicWaasEVMConnector.js +6 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.87.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.87.1...v4.87.2) (2026-06-03)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* allow for using v2 zerodev projects ([#11449](https://github.com/dynamic-labs/dynamic-auth/issues/11449)) ([9242698](https://github.com/dynamic-labs/dynamic-auth/commit/9242698670db92b03ad1afc776e674ec9a7e7e54))
|
|
8
|
+
* e2e: ensure MFA item is detached before logout ([#11452](https://github.com/dynamic-labs/dynamic-auth/issues/11452)) ([5a4c67e](https://github.com/dynamic-labs/dynamic-auth/commit/5a4c67e93b66a548346c1065fb373c675f0054a0))
|
|
9
|
+
|
|
10
|
+
### [4.87.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.87.0...v4.87.1) (2026-06-03)
|
|
11
|
+
|
|
12
|
+
|
|
2
13
|
## [4.87.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.86.0...v4.87.0) (2026-06-02)
|
|
3
14
|
|
|
4
15
|
|
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.87.
|
|
3
|
+
"version": "4.87.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",
|
|
@@ -18,15 +18,15 @@
|
|
|
18
18
|
},
|
|
19
19
|
"homepage": "https://www.dynamic.xyz/",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@dynamic-labs/sdk-api-core": "0.0.
|
|
21
|
+
"@dynamic-labs/sdk-api-core": "0.0.1015",
|
|
22
22
|
"viem": "^2.45.3",
|
|
23
|
-
"@dynamic-labs/assert-package-version": "4.87.
|
|
24
|
-
"@dynamic-labs/ethereum-core": "4.87.
|
|
25
|
-
"@dynamic-labs/logger": "4.87.
|
|
26
|
-
"@dynamic-labs/types": "4.87.
|
|
27
|
-
"@dynamic-labs/utils": "4.87.
|
|
28
|
-
"@dynamic-labs/waas": "4.87.
|
|
29
|
-
"@dynamic-labs/wallet-connector-core": "4.87.
|
|
23
|
+
"@dynamic-labs/assert-package-version": "4.87.2",
|
|
24
|
+
"@dynamic-labs/ethereum-core": "4.87.2",
|
|
25
|
+
"@dynamic-labs/logger": "4.87.2",
|
|
26
|
+
"@dynamic-labs/types": "4.87.2",
|
|
27
|
+
"@dynamic-labs/utils": "4.87.2",
|
|
28
|
+
"@dynamic-labs/waas": "4.87.2",
|
|
29
|
+
"@dynamic-labs/wallet-connector-core": "4.87.2"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {}
|
|
32
32
|
}
|
|
@@ -491,13 +491,17 @@ class DynamicWaasEVMConnector extends waas.withDynamicWaas(ethereumCore.Ethereum
|
|
|
491
491
|
const _super = Object.create(null, {
|
|
492
492
|
backupKeySharesToGoogleDrive: { get: () => super.backupKeySharesToGoogleDrive }
|
|
493
493
|
});
|
|
494
|
-
return _tslib.__awaiter(this, arguments, void 0, function* ({ accountAddress, password, }) {
|
|
494
|
+
return _tslib.__awaiter(this, arguments, void 0, function* ({ accountAddress, password, googleDriveAccessToken, }) {
|
|
495
495
|
if (!accountAddress) {
|
|
496
496
|
throw new Error('Account address is required');
|
|
497
497
|
}
|
|
498
498
|
// EVM-specific: set active account before backing up
|
|
499
499
|
this.setActiveAccount(accountAddress);
|
|
500
|
-
return _super.backupKeySharesToGoogleDrive.call(this, {
|
|
500
|
+
return _super.backupKeySharesToGoogleDrive.call(this, {
|
|
501
|
+
accountAddress,
|
|
502
|
+
googleDriveAccessToken,
|
|
503
|
+
password,
|
|
504
|
+
});
|
|
501
505
|
});
|
|
502
506
|
}
|
|
503
507
|
// Chain-specific override for refreshWalletAccountShares - EVM needs to set active account first
|
|
@@ -95,9 +95,10 @@ declare const DynamicWaasEVMConnector_base: (abstract new (...args: any[]) => {
|
|
|
95
95
|
accountAddress: string;
|
|
96
96
|
password?: string | undefined;
|
|
97
97
|
}): Promise<void>;
|
|
98
|
-
backupKeySharesToGoogleDrive({ accountAddress, password, }: {
|
|
98
|
+
backupKeySharesToGoogleDrive({ accountAddress, password, googleDriveAccessToken, }: {
|
|
99
99
|
accountAddress: string;
|
|
100
100
|
password?: string | undefined;
|
|
101
|
+
googleDriveAccessToken?: string | undefined;
|
|
101
102
|
}): Promise<void>;
|
|
102
103
|
exportClientKeysharesFromGoogleDrive({ accountAddress, password, }: {
|
|
103
104
|
accountAddress: string;
|
|
@@ -231,9 +232,10 @@ export declare class DynamicWaasEVMConnector extends DynamicWaasEVMConnector_bas
|
|
|
231
232
|
accountAddress: string;
|
|
232
233
|
password?: string;
|
|
233
234
|
}): Promise<void>;
|
|
234
|
-
backupKeySharesToGoogleDrive({ accountAddress, password, }: {
|
|
235
|
+
backupKeySharesToGoogleDrive({ accountAddress, password, googleDriveAccessToken, }: {
|
|
235
236
|
accountAddress: string;
|
|
236
237
|
password?: string;
|
|
238
|
+
googleDriveAccessToken?: string;
|
|
237
239
|
}): Promise<void>;
|
|
238
240
|
refreshWalletAccountShares({ accountAddress, password, }: {
|
|
239
241
|
accountAddress: string;
|
|
@@ -487,13 +487,17 @@ class DynamicWaasEVMConnector extends withDynamicWaas(EthereumWalletConnector) {
|
|
|
487
487
|
const _super = Object.create(null, {
|
|
488
488
|
backupKeySharesToGoogleDrive: { get: () => super.backupKeySharesToGoogleDrive }
|
|
489
489
|
});
|
|
490
|
-
return __awaiter(this, arguments, void 0, function* ({ accountAddress, password, }) {
|
|
490
|
+
return __awaiter(this, arguments, void 0, function* ({ accountAddress, password, googleDriveAccessToken, }) {
|
|
491
491
|
if (!accountAddress) {
|
|
492
492
|
throw new Error('Account address is required');
|
|
493
493
|
}
|
|
494
494
|
// EVM-specific: set active account before backing up
|
|
495
495
|
this.setActiveAccount(accountAddress);
|
|
496
|
-
return _super.backupKeySharesToGoogleDrive.call(this, {
|
|
496
|
+
return _super.backupKeySharesToGoogleDrive.call(this, {
|
|
497
|
+
accountAddress,
|
|
498
|
+
googleDriveAccessToken,
|
|
499
|
+
password,
|
|
500
|
+
});
|
|
497
501
|
});
|
|
498
502
|
}
|
|
499
503
|
// Chain-specific override for refreshWalletAccountShares - EVM needs to set active account first
|