@dynamic-labs/waas-evm 4.20.9 → 4.20.10
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 +17 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +9 -9
- package/src/DynamicWaasEVMConnector.cjs +6 -0
- package/src/DynamicWaasEVMConnector.js +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,21 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.20.10](https://github.com/dynamic-labs/dynamic-auth/compare/v4.20.9...v4.20.10) (2025-06-30)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add refresh user to react native ([#9019](https://github.com/dynamic-labs/dynamic-auth/issues/9019)) ([01adcda](https://github.com/dynamic-labs/dynamic-auth/commit/01adcda39994ba2955cad58bbd1d4e5063cc1122))
|
|
8
|
+
* support sui wallets on mobile ([#9038](https://github.com/dynamic-labs/dynamic-auth/issues/9038)) ([6f077da](https://github.com/dynamic-labs/dynamic-auth/commit/6f077da7deab525b0a3c5692a50a987c98f2b7e9))
|
|
9
|
+
* upgradetoDynamicWaas hook ([#9022](https://github.com/dynamic-labs/dynamic-auth/issues/9022)) ([3f1c42d](https://github.com/dynamic-labs/dynamic-auth/commit/3f1c42d71ab8b5a88d6b622f0b5fb41eb4ca9a4b))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* allow user to retry connecting with metamask on mobile deep link ([#9018](https://github.com/dynamic-labs/dynamic-auth/issues/9018)) ([09494c4](https://github.com/dynamic-labs/dynamic-auth/commit/09494c41680bb9949dc75df843e085c7743adc66))
|
|
15
|
+
* bump react 19 incompatible dependencies in sdk-react-core ([#9034](https://github.com/dynamic-labs/dynamic-auth/issues/9034)) ([e446f9c](https://github.com/dynamic-labs/dynamic-auth/commit/e446f9c26cf6d4566bf55be2e33dd540500d8fa5))
|
|
16
|
+
* filter out policies consent field from user profile view ([#9043](https://github.com/dynamic-labs/dynamic-auth/issues/9043)) ([e0e5003](https://github.com/dynamic-labs/dynamic-auth/commit/e0e500321719f1e1cfb8a67520641a6fb2f26cf8))
|
|
17
|
+
* use sui devnet for sui transactions ([#9042](https://github.com/dynamic-labs/dynamic-auth/issues/9042)) ([c61af4a](https://github.com/dynamic-labs/dynamic-auth/commit/c61af4a544ff35081b1286fc4b871a8ae031c3f3))
|
|
18
|
+
|
|
2
19
|
### [4.20.9](https://github.com/dynamic-labs/dynamic-auth/compare/v4.20.8...v4.20.9) (2025-06-24)
|
|
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/waas-evm",
|
|
3
|
-
"version": "4.20.
|
|
3
|
+
"version": "4.20.10",
|
|
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.699",
|
|
22
22
|
"viem": "^2.28.4",
|
|
23
|
-
"@dynamic-labs/assert-package-version": "4.20.
|
|
24
|
-
"@dynamic-labs/ethereum-core": "4.20.
|
|
25
|
-
"@dynamic-labs/logger": "4.20.
|
|
26
|
-
"@dynamic-labs/types": "4.20.
|
|
27
|
-
"@dynamic-labs/utils": "4.20.
|
|
28
|
-
"@dynamic-labs/waas": "4.20.
|
|
29
|
-
"@dynamic-labs/wallet-connector-core": "4.20.
|
|
23
|
+
"@dynamic-labs/assert-package-version": "4.20.10",
|
|
24
|
+
"@dynamic-labs/ethereum-core": "4.20.10",
|
|
25
|
+
"@dynamic-labs/logger": "4.20.10",
|
|
26
|
+
"@dynamic-labs/types": "4.20.10",
|
|
27
|
+
"@dynamic-labs/utils": "4.20.10",
|
|
28
|
+
"@dynamic-labs/waas": "4.20.10",
|
|
29
|
+
"@dynamic-labs/wallet-connector-core": "4.20.10"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {}
|
|
32
32
|
}
|
|
@@ -262,9 +262,15 @@ class DynamicWaasEVMConnector extends waas.withDynamicWaas(ethereumCore.Ethereum
|
|
|
262
262
|
}
|
|
263
263
|
importPrivateKey(_a) {
|
|
264
264
|
return _tslib.__awaiter(this, arguments, void 0, function* ({ privateKey, thresholdSignatureScheme = 'TWO_OF_TWO', }) {
|
|
265
|
+
var _b;
|
|
265
266
|
const walletClient = this.getWaasWalletClient();
|
|
267
|
+
const signedSessionId = yield ((_b = this.getSignedSessionId) === null || _b === void 0 ? void 0 : _b.call(this));
|
|
268
|
+
if (!signedSessionId) {
|
|
269
|
+
throw new Error('Signed session ID is required');
|
|
270
|
+
}
|
|
266
271
|
yield walletClient.importPrivateKey({
|
|
267
272
|
privateKey,
|
|
273
|
+
signedSessionId,
|
|
268
274
|
thresholdSignatureScheme: thresholdSignatureScheme,
|
|
269
275
|
});
|
|
270
276
|
});
|
|
@@ -258,9 +258,15 @@ class DynamicWaasEVMConnector extends withDynamicWaas(EthereumWalletConnector) {
|
|
|
258
258
|
}
|
|
259
259
|
importPrivateKey(_a) {
|
|
260
260
|
return __awaiter(this, arguments, void 0, function* ({ privateKey, thresholdSignatureScheme = 'TWO_OF_TWO', }) {
|
|
261
|
+
var _b;
|
|
261
262
|
const walletClient = this.getWaasWalletClient();
|
|
263
|
+
const signedSessionId = yield ((_b = this.getSignedSessionId) === null || _b === void 0 ? void 0 : _b.call(this));
|
|
264
|
+
if (!signedSessionId) {
|
|
265
|
+
throw new Error('Signed session ID is required');
|
|
266
|
+
}
|
|
262
267
|
yield walletClient.importPrivateKey({
|
|
263
268
|
privateKey,
|
|
269
|
+
signedSessionId,
|
|
264
270
|
thresholdSignatureScheme: thresholdSignatureScheme,
|
|
265
271
|
});
|
|
266
272
|
});
|