@dynamic-labs/waas-evm 4.35.0 → 4.36.0
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 +14 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +8 -8
- package/src/DynamicWaasEVMConnector.cjs +17 -0
- package/src/DynamicWaasEVMConnector.d.ts +10 -0
- package/src/DynamicWaasEVMConnector.js +17 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
|
|
2
|
+
## [4.36.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.35.0...v4.36.0) (2025-10-03)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add refresh/reshare settings on next login ([#9611](https://github.com/dynamic-labs/dynamic-auth/issues/9611)) ([49ce9a9](https://github.com/dynamic-labs/dynamic-auth/commit/49ce9a920bd3b4f7e7a4c3227bd8ecf2e6d0e37d))
|
|
8
|
+
* add waas mpc reshare on connectors ([#9610](https://github.com/dynamic-labs/dynamic-auth/issues/9610)) ([15394df](https://github.com/dynamic-labs/dynamic-auth/commit/15394dfb35c279b86c440066295eb8f3b8b1e342))
|
|
9
|
+
* send non-native tokens with sui sendbalance ([#9620](https://github.com/dynamic-labs/dynamic-auth/issues/9620)) ([c2c2b2b](https://github.com/dynamic-labs/dynamic-auth/commit/c2c2b2b5108933acf0858c61f96c902868531737))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* send balance input alignment ([#9617](https://github.com/dynamic-labs/dynamic-auth/issues/9617)) ([00d9f7c](https://github.com/dynamic-labs/dynamic-auth/commit/00d9f7cfd9e77660be8855367dbb14b139b6f146))
|
|
15
|
+
|
|
2
16
|
## [4.35.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.34.0...v4.35.0) (2025-10-02)
|
|
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/waas-evm",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.36.0",
|
|
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",
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@dynamic-labs/sdk-api-core": "0.0.791",
|
|
22
22
|
"viem": "^2.28.4",
|
|
23
|
-
"@dynamic-labs/assert-package-version": "4.
|
|
24
|
-
"@dynamic-labs/ethereum-core": "4.
|
|
25
|
-
"@dynamic-labs/logger": "4.
|
|
26
|
-
"@dynamic-labs/types": "4.
|
|
27
|
-
"@dynamic-labs/utils": "4.
|
|
28
|
-
"@dynamic-labs/waas": "4.
|
|
29
|
-
"@dynamic-labs/wallet-connector-core": "4.
|
|
23
|
+
"@dynamic-labs/assert-package-version": "4.36.0",
|
|
24
|
+
"@dynamic-labs/ethereum-core": "4.36.0",
|
|
25
|
+
"@dynamic-labs/logger": "4.36.0",
|
|
26
|
+
"@dynamic-labs/types": "4.36.0",
|
|
27
|
+
"@dynamic-labs/utils": "4.36.0",
|
|
28
|
+
"@dynamic-labs/waas": "4.36.0",
|
|
29
|
+
"@dynamic-labs/wallet-connector-core": "4.36.0"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {}
|
|
32
32
|
}
|
|
@@ -325,6 +325,23 @@ class DynamicWaasEVMConnector extends waas.withDynamicWaas(ethereumCore.Ethereum
|
|
|
325
325
|
return _super.refreshWalletAccountShares.call(this, { accountAddress, password });
|
|
326
326
|
});
|
|
327
327
|
}
|
|
328
|
+
// Chain-specific override for reshareWalletAccountShares - EVM needs to set active account first
|
|
329
|
+
reshareWalletAccountShares(_a) {
|
|
330
|
+
const _super = Object.create(null, {
|
|
331
|
+
reshareWalletAccountShares: { get: () => super.reshareWalletAccountShares }
|
|
332
|
+
});
|
|
333
|
+
return _tslib.__awaiter(this, arguments, void 0, function* ({ accountAddress, password, thresholdSignatureScheme, }) {
|
|
334
|
+
if (!accountAddress) {
|
|
335
|
+
throw new Error('Account address is required');
|
|
336
|
+
}
|
|
337
|
+
this.setActiveAccount(accountAddress);
|
|
338
|
+
return _super.reshareWalletAccountShares.call(this, {
|
|
339
|
+
accountAddress,
|
|
340
|
+
password,
|
|
341
|
+
thresholdSignatureScheme,
|
|
342
|
+
});
|
|
343
|
+
});
|
|
344
|
+
}
|
|
328
345
|
// Chain-specific override for updatePassword - EVM needs to set active account first
|
|
329
346
|
updatePassword(_a) {
|
|
330
347
|
const _super = Object.create(null, {
|
|
@@ -76,6 +76,11 @@ declare const DynamicWaasEVMConnector_base: (abstract new (...args: any[]) => {
|
|
|
76
76
|
accountAddress: string;
|
|
77
77
|
password?: string | undefined;
|
|
78
78
|
}): Promise<void>;
|
|
79
|
+
reshareWalletAccountShares({ accountAddress, thresholdSignatureScheme, password, }: {
|
|
80
|
+
accountAddress: string;
|
|
81
|
+
thresholdSignatureScheme: string;
|
|
82
|
+
password?: string | undefined;
|
|
83
|
+
}): Promise<void>;
|
|
79
84
|
updatePassword({ accountAddress, existingPassword, newPassword, }: {
|
|
80
85
|
accountAddress: string;
|
|
81
86
|
existingPassword: string;
|
|
@@ -146,6 +151,11 @@ export declare class DynamicWaasEVMConnector extends DynamicWaasEVMConnector_bas
|
|
|
146
151
|
accountAddress: string;
|
|
147
152
|
password?: string;
|
|
148
153
|
}): Promise<void>;
|
|
154
|
+
reshareWalletAccountShares({ accountAddress, password, thresholdSignatureScheme, }: {
|
|
155
|
+
accountAddress: string;
|
|
156
|
+
password?: string;
|
|
157
|
+
thresholdSignatureScheme: string;
|
|
158
|
+
}): Promise<void>;
|
|
149
159
|
updatePassword({ accountAddress, existingPassword, newPassword, }: {
|
|
150
160
|
accountAddress: string;
|
|
151
161
|
existingPassword: string;
|
|
@@ -321,6 +321,23 @@ class DynamicWaasEVMConnector extends withDynamicWaas(EthereumWalletConnector) {
|
|
|
321
321
|
return _super.refreshWalletAccountShares.call(this, { accountAddress, password });
|
|
322
322
|
});
|
|
323
323
|
}
|
|
324
|
+
// Chain-specific override for reshareWalletAccountShares - EVM needs to set active account first
|
|
325
|
+
reshareWalletAccountShares(_a) {
|
|
326
|
+
const _super = Object.create(null, {
|
|
327
|
+
reshareWalletAccountShares: { get: () => super.reshareWalletAccountShares }
|
|
328
|
+
});
|
|
329
|
+
return __awaiter(this, arguments, void 0, function* ({ accountAddress, password, thresholdSignatureScheme, }) {
|
|
330
|
+
if (!accountAddress) {
|
|
331
|
+
throw new Error('Account address is required');
|
|
332
|
+
}
|
|
333
|
+
this.setActiveAccount(accountAddress);
|
|
334
|
+
return _super.reshareWalletAccountShares.call(this, {
|
|
335
|
+
accountAddress,
|
|
336
|
+
password,
|
|
337
|
+
thresholdSignatureScheme,
|
|
338
|
+
});
|
|
339
|
+
});
|
|
340
|
+
}
|
|
324
341
|
// Chain-specific override for updatePassword - EVM needs to set active account first
|
|
325
342
|
updatePassword(_a) {
|
|
326
343
|
const _super = Object.create(null, {
|