@dynamic-labs/waas 4.41.0 → 4.41.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 +8 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +8 -8
- package/src/DynamicWaasMixin.cjs +2 -1
- package/src/DynamicWaasMixin.d.ts +2 -1
- package/src/DynamicWaasMixin.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.41.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.41.0...v4.41.1) (2025-10-30)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* aptos login with petra keyless accounts ([#9795](https://github.com/dynamic-labs/dynamic-auth/issues/9795)) ([99dc34b](https://github.com/dynamic-labs/dynamic-auth/commit/99dc34b95d1ec23d168c9e092e2d735b1d50a71d))
|
|
8
|
+
* backpack aptos login due to invalid public key ([#9806](https://github.com/dynamic-labs/dynamic-auth/issues/9806)) ([ec8b761](https://github.com/dynamic-labs/dynamic-auth/commit/ec8b76181acff7906fd92c77c2fca42ce52010ae))
|
|
9
|
+
|
|
2
10
|
## [4.41.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.40.2...v4.41.0) (2025-10-29)
|
|
3
11
|
|
|
4
12
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/waas",
|
|
3
|
-
"version": "4.41.
|
|
3
|
+
"version": "4.41.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
"./package.json": "./package.json"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@dynamic-labs/assert-package-version": "4.41.
|
|
19
|
+
"@dynamic-labs/assert-package-version": "4.41.1",
|
|
20
20
|
"@dynamic-labs/sdk-api-core": "0.0.813",
|
|
21
|
-
"@dynamic-labs-wallet/browser-wallet-client": "0.0.
|
|
22
|
-
"@dynamic-labs/ethereum-core": "4.41.
|
|
23
|
-
"@dynamic-labs/solana-core": "4.41.
|
|
24
|
-
"@dynamic-labs/sui-core": "4.41.
|
|
25
|
-
"@dynamic-labs/utils": "4.41.
|
|
26
|
-
"@dynamic-labs/wallet-book": "4.41.
|
|
21
|
+
"@dynamic-labs-wallet/browser-wallet-client": "0.0.190",
|
|
22
|
+
"@dynamic-labs/ethereum-core": "4.41.1",
|
|
23
|
+
"@dynamic-labs/solana-core": "4.41.1",
|
|
24
|
+
"@dynamic-labs/sui-core": "4.41.1",
|
|
25
|
+
"@dynamic-labs/utils": "4.41.1",
|
|
26
|
+
"@dynamic-labs/wallet-book": "4.41.1"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {}
|
|
29
29
|
}
|
package/src/DynamicWaasMixin.cjs
CHANGED
|
@@ -143,7 +143,7 @@ const withDynamicWaas = (BaseClass) => {
|
|
|
143
143
|
});
|
|
144
144
|
}
|
|
145
145
|
importPrivateKey(_a) {
|
|
146
|
-
return _tslib.__awaiter(this, arguments, void 0, function* ({ privateKey, thresholdSignatureScheme = 'TWO_OF_TWO', }) {
|
|
146
|
+
return _tslib.__awaiter(this, arguments, void 0, function* ({ privateKey, thresholdSignatureScheme = 'TWO_OF_TWO', publicAddressCheck, }) {
|
|
147
147
|
var _b, _c;
|
|
148
148
|
const walletClient = yield this.getWaasWalletClient();
|
|
149
149
|
const signedSessionId = yield ((_b = this.getSignedSessionId) === null || _b === void 0 ? void 0 : _b.call(this));
|
|
@@ -153,6 +153,7 @@ const withDynamicWaas = (BaseClass) => {
|
|
|
153
153
|
yield walletClient.importPrivateKey({
|
|
154
154
|
authToken: (_c = this.getAuthToken) === null || _c === void 0 ? void 0 : _c.call(this),
|
|
155
155
|
privateKey,
|
|
156
|
+
publicAddressCheck,
|
|
156
157
|
signedSessionId,
|
|
157
158
|
thresholdSignatureScheme: thresholdSignatureScheme,
|
|
158
159
|
});
|
|
@@ -47,9 +47,10 @@ export declare const withDynamicWaas: <T extends abstract new (...args: any[]) =
|
|
|
47
47
|
publicKeyHex: string;
|
|
48
48
|
rawPublicKey: string | Uint8Array | undefined;
|
|
49
49
|
}>;
|
|
50
|
-
importPrivateKey({ privateKey, thresholdSignatureScheme, }: {
|
|
50
|
+
importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, }: {
|
|
51
51
|
privateKey: string;
|
|
52
52
|
thresholdSignatureScheme?: string;
|
|
53
|
+
publicAddressCheck?: string;
|
|
53
54
|
}): Promise<void>;
|
|
54
55
|
exportPrivateKey({ accountAddress, displayContainer, password, }?: {
|
|
55
56
|
accountAddress?: string;
|
package/src/DynamicWaasMixin.js
CHANGED
|
@@ -139,7 +139,7 @@ const withDynamicWaas = (BaseClass) => {
|
|
|
139
139
|
});
|
|
140
140
|
}
|
|
141
141
|
importPrivateKey(_a) {
|
|
142
|
-
return __awaiter(this, arguments, void 0, function* ({ privateKey, thresholdSignatureScheme = 'TWO_OF_TWO', }) {
|
|
142
|
+
return __awaiter(this, arguments, void 0, function* ({ privateKey, thresholdSignatureScheme = 'TWO_OF_TWO', publicAddressCheck, }) {
|
|
143
143
|
var _b, _c;
|
|
144
144
|
const walletClient = yield this.getWaasWalletClient();
|
|
145
145
|
const signedSessionId = yield ((_b = this.getSignedSessionId) === null || _b === void 0 ? void 0 : _b.call(this));
|
|
@@ -149,6 +149,7 @@ const withDynamicWaas = (BaseClass) => {
|
|
|
149
149
|
yield walletClient.importPrivateKey({
|
|
150
150
|
authToken: (_c = this.getAuthToken) === null || _c === void 0 ? void 0 : _c.call(this),
|
|
151
151
|
privateKey,
|
|
152
|
+
publicAddressCheck,
|
|
152
153
|
signedSessionId,
|
|
153
154
|
thresholdSignatureScheme: thresholdSignatureScheme,
|
|
154
155
|
});
|