@dynamic-labs-wallet/node-svm 0.0.76 → 0.0.77
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.js +2 -2
- package/index.esm.js +2 -2
- package/package.json +2 -2
package/index.cjs.js
CHANGED
|
@@ -85,7 +85,7 @@ class DynamicSvmWalletClient extends node.DynamicWalletClient {
|
|
|
85
85
|
throw new Error('Error creating wallet account');
|
|
86
86
|
}
|
|
87
87
|
const { accountAddress } = await this.deriveAccountAddress(rawPublicKey);
|
|
88
|
-
|
|
88
|
+
await this.storeEncryptedBackupByWalletWithRetry({
|
|
89
89
|
accountAddress,
|
|
90
90
|
externalServerKeyShares,
|
|
91
91
|
password
|
|
@@ -271,7 +271,7 @@ class DynamicSvmWalletClient extends node.DynamicWalletClient {
|
|
|
271
271
|
throw new Error(`Public key mismatch: derived address ${accountAddress} !== public key ${publicKey}`);
|
|
272
272
|
}
|
|
273
273
|
// Backup the new wallet without waiting for the promise to resolve
|
|
274
|
-
|
|
274
|
+
await this.storeEncryptedBackupByWalletWithRetry({
|
|
275
275
|
accountAddress,
|
|
276
276
|
externalServerKeyShares,
|
|
277
277
|
password
|
package/index.esm.js
CHANGED
|
@@ -83,7 +83,7 @@ class DynamicSvmWalletClient extends DynamicWalletClient {
|
|
|
83
83
|
throw new Error('Error creating wallet account');
|
|
84
84
|
}
|
|
85
85
|
const { accountAddress } = await this.deriveAccountAddress(rawPublicKey);
|
|
86
|
-
|
|
86
|
+
await this.storeEncryptedBackupByWalletWithRetry({
|
|
87
87
|
accountAddress,
|
|
88
88
|
externalServerKeyShares,
|
|
89
89
|
password
|
|
@@ -269,7 +269,7 @@ class DynamicSvmWalletClient extends DynamicWalletClient {
|
|
|
269
269
|
throw new Error(`Public key mismatch: derived address ${accountAddress} !== public key ${publicKey}`);
|
|
270
270
|
}
|
|
271
271
|
// Backup the new wallet without waiting for the promise to resolve
|
|
272
|
-
|
|
272
|
+
await this.storeEncryptedBackupByWalletWithRetry({
|
|
273
273
|
accountAddress,
|
|
274
274
|
externalServerKeyShares,
|
|
275
275
|
password
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs-wallet/node-svm",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.77",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@dynamic-labs-wallet/node": "0.0.
|
|
6
|
+
"@dynamic-labs-wallet/node": "0.0.77",
|
|
7
7
|
"@solana/web3.js": "^1.98.2"
|
|
8
8
|
},
|
|
9
9
|
"publishConfig": {
|