wallaby-cash 1.7.21 → 1.7.22

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.
@@ -47,12 +47,13 @@ declare class StorageService {
47
47
  * @returns { string | undefined } It returns the decrypted private key as a string or undefined if it can't decrypt it or find it
48
48
  */
49
49
  getDecryptedPrivateKey(password: string): Promise<string | undefined>;
50
- setEncryptedSeedPhrase({ decryptedSeedPhrase, seedPhraseType, password, deviceAuthPublicKey, getUserSalt, }: {
50
+ setEncryptedSeedPhrase({ decryptedSeedPhrase, seedPhraseType, password, deviceAuthPublicKey, getUserSalt, salt, }: {
51
51
  decryptedSeedPhrase: string;
52
52
  seedPhraseType: SeedPhraseType;
53
53
  password: string;
54
54
  deviceAuthPublicKey: string;
55
55
  getUserSalt: () => Promise<string>;
56
+ salt?: string;
56
57
  }): Promise<boolean>;
57
58
  /**
58
59
  *
@@ -66,10 +67,11 @@ declare class StorageService {
66
67
  * @param {SeedPhraseType} seedPhraseType
67
68
  * @returns { string | undefined } It returns the decrypted seed phrase as a string or undefined
68
69
  */
69
- getDecryptedSeedPhrase({ password, seedPhraseType, getUserSalt, }: {
70
+ getDecryptedSeedPhrase({ password, seedPhraseType, getUserSalt, salt, }: {
70
71
  password: string;
71
72
  seedPhraseType: SeedPhraseType;
72
73
  getUserSalt: () => Promise<string>;
74
+ salt?: string;
73
75
  }): Promise<string | undefined>;
74
76
  setAccessToken(accessToken: string): Promise<boolean>;
75
77
  getAccessToken(): Promise<string | undefined>;
@@ -118,6 +118,10 @@ export declare class Wallet extends Base {
118
118
  seedPhrase: string;
119
119
  decryptedAlgorandSeedphrase: string;
120
120
  }) | undefined>;
121
+ changePassword({ oldPassword, newPassword }: {
122
+ oldPassword: string;
123
+ newPassword: string;
124
+ }): Promise<boolean>;
121
125
  /**
122
126
  *
123
127
  * Get all user assets across all wallets by specifying user id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wallaby-cash",
3
- "version": "1.7.21",
3
+ "version": "1.7.22",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",