@dynamic-labs/waas 4.53.0 → 4.53.2
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 +18 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +10 -10
- package/src/DynamicWaasMixin.cjs +39 -0
- package/src/DynamicWaasMixin.d.ts +10 -1
- package/src/DynamicWaasMixin.js +39 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,22 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.53.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.53.1...v4.53.2) (2026-01-16)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add iCloud backup functionality ([#10219](https://github.com/dynamic-labs/dynamic-auth/issues/10219)) ([44e95e5](https://github.com/dynamic-labs/dynamic-auth/commit/44e95e5a5dc99f83918a382ab1c69d452359c346))
|
|
8
|
+
* update PSBT building with Largest-First UTXO selection and fee priorities (high/medium/low) ([#10227](https://github.com/dynamic-labs/dynamic-auth/issues/10227)) ([94c5f5c](https://github.com/dynamic-labs/dynamic-auth/commit/94c5f5cb97432bb97374b754cb95bc23290dd184))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* allow late registered solana wallets to appear in the wallet list ([#10224](https://github.com/dynamic-labs/dynamic-auth/issues/10224)) ([2f418d4](https://github.com/dynamic-labs/dynamic-auth/commit/2f418d4f3e0543bdd829a45807329f89da1e41a7))
|
|
14
|
+
* correctly show app name in wallet app for wallet connect evm connections ([#10218](https://github.com/dynamic-labs/dynamic-auth/issues/10218)) ([fec0009](https://github.com/dynamic-labs/dynamic-auth/commit/fec0009177439baa67015050b4ad799119615f4f))
|
|
15
|
+
* destructure wallets from getWalletStandardWallets before calling find ([#10234](https://github.com/dynamic-labs/dynamic-auth/issues/10234)) ([b59617a](https://github.com/dynamic-labs/dynamic-auth/commit/b59617a8579b9c7d8a5f744a2ea9363ccb4aee58))
|
|
16
|
+
* **react-native:** filter connectors by enabled chains and add chain parameter to connectWallet ([#10230](https://github.com/dynamic-labs/dynamic-auth/issues/10230)) ([a2bbd03](https://github.com/dynamic-labs/dynamic-auth/commit/a2bbd03ece52950711d2eda18cb2345df15710dd))
|
|
17
|
+
|
|
18
|
+
### [4.53.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.53.0...v4.53.1) (2026-01-14)
|
|
19
|
+
|
|
2
20
|
## [4.53.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.52.5...v4.53.0) (2026-01-13)
|
|
3
21
|
|
|
4
22
|
|
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.53.
|
|
3
|
+
"version": "4.53.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -16,15 +16,15 @@
|
|
|
16
16
|
"./package.json": "./package.json"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@dynamic-labs/assert-package-version": "4.53.
|
|
20
|
-
"@dynamic-labs/sdk-api-core": "0.0.
|
|
21
|
-
"@dynamic-labs-wallet/browser-wallet-client": "0.0.
|
|
22
|
-
"@dynamic-labs/ethereum-core": "4.53.
|
|
23
|
-
"@dynamic-labs/logger": "4.53.
|
|
24
|
-
"@dynamic-labs/solana-core": "4.53.
|
|
25
|
-
"@dynamic-labs/sui-core": "4.53.
|
|
26
|
-
"@dynamic-labs/utils": "4.53.
|
|
27
|
-
"@dynamic-labs/wallet-book": "4.53.
|
|
19
|
+
"@dynamic-labs/assert-package-version": "4.53.2",
|
|
20
|
+
"@dynamic-labs/sdk-api-core": "0.0.855",
|
|
21
|
+
"@dynamic-labs-wallet/browser-wallet-client": "0.0.245",
|
|
22
|
+
"@dynamic-labs/ethereum-core": "4.53.2",
|
|
23
|
+
"@dynamic-labs/logger": "4.53.2",
|
|
24
|
+
"@dynamic-labs/solana-core": "4.53.2",
|
|
25
|
+
"@dynamic-labs/sui-core": "4.53.2",
|
|
26
|
+
"@dynamic-labs/utils": "4.53.2",
|
|
27
|
+
"@dynamic-labs/wallet-book": "4.53.2"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {}
|
|
30
30
|
}
|
package/src/DynamicWaasMixin.cjs
CHANGED
|
@@ -262,6 +262,45 @@ const withDynamicWaas = (BaseClass) => {
|
|
|
262
262
|
});
|
|
263
263
|
});
|
|
264
264
|
}
|
|
265
|
+
backupKeySharesToICloud(_a) {
|
|
266
|
+
return _tslib.__awaiter(this, arguments, void 0, function* ({ accountAddress, password, }) {
|
|
267
|
+
var _b, _c;
|
|
268
|
+
if (!accountAddress) {
|
|
269
|
+
throw new utils.DynamicError('Account address is required');
|
|
270
|
+
}
|
|
271
|
+
const walletClient = yield this.getWaasWalletClient();
|
|
272
|
+
const signedSessionId = yield ((_b = this.getSignedSessionId) === null || _b === void 0 ? void 0 : _b.call(this));
|
|
273
|
+
if (!signedSessionId) {
|
|
274
|
+
throw new utils.DynamicError('Signed session ID is required');
|
|
275
|
+
}
|
|
276
|
+
return walletClient.backupKeySharesToICloud({
|
|
277
|
+
accountAddress,
|
|
278
|
+
authToken: (_c = this.getAuthToken) === null || _c === void 0 ? void 0 : _c.call(this),
|
|
279
|
+
password,
|
|
280
|
+
signedSessionId,
|
|
281
|
+
});
|
|
282
|
+
});
|
|
283
|
+
}
|
|
284
|
+
displayICloudSignIn(_a) {
|
|
285
|
+
return _tslib.__awaiter(this, arguments, void 0, function* ({ displayContainer, }) {
|
|
286
|
+
const walletClient = yield this.getWaasWalletClient();
|
|
287
|
+
return walletClient.displayICloudSignIn({
|
|
288
|
+
displayContainer,
|
|
289
|
+
});
|
|
290
|
+
});
|
|
291
|
+
}
|
|
292
|
+
hideICloudSignIn() {
|
|
293
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
294
|
+
const walletClient = yield this.getWaasWalletClient();
|
|
295
|
+
return walletClient.hideICloudSignIn();
|
|
296
|
+
});
|
|
297
|
+
}
|
|
298
|
+
isICloudAuthenticated() {
|
|
299
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
300
|
+
const walletClient = yield this.getWaasWalletClient();
|
|
301
|
+
return walletClient.isICloudAuthenticated();
|
|
302
|
+
});
|
|
303
|
+
}
|
|
265
304
|
refreshWalletAccountShares(_a) {
|
|
266
305
|
return _tslib.__awaiter(this, arguments, void 0, function* ({ accountAddress, password, }) {
|
|
267
306
|
var _b, _c, _d;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BitcoinConfig, DynamicWalletClient } from '@dynamic-labs-wallet/browser-wallet-client';
|
|
2
2
|
import { InstrumentOptions, Logger } from '@dynamic-labs/logger';
|
|
3
3
|
import { MFAAction } from '@dynamic-labs/sdk-api-core';
|
|
4
|
-
import {
|
|
4
|
+
import { InstrumentContext, InstrumentationTimer, TraceContext } from '../utils/instrumentation';
|
|
5
5
|
export declare class WaasExportHandler {
|
|
6
6
|
private iframeStamper;
|
|
7
7
|
setIframeStamper(iframe: HTMLIFrameElement): void;
|
|
@@ -79,6 +79,15 @@ export declare const withDynamicWaas: <T extends abstract new (...args: any[]) =
|
|
|
79
79
|
accountAddress: string;
|
|
80
80
|
password?: string;
|
|
81
81
|
}): Promise<void>;
|
|
82
|
+
backupKeySharesToICloud({ accountAddress, password, }: {
|
|
83
|
+
accountAddress: string;
|
|
84
|
+
password?: string;
|
|
85
|
+
}): Promise<void>;
|
|
86
|
+
displayICloudSignIn({ displayContainer, }: {
|
|
87
|
+
displayContainer: HTMLElement;
|
|
88
|
+
}): Promise<void>;
|
|
89
|
+
hideICloudSignIn(): Promise<void>;
|
|
90
|
+
isICloudAuthenticated(): Promise<boolean>;
|
|
82
91
|
refreshWalletAccountShares({ accountAddress, password, }: {
|
|
83
92
|
accountAddress: string;
|
|
84
93
|
password?: string;
|
package/src/DynamicWaasMixin.js
CHANGED
|
@@ -258,6 +258,45 @@ const withDynamicWaas = (BaseClass) => {
|
|
|
258
258
|
});
|
|
259
259
|
});
|
|
260
260
|
}
|
|
261
|
+
backupKeySharesToICloud(_a) {
|
|
262
|
+
return __awaiter(this, arguments, void 0, function* ({ accountAddress, password, }) {
|
|
263
|
+
var _b, _c;
|
|
264
|
+
if (!accountAddress) {
|
|
265
|
+
throw new DynamicError('Account address is required');
|
|
266
|
+
}
|
|
267
|
+
const walletClient = yield this.getWaasWalletClient();
|
|
268
|
+
const signedSessionId = yield ((_b = this.getSignedSessionId) === null || _b === void 0 ? void 0 : _b.call(this));
|
|
269
|
+
if (!signedSessionId) {
|
|
270
|
+
throw new DynamicError('Signed session ID is required');
|
|
271
|
+
}
|
|
272
|
+
return walletClient.backupKeySharesToICloud({
|
|
273
|
+
accountAddress,
|
|
274
|
+
authToken: (_c = this.getAuthToken) === null || _c === void 0 ? void 0 : _c.call(this),
|
|
275
|
+
password,
|
|
276
|
+
signedSessionId,
|
|
277
|
+
});
|
|
278
|
+
});
|
|
279
|
+
}
|
|
280
|
+
displayICloudSignIn(_a) {
|
|
281
|
+
return __awaiter(this, arguments, void 0, function* ({ displayContainer, }) {
|
|
282
|
+
const walletClient = yield this.getWaasWalletClient();
|
|
283
|
+
return walletClient.displayICloudSignIn({
|
|
284
|
+
displayContainer,
|
|
285
|
+
});
|
|
286
|
+
});
|
|
287
|
+
}
|
|
288
|
+
hideICloudSignIn() {
|
|
289
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
290
|
+
const walletClient = yield this.getWaasWalletClient();
|
|
291
|
+
return walletClient.hideICloudSignIn();
|
|
292
|
+
});
|
|
293
|
+
}
|
|
294
|
+
isICloudAuthenticated() {
|
|
295
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
296
|
+
const walletClient = yield this.getWaasWalletClient();
|
|
297
|
+
return walletClient.isICloudAuthenticated();
|
|
298
|
+
});
|
|
299
|
+
}
|
|
261
300
|
refreshWalletAccountShares(_a) {
|
|
262
301
|
return __awaiter(this, arguments, void 0, function* ({ accountAddress, password, }) {
|
|
263
302
|
var _b, _c, _d;
|