@dynamic-labs-wallet/node 1.0.111 → 1.0.113
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/index.cjs +3 -2
- package/index.esm.js +3 -2
- package/package.json +3 -3
package/index.cjs
CHANGED
|
@@ -1532,6 +1532,7 @@ class DynamicWalletClient {
|
|
|
1532
1532
|
const result = [];
|
|
1533
1533
|
// Upload first share to Dynamic if requested
|
|
1534
1534
|
if (backUpToDynamic) {
|
|
1535
|
+
var _data_keyShareIds, _data_keyShareIds1;
|
|
1535
1536
|
const keyShareToBackupToDynamic = keySharesToBackup[0];
|
|
1536
1537
|
const signedSessionId = this.getSessionSignature ? await this.buildSignedSessionId() : undefined;
|
|
1537
1538
|
const data = await this.apiClient.storeEncryptedBackupByWallet({
|
|
@@ -1557,8 +1558,8 @@ class DynamicWalletClient {
|
|
|
1557
1558
|
// for dynamic backups; populating both keeps the synthesized backupInfo
|
|
1558
1559
|
// shape identical to what `getExternalServerKeyShareBackupInfo` produces
|
|
1559
1560
|
// from the API response (used by fetchWalletMetadata / getWalletByAddress).
|
|
1560
|
-
id: data.keyShareIds[0],
|
|
1561
|
-
externalKeyShareId: data.keyShareIds[0],
|
|
1561
|
+
id: (_data_keyShareIds = data.keyShareIds) == null ? void 0 : _data_keyShareIds[0],
|
|
1562
|
+
externalKeyShareId: (_data_keyShareIds1 = data.keyShareIds) == null ? void 0 : _data_keyShareIds1[0],
|
|
1562
1563
|
passwordEncrypted: passwordEncryptedFlag,
|
|
1563
1564
|
keygenId
|
|
1564
1565
|
});
|
package/index.esm.js
CHANGED
|
@@ -1531,6 +1531,7 @@ class DynamicWalletClient {
|
|
|
1531
1531
|
const result = [];
|
|
1532
1532
|
// Upload first share to Dynamic if requested
|
|
1533
1533
|
if (backUpToDynamic) {
|
|
1534
|
+
var _data_keyShareIds, _data_keyShareIds1;
|
|
1534
1535
|
const keyShareToBackupToDynamic = keySharesToBackup[0];
|
|
1535
1536
|
const signedSessionId = this.getSessionSignature ? await this.buildSignedSessionId() : undefined;
|
|
1536
1537
|
const data = await this.apiClient.storeEncryptedBackupByWallet({
|
|
@@ -1556,8 +1557,8 @@ class DynamicWalletClient {
|
|
|
1556
1557
|
// for dynamic backups; populating both keeps the synthesized backupInfo
|
|
1557
1558
|
// shape identical to what `getExternalServerKeyShareBackupInfo` produces
|
|
1558
1559
|
// from the API response (used by fetchWalletMetadata / getWalletByAddress).
|
|
1559
|
-
id: data.keyShareIds[0],
|
|
1560
|
-
externalKeyShareId: data.keyShareIds[0],
|
|
1560
|
+
id: (_data_keyShareIds = data.keyShareIds) == null ? void 0 : _data_keyShareIds[0],
|
|
1561
|
+
externalKeyShareId: (_data_keyShareIds1 = data.keyShareIds) == null ? void 0 : _data_keyShareIds1[0],
|
|
1561
1562
|
passwordEncrypted: passwordEncryptedFlag,
|
|
1562
1563
|
keygenId
|
|
1563
1564
|
});
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs-wallet/node",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.113",
|
|
4
4
|
"license": "Licensed under the Dynamic Labs, Inc. Terms Of Service (https://www.dynamic.xyz/terms-conditions)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@dynamic-labs-wallet/core": "1.0.
|
|
7
|
+
"@dynamic-labs-wallet/core": "1.0.113",
|
|
8
8
|
"@dynamic-labs-wallet/forward-mpc-client": "1.0.2",
|
|
9
|
-
"@dynamic-labs-wallet/primitives": "1.0.
|
|
9
|
+
"@dynamic-labs-wallet/primitives": "1.0.113",
|
|
10
10
|
"@dynamic-labs/logger": "^5.0.0",
|
|
11
11
|
"@dynamic-labs/sdk-api-core": "^0.16.0",
|
|
12
12
|
"uuid": "11.1.0",
|