@dynamic-labs/waas-svm 4.20.10 → 4.20.12
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,26 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.20.12](https://github.com/dynamic-labs/dynamic-auth/compare/v4.20.11...v4.20.12) (2025-07-01)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* bring back braavos mobile deeplink support ([#9041](https://github.com/dynamic-labs/dynamic-auth/issues/9041)) ([90a7eb6](https://github.com/dynamic-labs/dynamic-auth/commit/90a7eb620f6bd27d4560e88fe5542a121e586bed))
|
|
8
|
+
* start exchange funding errors should be logged as error ([#9056](https://github.com/dynamic-labs/dynamic-auth/issues/9056)) ([ba122af](https://github.com/dynamic-labs/dynamic-auth/commit/ba122afb68c462fe8627828bd20f9cc5f92803ff))
|
|
9
|
+
* WC redirect on mobile ([#9063](https://github.com/dynamic-labs/dynamic-auth/issues/9063)) ([f43aa4a](https://github.com/dynamic-labs/dynamic-auth/commit/f43aa4aedea20e3baf012f4778f5e6a47c27515c))
|
|
10
|
+
|
|
11
|
+
### [4.20.11](https://github.com/dynamic-labs/dynamic-auth/compare/v4.20.10...v4.20.11) (2025-07-01)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* add signed typed data to waas ([#9050](https://github.com/dynamic-labs/dynamic-auth/issues/9050)) ([19c8fea](https://github.com/dynamic-labs/dynamic-auth/commit/19c8fea2e5448e027cbec2f6158d32247dfcd321))
|
|
17
|
+
* pass jwt to waas operations ([#8981](https://github.com/dynamic-labs/dynamic-auth/issues/8981)) ([6b63394](https://github.com/dynamic-labs/dynamic-auth/commit/6b63394a1a724c2a1499a3d1ff13078d2314b10e))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* 7702 signature for undeployed contracts ([#9052](https://github.com/dynamic-labs/dynamic-auth/issues/9052)) ([7052149](https://github.com/dynamic-labs/dynamic-auth/commit/7052149aae53524a0ac2bdad0b7ddf68e3c86189))
|
|
23
|
+
|
|
2
24
|
### [4.20.10](https://github.com/dynamic-labs/dynamic-auth/compare/v4.20.9...v4.20.10) (2025-06-30)
|
|
3
25
|
|
|
4
26
|
|
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.12",
|
|
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.12",
|
|
25
|
+
"@dynamic-labs/logger": "4.20.12",
|
|
26
|
+
"@dynamic-labs/rpc-providers": "4.20.12",
|
|
27
|
+
"@dynamic-labs/solana-core": "4.20.12",
|
|
28
|
+
"@dynamic-labs/types": "4.20.12",
|
|
29
|
+
"@dynamic-labs/utils": "4.20.12",
|
|
30
|
+
"@dynamic-labs/waas": "4.20.12",
|
|
31
|
+
"@dynamic-labs/wallet-connector-core": "4.20.12"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {}
|
|
34
34
|
}
|
|
@@ -62,10 +62,11 @@ class DynamicWaasSVMConnector extends waas.withDynamicWaas(solanaCore.SolanaWall
|
|
|
62
62
|
}
|
|
63
63
|
createWalletAccount() {
|
|
64
64
|
return _tslib.__awaiter(this, arguments, void 0, function* ({ thresholdSignatureScheme = 'TWO_OF_TWO', } = {}) {
|
|
65
|
-
var _a;
|
|
65
|
+
var _a, _b;
|
|
66
66
|
const walletClient = this.getWaasWalletClient();
|
|
67
67
|
const signedSessionId = yield ((_a = this.getSignedSessionId) === null || _a === void 0 ? void 0 : _a.call(this));
|
|
68
68
|
const createdWallet = yield walletClient.createWalletAccount({
|
|
69
|
+
authToken: (_b = this.getAuthToken) === null || _b === void 0 ? void 0 : _b.call(this),
|
|
69
70
|
signedSessionId,
|
|
70
71
|
thresholdSignatureScheme: thresholdSignatureScheme,
|
|
71
72
|
});
|
|
@@ -74,7 +75,7 @@ class DynamicWaasSVMConnector extends waas.withDynamicWaas(solanaCore.SolanaWall
|
|
|
74
75
|
}
|
|
75
76
|
internalSignMessage(message) {
|
|
76
77
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
77
|
-
var _a;
|
|
78
|
+
var _a, _b;
|
|
78
79
|
const walletClient = this.getWaasWalletClient();
|
|
79
80
|
if (!this.activeAccountAddress) {
|
|
80
81
|
throw new Error('Active account address is required');
|
|
@@ -82,6 +83,7 @@ class DynamicWaasSVMConnector extends waas.withDynamicWaas(solanaCore.SolanaWall
|
|
|
82
83
|
const signedSessionId = yield ((_a = this.getSignedSessionId) === null || _a === void 0 ? void 0 : _a.call(this));
|
|
83
84
|
const signedMessage = yield walletClient.signMessage({
|
|
84
85
|
accountAddress: this.activeAccountAddress,
|
|
86
|
+
authToken: (_b = this.getAuthToken) === null || _b === void 0 ? void 0 : _b.call(this),
|
|
85
87
|
message,
|
|
86
88
|
signedSessionId,
|
|
87
89
|
});
|
|
@@ -58,10 +58,11 @@ class DynamicWaasSVMConnector extends withDynamicWaas(SolanaWalletConnector) {
|
|
|
58
58
|
}
|
|
59
59
|
createWalletAccount() {
|
|
60
60
|
return __awaiter(this, arguments, void 0, function* ({ thresholdSignatureScheme = 'TWO_OF_TWO', } = {}) {
|
|
61
|
-
var _a;
|
|
61
|
+
var _a, _b;
|
|
62
62
|
const walletClient = this.getWaasWalletClient();
|
|
63
63
|
const signedSessionId = yield ((_a = this.getSignedSessionId) === null || _a === void 0 ? void 0 : _a.call(this));
|
|
64
64
|
const createdWallet = yield walletClient.createWalletAccount({
|
|
65
|
+
authToken: (_b = this.getAuthToken) === null || _b === void 0 ? void 0 : _b.call(this),
|
|
65
66
|
signedSessionId,
|
|
66
67
|
thresholdSignatureScheme: thresholdSignatureScheme,
|
|
67
68
|
});
|
|
@@ -70,7 +71,7 @@ class DynamicWaasSVMConnector extends withDynamicWaas(SolanaWalletConnector) {
|
|
|
70
71
|
}
|
|
71
72
|
internalSignMessage(message) {
|
|
72
73
|
return __awaiter(this, void 0, void 0, function* () {
|
|
73
|
-
var _a;
|
|
74
|
+
var _a, _b;
|
|
74
75
|
const walletClient = this.getWaasWalletClient();
|
|
75
76
|
if (!this.activeAccountAddress) {
|
|
76
77
|
throw new Error('Active account address is required');
|
|
@@ -78,6 +79,7 @@ class DynamicWaasSVMConnector extends withDynamicWaas(SolanaWalletConnector) {
|
|
|
78
79
|
const signedSessionId = yield ((_a = this.getSignedSessionId) === null || _a === void 0 ? void 0 : _a.call(this));
|
|
79
80
|
const signedMessage = yield walletClient.signMessage({
|
|
80
81
|
accountAddress: this.activeAccountAddress,
|
|
82
|
+
authToken: (_b = this.getAuthToken) === null || _b === void 0 ? void 0 : _b.call(this),
|
|
81
83
|
message,
|
|
82
84
|
signedSessionId,
|
|
83
85
|
});
|