wallaby-cash 2.2.3 → 2.2.4

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.
@@ -114,7 +114,7 @@ export declare class Cipher {
114
114
  * @param {string} deviceKeyPair - The public key to encrypt the data with.
115
115
  * @returns {Promise<Encrypted>} The encrypted data ready for storage.
116
116
  */
117
- prepareDecryptedDataForStorage({ decryptedData, credentialsKeyPair, deviceKeyPair, }: {
117
+ doubleEncrypt({ decryptedData, credentialsKeyPair, deviceKeyPair, }: {
118
118
  decryptedData: string;
119
119
  credentialsKeyPair: {
120
120
  publicKey: string;
@@ -44,3 +44,4 @@ export declare const env: {
44
44
  isServer: boolean;
45
45
  isWeb: boolean;
46
46
  };
47
+ export declare const currentPackageVersion: string;
@@ -5,6 +5,8 @@ export declare class WalletService extends Base {
5
5
  private authService;
6
6
  private handlers;
7
7
  private passkeyService;
8
+ private passwordResetAttempts;
9
+ private migrationAttempts;
8
10
  constructor(config: WallabyConfig);
9
11
  /**
10
12
  * @public
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wallaby-cash",
3
- "version": "2.2.3",
3
+ "version": "2.2.4",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git@github.com:WALLABY-WaaS/wallaby-sdk-js.git"
@@ -64,6 +64,7 @@
64
64
  "@rollup/plugin-commonjs": "^26.0.1",
65
65
  "@rollup/plugin-json": "^6.1.0",
66
66
  "@rollup/plugin-node-resolve": "^15.2.3",
67
+ "@rollup/plugin-replace": "^6.0.3",
67
68
  "@rollup/plugin-terser": "^0.4.4",
68
69
  "@rollup/plugin-typescript": "^11.1.6",
69
70
  "@semantic-release/changelog": "^6.0.3",
@@ -201,8 +201,7 @@ export declare enum BlockchainName {
201
201
  Polygon = "POLYGON",
202
202
  Polymesh = "POLYMESH",
203
203
  Sei = "SEI",
204
- Sui = "SUI",
205
- Solana = "SOLANA"
204
+ Sui = "SUI"
206
205
  }
207
206
  export declare enum RequestMethod {
208
207
  Post = "POST",
@@ -33,6 +33,7 @@ export declare enum ErrorResponseCodes {
33
33
  'sdk_jwt_invalid' = "sdk_jwt_invalid",
34
34
  'sdk_jwt_expired' = "sdk_jwt_expired",
35
35
  'sdk_unknown_error' = "sdk_unknown_error",
36
+ 'sdk_too_many_requests' = "sdk_too_many_requests",
36
37
  'sdk_seed_phrase_decryption_failed' = "sdk_seed_phrase_decryption_failed",
37
38
  'sdk_key_shares_not_found' = "sdk_key_shares_not_found",
38
39
  'sdk_key_share_decryption_failed' = "sdk_key_share_decryption_failed",
@@ -55,5 +55,7 @@ export declare enum V2KeyNames {
55
55
  EncryptedStandardSeedPhrase = "encrypted-standard-seedPhrase",
56
56
  PasskeyCredential = "pass-key-credential",
57
57
  PrimaryDeviceKeyShare = "primary-device-key-share",
58
- WallabyAuthPubKey = "wallaby-auth-pub-key"
58
+ WallabyAuthPubKey = "wallaby-auth-pub-key",
59
+ MigrationVersion = "wsdk_migrated_with_version",
60
+ LastMigratedAt = "wsdk_last_migrated_at"
59
61
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wallaby-cash",
3
- "version": "2.2.3",
3
+ "version": "2.2.4",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git@github.com:WALLABY-WaaS/wallaby-sdk-js.git"
@@ -64,6 +64,7 @@
64
64
  "@rollup/plugin-commonjs": "^26.0.1",
65
65
  "@rollup/plugin-json": "^6.1.0",
66
66
  "@rollup/plugin-node-resolve": "^15.2.3",
67
+ "@rollup/plugin-replace": "^6.0.3",
67
68
  "@rollup/plugin-terser": "^0.4.4",
68
69
  "@rollup/plugin-typescript": "^11.1.6",
69
70
  "@semantic-release/changelog": "^6.0.3",