@dynamic-labs/waas-svm 4.20.8 → 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
CHANGED
|
@@ -1,4 +1,36 @@
|
|
|
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
|
+
|
|
19
|
+
### [4.20.9](https://github.com/dynamic-labs/dynamic-auth/compare/v4.20.8...v4.20.9) (2025-06-24)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Features
|
|
23
|
+
|
|
24
|
+
* add MFA to react-native ([#8987](https://github.com/dynamic-labs/dynamic-auth/issues/8987)) ([ecfa72d](https://github.com/dynamic-labs/dynamic-auth/commit/ecfa72dac1b2155166baa423a00e8460587074c2))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Bug Fixes
|
|
28
|
+
|
|
29
|
+
* add recovery flow for react-native ([#9007](https://github.com/dynamic-labs/dynamic-auth/issues/9007)) ([04ffa45](https://github.com/dynamic-labs/dynamic-auth/commit/04ffa45fc30e02b6ef8924a5d338cb8bebbb1aea))
|
|
30
|
+
* always get user and set primary wallet id ([#9013](https://github.com/dynamic-labs/dynamic-auth/issues/9013)) ([6685612](https://github.com/dynamic-labs/dynamic-auth/commit/66856125918bc903922fdbc4d2e151b4249308e3))
|
|
31
|
+
* cannot use recovery codes to delete mfa method ([#9003](https://github.com/dynamic-labs/dynamic-auth/issues/9003)) ([f3b6cb0](https://github.com/dynamic-labs/dynamic-auth/commit/f3b6cb03b1c76248a78f611249a6fb92cffcd32e))
|
|
32
|
+
* upgrade pbkdf2 ([#9008](https://github.com/dynamic-labs/dynamic-auth/issues/9008)) ([a0b8869](https://github.com/dynamic-labs/dynamic-auth/commit/a0b8869027b8e012d08ec7a6ded555e3ef89ca43))
|
|
33
|
+
|
|
2
34
|
### [4.20.8](https://github.com/dynamic-labs/dynamic-auth/compare/v4.20.7...v4.20.8) (2025-06-23)
|
|
3
35
|
|
|
4
36
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/waas-svm",
|
|
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",
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
"@solana/web3.js": "1.98.1",
|
|
22
22
|
"eventemitter3": "5.0.1",
|
|
23
23
|
"bs58": "5.0.0",
|
|
24
|
-
"@dynamic-labs/assert-package-version": "4.20.
|
|
25
|
-
"@dynamic-labs/logger": "4.20.
|
|
26
|
-
"@dynamic-labs/rpc-providers": "4.20.
|
|
27
|
-
"@dynamic-labs/solana-core": "4.20.
|
|
28
|
-
"@dynamic-labs/types": "4.20.
|
|
29
|
-
"@dynamic-labs/utils": "4.20.
|
|
30
|
-
"@dynamic-labs/waas": "4.20.
|
|
31
|
-
"@dynamic-labs/wallet-connector-core": "4.20.
|
|
24
|
+
"@dynamic-labs/assert-package-version": "4.20.10",
|
|
25
|
+
"@dynamic-labs/logger": "4.20.10",
|
|
26
|
+
"@dynamic-labs/rpc-providers": "4.20.10",
|
|
27
|
+
"@dynamic-labs/solana-core": "4.20.10",
|
|
28
|
+
"@dynamic-labs/types": "4.20.10",
|
|
29
|
+
"@dynamic-labs/utils": "4.20.10",
|
|
30
|
+
"@dynamic-labs/waas": "4.20.10",
|
|
31
|
+
"@dynamic-labs/wallet-connector-core": "4.20.10"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {}
|
|
34
34
|
}
|
|
@@ -247,9 +247,15 @@ class DynamicWaasSVMConnector extends waas.withDynamicWaas(solanaCore.SolanaWall
|
|
|
247
247
|
}
|
|
248
248
|
importPrivateKey(_a) {
|
|
249
249
|
return _tslib.__awaiter(this, arguments, void 0, function* ({ privateKey, thresholdSignatureScheme = 'TWO_OF_TWO', }) {
|
|
250
|
+
var _b;
|
|
250
251
|
const walletClient = this.getWaasWalletClient();
|
|
252
|
+
const signedSessionId = yield ((_b = this.getSignedSessionId) === null || _b === void 0 ? void 0 : _b.call(this));
|
|
253
|
+
if (!signedSessionId) {
|
|
254
|
+
throw new Error('Signed session ID is required');
|
|
255
|
+
}
|
|
251
256
|
yield walletClient.importPrivateKey({
|
|
252
257
|
privateKey,
|
|
258
|
+
signedSessionId,
|
|
253
259
|
thresholdSignatureScheme: thresholdSignatureScheme,
|
|
254
260
|
});
|
|
255
261
|
});
|
|
@@ -243,9 +243,15 @@ class DynamicWaasSVMConnector extends withDynamicWaas(SolanaWalletConnector) {
|
|
|
243
243
|
}
|
|
244
244
|
importPrivateKey(_a) {
|
|
245
245
|
return __awaiter(this, arguments, void 0, function* ({ privateKey, thresholdSignatureScheme = 'TWO_OF_TWO', }) {
|
|
246
|
+
var _b;
|
|
246
247
|
const walletClient = this.getWaasWalletClient();
|
|
248
|
+
const signedSessionId = yield ((_b = this.getSignedSessionId) === null || _b === void 0 ? void 0 : _b.call(this));
|
|
249
|
+
if (!signedSessionId) {
|
|
250
|
+
throw new Error('Signed session ID is required');
|
|
251
|
+
}
|
|
247
252
|
yield walletClient.importPrivateKey({
|
|
248
253
|
privateKey,
|
|
254
|
+
signedSessionId,
|
|
249
255
|
thresholdSignatureScheme: thresholdSignatureScheme,
|
|
250
256
|
});
|
|
251
257
|
});
|