@ledgerhq/vault-cli 1.63.3 → 1.63.5
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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +13 -0
- package/bin/commands/index.d.ts +6 -6
- package/bin/commands/wipe.d.ts +6 -12
- package/bin/commands/wipe.d.ts.map +1 -1
- package/bin/commands/wipe.js +2 -11
- package/bin/commands/wipe.js.map +1 -1
- package/package.json +2 -2
package/.turbo/turbo-build.log
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @ledgerhq/vault-cli
|
|
2
2
|
|
|
3
|
+
## 1.63.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [0e9ae07]
|
|
8
|
+
- @ledgerhq/vault-common@1.95.3
|
|
9
|
+
|
|
10
|
+
## 1.63.4
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- 0b86fdd: Fix conflict between Wipe and Bake options
|
|
15
|
+
|
|
3
16
|
## 1.63.3
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/bin/commands/index.d.ts
CHANGED
|
@@ -129,6 +129,12 @@ declare const _default: {
|
|
|
129
129
|
name: string;
|
|
130
130
|
type: BooleanConstructor;
|
|
131
131
|
description: string;
|
|
132
|
+
} | {
|
|
133
|
+
name: string;
|
|
134
|
+
description: string;
|
|
135
|
+
type: StringConstructor;
|
|
136
|
+
alias?: undefined;
|
|
137
|
+
defaultValue?: undefined;
|
|
132
138
|
} | {
|
|
133
139
|
name: string;
|
|
134
140
|
alias: string;
|
|
@@ -147,12 +153,6 @@ declare const _default: {
|
|
|
147
153
|
description: string;
|
|
148
154
|
alias?: undefined;
|
|
149
155
|
defaultValue?: undefined;
|
|
150
|
-
} | {
|
|
151
|
-
name: string;
|
|
152
|
-
type: StringConstructor;
|
|
153
|
-
description: string;
|
|
154
|
-
alias?: undefined;
|
|
155
|
-
defaultValue?: undefined;
|
|
156
156
|
})[];
|
|
157
157
|
run: typeof import("./wipe").wipe;
|
|
158
158
|
} | {
|
package/bin/commands/wipe.d.ts
CHANGED
|
@@ -29,12 +29,6 @@ export declare const wipeOptions: ({
|
|
|
29
29
|
description: string;
|
|
30
30
|
alias?: undefined;
|
|
31
31
|
defaultValue?: undefined;
|
|
32
|
-
} | {
|
|
33
|
-
name: string;
|
|
34
|
-
type: StringConstructor;
|
|
35
|
-
description: string;
|
|
36
|
-
alias?: undefined;
|
|
37
|
-
defaultValue?: undefined;
|
|
38
32
|
})[];
|
|
39
33
|
declare const _default: {
|
|
40
34
|
command: string;
|
|
@@ -52,6 +46,12 @@ declare const _default: {
|
|
|
52
46
|
name: string;
|
|
53
47
|
type: BooleanConstructor;
|
|
54
48
|
description: string;
|
|
49
|
+
} | {
|
|
50
|
+
name: string;
|
|
51
|
+
description: string;
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
alias?: undefined;
|
|
54
|
+
defaultValue?: undefined;
|
|
55
55
|
} | {
|
|
56
56
|
name: string;
|
|
57
57
|
alias: string;
|
|
@@ -70,12 +70,6 @@ declare const _default: {
|
|
|
70
70
|
description: string;
|
|
71
71
|
alias?: undefined;
|
|
72
72
|
defaultValue?: undefined;
|
|
73
|
-
} | {
|
|
74
|
-
name: string;
|
|
75
|
-
type: StringConstructor;
|
|
76
|
-
description: string;
|
|
77
|
-
alias?: undefined;
|
|
78
|
-
defaultValue?: undefined;
|
|
79
73
|
})[];
|
|
80
74
|
run: typeof wipe;
|
|
81
75
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wipe.d.ts","sourceRoot":"","sources":["../../src/commands/wipe.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"wipe.d.ts","sourceRoot":"","sources":["../../src/commands/wipe.ts"],"names":[],"mappings":"AAOA,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,MAAM,CAAC;IACxB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,wBAAsB,IAAI,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,CAqBrE;AAED,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;IAoCvB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEF,wBAME"}
|
package/bin/commands/wipe.js
CHANGED
|
@@ -16,6 +16,7 @@ exports.wipeOptions = exports.wipe = void 0;
|
|
|
16
16
|
const vault_common_1 = require("@ledgerhq/vault-common");
|
|
17
17
|
const gateOptions_1 = require("../gateOptions");
|
|
18
18
|
const getCertFromPFX_1 = __importDefault(require("../getCertFromPFX"));
|
|
19
|
+
const lamOptions_1 = __importDefault(require("../lamOptions"));
|
|
19
20
|
const logger_1 = __importDefault(require("../logger"));
|
|
20
21
|
function wipe(options) {
|
|
21
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -74,22 +75,12 @@ exports.wipeOptions = [
|
|
|
74
75
|
type: Number,
|
|
75
76
|
description: "Size of file system",
|
|
76
77
|
},
|
|
77
|
-
{
|
|
78
|
-
name: "lam",
|
|
79
|
-
type: String,
|
|
80
|
-
description: "The LAM url. If provided, it will try to empty the user store file",
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
name: "lamAPIKey",
|
|
84
|
-
type: String,
|
|
85
|
-
description: "The LAM API key. Required if your LAM needs it",
|
|
86
|
-
},
|
|
87
78
|
];
|
|
88
79
|
exports.default = {
|
|
89
80
|
command: "wipe",
|
|
90
81
|
description: "Wipe backend data and reset it to onboarding state",
|
|
91
82
|
help: [{ content: "{grey $} ledger-vault wipe [options]" }],
|
|
92
|
-
options: [gateOptions_1.GATE_OPTION, gateOptions_1.MINIVAULT_OPTION, ...exports.wipeOptions],
|
|
83
|
+
options: [gateOptions_1.GATE_OPTION, gateOptions_1.MINIVAULT_OPTION, ...exports.wipeOptions, ...lamOptions_1.default],
|
|
93
84
|
run: wipe,
|
|
94
85
|
};
|
|
95
86
|
//# sourceMappingURL=wipe.js.map
|
package/bin/commands/wipe.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wipe.js","sourceRoot":"","sources":["../../src/commands/wipe.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,yDAAkE;AAElE,gDAA+D;AAC/D,uEAA+C;AAC/C,uDAA+B;AAgB/B,SAAsB,IAAI,CAAC,OAA2B;;QACpD,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE;YACpB,MAAM,IAAI,KAAK,CACb,qIAAqI,CACtI,CAAC;SACH;QAED,MAAM,IAAI,GAAG,MAAM,IAAA,wBAAc,EAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;QAE5E,MAAM,WAAW,GAAgB;YAC/B,IAAI,EAAE,OAAO,CAAC,IAAI;YAClB,GAAG,EAAE,OAAO,CAAC,GAAG;YAChB,SAAS,EAAE,OAAO,CAAC,SAAS;YAC5B,gBAAgB,EAAE,OAAO,CAAC,WAAW;YACrC,WAAW,EAAE,OAAO,CAAC,GAAG;YACxB,OAAO,EAAE,IAAI,CAAC,IAAI;YAClB,UAAU,EAAE,IAAI,CAAC,GAAG;YACpB,qBAAqB,EAAE,OAAO,CAAC,qBAAqB;YACpD,cAAc,EAAE,OAAO,CAAC,cAAc;SACvC,CAAC;QACF,OAAO,IAAA,0BAAW,EAAC,WAAW,EAAE,EAAE,MAAM,E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Z,WAAW,EAAE,qBAAqB;KACnC;CACF,CAAC;AAEF,kBAAe;IACb,OAAO,EAAE,MAAM;IACf,WAAW,EAAE,oDAAoD;IACjE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,sCAAsC,EAAE,CAAC;IAC3D,OAAO,EAAE,CAAC,yBAAW,EAAE,8BAAgB,EAAE,GAAG,mBAAW,EAAE,GAAG,oBAAU,CAAC;IACvE,GAAG,EAAE,IAAI;CACV,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ledgerhq/vault-cli",
|
|
3
|
-
"version": "1.63.
|
|
3
|
+
"version": "1.63.5",
|
|
4
4
|
"description": "A various utility command-line for Vault development",
|
|
5
5
|
"homepage": "https://github.com/LedgerHQ/vault-ts",
|
|
6
6
|
"license": "BSD-2-Clause",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"qs": "^6.11.2",
|
|
36
36
|
"@ledgerhq/coin-check": "0.4.1",
|
|
37
37
|
"@ledgerhq/live-common-stub": "1.6.1",
|
|
38
|
-
"@ledgerhq/vault-common": "1.95.
|
|
38
|
+
"@ledgerhq/vault-common": "1.95.3",
|
|
39
39
|
"@ledgerhq/vault-utils": "1.0.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|