@dynamic-labs-wallet/sui 0.0.291 → 0.0.293
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 +3 -3
- package/index.esm.js +3 -3
- package/package.json +2 -2
package/index.cjs.js
CHANGED
|
@@ -80,7 +80,7 @@ class DynamicSuiWalletClient extends browser.DynamicWalletClient {
|
|
|
80
80
|
clientKeyShares,
|
|
81
81
|
overwriteOrMerge: 'overwrite'
|
|
82
82
|
});
|
|
83
|
-
await this.
|
|
83
|
+
await this.storeEncryptedBackupByWallet({
|
|
84
84
|
accountAddress,
|
|
85
85
|
clientKeyShares,
|
|
86
86
|
password,
|
|
@@ -116,7 +116,7 @@ class DynamicSuiWalletClient extends browser.DynamicWalletClient {
|
|
|
116
116
|
try {
|
|
117
117
|
// get public key from keyshare
|
|
118
118
|
// TODO: handle this more gracefully from the client key shares if possible
|
|
119
|
-
const clientKeyShares = await this.
|
|
119
|
+
const clientKeyShares = await this.getClientKeySharesFromStorage({
|
|
120
120
|
accountAddress
|
|
121
121
|
});
|
|
122
122
|
const rawPublicKey = await this.getRawPublicKeyFromClientKeyShares({
|
|
@@ -341,7 +341,7 @@ class DynamicSuiWalletClient extends browser.DynamicWalletClient {
|
|
|
341
341
|
clientKeyShares,
|
|
342
342
|
overwriteOrMerge: 'overwrite'
|
|
343
343
|
});
|
|
344
|
-
await this.
|
|
344
|
+
await this.storeEncryptedBackupByWallet({
|
|
345
345
|
accountAddress,
|
|
346
346
|
clientKeyShares,
|
|
347
347
|
password,
|
package/index.esm.js
CHANGED
|
@@ -78,7 +78,7 @@ class DynamicSuiWalletClient extends DynamicWalletClient {
|
|
|
78
78
|
clientKeyShares,
|
|
79
79
|
overwriteOrMerge: 'overwrite'
|
|
80
80
|
});
|
|
81
|
-
await this.
|
|
81
|
+
await this.storeEncryptedBackupByWallet({
|
|
82
82
|
accountAddress,
|
|
83
83
|
clientKeyShares,
|
|
84
84
|
password,
|
|
@@ -114,7 +114,7 @@ class DynamicSuiWalletClient extends DynamicWalletClient {
|
|
|
114
114
|
try {
|
|
115
115
|
// get public key from keyshare
|
|
116
116
|
// TODO: handle this more gracefully from the client key shares if possible
|
|
117
|
-
const clientKeyShares = await this.
|
|
117
|
+
const clientKeyShares = await this.getClientKeySharesFromStorage({
|
|
118
118
|
accountAddress
|
|
119
119
|
});
|
|
120
120
|
const rawPublicKey = await this.getRawPublicKeyFromClientKeyShares({
|
|
@@ -339,7 +339,7 @@ class DynamicSuiWalletClient extends DynamicWalletClient {
|
|
|
339
339
|
clientKeyShares,
|
|
340
340
|
overwriteOrMerge: 'overwrite'
|
|
341
341
|
});
|
|
342
|
-
await this.
|
|
342
|
+
await this.storeEncryptedBackupByWallet({
|
|
343
343
|
accountAddress,
|
|
344
344
|
clientKeyShares,
|
|
345
345
|
password,
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs-wallet/sui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.293",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@dynamic-labs-wallet/browser": "0.0.
|
|
7
|
+
"@dynamic-labs-wallet/browser": "0.0.293",
|
|
8
8
|
"@mysten/sui": "1.26.0",
|
|
9
9
|
"@noble/hashes": "1.7.1",
|
|
10
10
|
"bech32-converting": "^1.0.9",
|