@dynamic-labs/waas-evm 4.21.0 → 4.21.1
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 +7 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +8 -8
- package/src/DynamicWaasEVMConnector.cjs +2 -1
- package/src/DynamicWaasEVMConnector.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.21.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.21.0...v4.21.1) (2025-07-04)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add auth token refresh to waas evm & svm functionalities ([#9102](https://github.com/dynamic-labs/dynamic-auth/issues/9102)) ([c155c37](https://github.com/dynamic-labs/dynamic-auth/commit/c155c3709f041ea48c6e76d300ca443e19a28539))
|
|
8
|
+
|
|
2
9
|
## [4.21.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.20.17...v4.21.0) (2025-07-04)
|
|
3
10
|
|
|
4
11
|
|
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.21.
|
|
3
|
+
"version": "4.21.1",
|
|
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.704",
|
|
22
22
|
"viem": "^2.28.4",
|
|
23
|
-
"@dynamic-labs/assert-package-version": "4.21.
|
|
24
|
-
"@dynamic-labs/ethereum-core": "4.21.
|
|
25
|
-
"@dynamic-labs/logger": "4.21.
|
|
26
|
-
"@dynamic-labs/types": "4.21.
|
|
27
|
-
"@dynamic-labs/utils": "4.21.
|
|
28
|
-
"@dynamic-labs/waas": "4.21.
|
|
29
|
-
"@dynamic-labs/wallet-connector-core": "4.21.
|
|
23
|
+
"@dynamic-labs/assert-package-version": "4.21.1",
|
|
24
|
+
"@dynamic-labs/ethereum-core": "4.21.1",
|
|
25
|
+
"@dynamic-labs/logger": "4.21.1",
|
|
26
|
+
"@dynamic-labs/types": "4.21.1",
|
|
27
|
+
"@dynamic-labs/utils": "4.21.1",
|
|
28
|
+
"@dynamic-labs/waas": "4.21.1",
|
|
29
|
+
"@dynamic-labs/wallet-connector-core": "4.21.1"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {}
|
|
32
32
|
}
|
|
@@ -216,10 +216,11 @@ class DynamicWaasEVMConnector extends waas.withDynamicWaas(ethereumCore.Ethereum
|
|
|
216
216
|
}
|
|
217
217
|
createWalletAccount() {
|
|
218
218
|
return _tslib.__awaiter(this, arguments, void 0, function* ({ thresholdSignatureScheme = 'TWO_OF_TWO', } = {}) {
|
|
219
|
-
var _a;
|
|
219
|
+
var _a, _b;
|
|
220
220
|
const walletClient = this.getWaasWalletClient();
|
|
221
221
|
const signedSessionId = yield ((_a = this.getSignedSessionId) === null || _a === void 0 ? void 0 : _a.call(this));
|
|
222
222
|
const createdWallet = yield walletClient.createWalletAccount({
|
|
223
|
+
authToken: (_b = this.getAuthToken) === null || _b === void 0 ? void 0 : _b.call(this),
|
|
223
224
|
signedSessionId,
|
|
224
225
|
thresholdSignatureScheme: thresholdSignatureScheme,
|
|
225
226
|
});
|
|
@@ -212,10 +212,11 @@ class DynamicWaasEVMConnector extends withDynamicWaas(EthereumWalletConnector) {
|
|
|
212
212
|
}
|
|
213
213
|
createWalletAccount() {
|
|
214
214
|
return __awaiter(this, arguments, void 0, function* ({ thresholdSignatureScheme = 'TWO_OF_TWO', } = {}) {
|
|
215
|
-
var _a;
|
|
215
|
+
var _a, _b;
|
|
216
216
|
const walletClient = this.getWaasWalletClient();
|
|
217
217
|
const signedSessionId = yield ((_a = this.getSignedSessionId) === null || _a === void 0 ? void 0 : _a.call(this));
|
|
218
218
|
const createdWallet = yield walletClient.createWalletAccount({
|
|
219
|
+
authToken: (_b = this.getAuthToken) === null || _b === void 0 ? void 0 : _b.call(this),
|
|
219
220
|
signedSessionId,
|
|
220
221
|
thresholdSignatureScheme: thresholdSignatureScheme,
|
|
221
222
|
});
|