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.
- package/README.md +0 -1
- package/dist/base.d.ts +1 -0
- package/dist/index.cjs.js +240 -82
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +240 -82
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +240 -82
- package/dist/index.js.map +1 -1
- package/dist/lib/utils/cipher.service.d.ts +1 -1
- package/dist/lib/utils/constants.d.ts +1 -0
- package/dist/lib/wallet/wallet.service.d.ts +2 -0
- package/dist/package.json +2 -1
- package/dist/types/common.d.ts +1 -2
- package/dist/types/error-response-codes.d.ts +1 -0
- package/dist/types/storage.d.ts +3 -1
- package/package.json +2 -1
|
@@ -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
|
-
|
|
117
|
+
doubleEncrypt({ decryptedData, credentialsKeyPair, deviceKeyPair, }: {
|
|
118
118
|
decryptedData: string;
|
|
119
119
|
credentialsKeyPair: {
|
|
120
120
|
publicKey: string;
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wallaby-cash",
|
|
3
|
-
"version": "2.2.
|
|
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",
|
package/dist/types/common.d.ts
CHANGED
|
@@ -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",
|
package/dist/types/storage.d.ts
CHANGED
|
@@ -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
|
+
"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",
|