@ledgerhq/vault-cli 0.53.0 → 0.56.1
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 -2
- package/bin/cli.js +0 -14
- package/bin/cli.js.map +1 -1
- package/bin/commands/bake.d.ts +4 -7
- package/bin/commands/bake.js +2 -2
- package/bin/commands/bake.js.map +1 -1
- package/bin/commands/create.d.ts +3 -6
- package/bin/commands/create.js +2 -4
- package/bin/commands/create.js.map +1 -1
- package/bin/commands/drain.d.ts +0 -3
- package/bin/commands/drain.js +2 -4
- package/bin/commands/drain.js.map +1 -1
- package/bin/commands/fetch.d.ts +3 -6
- package/bin/commands/fetch.js +3 -5
- package/bin/commands/fetch.js.map +1 -1
- package/bin/commands/get.d.ts +5 -8
- package/bin/commands/get.js +9 -13
- package/bin/commands/get.js.map +1 -1
- package/bin/commands/getAuthToken.d.ts +0 -3
- package/bin/commands/getAuthToken.js +0 -2
- package/bin/commands/getAuthToken.js.map +1 -1
- package/bin/commands/getUserID.d.ts +0 -3
- package/bin/commands/getUserID.js +0 -2
- package/bin/commands/getUserID.js.map +1 -1
- package/bin/commands/index.d.ts +23 -49
- package/bin/commands/listen.d.ts +0 -3
- package/bin/commands/listen.js +3 -5
- package/bin/commands/listen.js.map +1 -1
- package/bin/commands/receive.d.ts +0 -3
- package/bin/commands/receive.js +1 -14
- package/bin/commands/receive.js.map +1 -1
- package/bin/commands/recipe.d.ts +0 -3
- package/bin/commands/recipe.js +0 -2
- package/bin/commands/recipe.js.map +1 -1
- package/bin/commands/reject.d.ts +3 -6
- package/bin/commands/reject.js +1 -3
- package/bin/commands/reject.js.map +1 -1
- package/bin/commands/send.d.ts +1 -3
- package/bin/commands/send.js +17 -2
- package/bin/commands/send.js.map +1 -1
- package/bin/commands/stats.d.ts +3 -6
- package/bin/commands/stats.js +3 -5
- package/bin/commands/stats.js.map +1 -1
- package/bin/commands/wipe.d.ts +5 -0
- package/bin/commands/wipe.js +1 -1
- package/bin/commands/wipe.js.map +1 -1
- package/bin/gateOptions.d.ts +9 -7
- package/bin/gateOptions.js +7 -11
- package/bin/gateOptions.js.map +1 -1
- package/bin/presets/migration-1account-6whitelists-3groups-4users.json +1910 -0
- package/bin/types.d.ts +0 -1
- package/package.json +3 -3
- package/bin/__patchGateOptionsWithLegacySeeds.d.ts +0 -2
- package/bin/__patchGateOptionsWithLegacySeeds.js +0 -13
- package/bin/__patchGateOptionsWithLegacySeeds.js.map +0 -1
package/bin/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ledgerhq/vault-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.56.1",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "https://github.com/LedgerHQ/vault-js",
|
|
6
6
|
"license": "BSD-2-Clause",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@ledgerhq/cryptoassets": "^5.51.0",
|
|
24
24
|
"@ledgerhq/live-common": "^19.8.0",
|
|
25
|
-
"@ledgerhq/vault-common": "^0.
|
|
25
|
+
"@ledgerhq/vault-common": "^0.56.0",
|
|
26
26
|
"axios": "^0.21.0",
|
|
27
27
|
"bignumber.js": "^9.0.1",
|
|
28
28
|
"body-parser": "^1.19.0",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"@types/node": "^15.0.2",
|
|
49
49
|
"@types/progress": "^2.0.3"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "7525ddb5da8e60547746a7389e66a13539ef2b46"
|
|
52
52
|
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
function __patchGateOptionsWithLegacySeeds(opts) {
|
|
4
|
-
if (opts.legacySeeds) {
|
|
5
|
-
opts.overrideSeeds = [];
|
|
6
|
-
for (let i = 1; process.env[`LEGACY_SEED_${i}`]; i++) {
|
|
7
|
-
opts.overrideSeeds.push(process.env[`LEGACY_SEED_${i}`]);
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
return opts;
|
|
11
|
-
}
|
|
12
|
-
exports.default = __patchGateOptionsWithLegacySeeds;
|
|
13
|
-
//# sourceMappingURL=__patchGateOptionsWithLegacySeeds.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"__patchGateOptionsWithLegacySeeds.js","sourceRoot":"","sources":["../src/__patchGateOptionsWithLegacySeeds.ts"],"names":[],"mappings":";;AAEA,SAAwB,iCAAiC,CACvD,IAAiB;IAEjB,IAAI,IAAI,CAAC,WAAW,EAAE;QACpB,IAAI,CAAC,aAAa,GAAG,EAAE,CAAC;QACxB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE;YAEpD,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC,CAAC;SAC1D;KACF;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAXD,oDAWC"}
|