@ledgerhq/vault-cli 1.63.1 → 1.63.3
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 -0
- package/bin/commands/index.d.ts.map +1 -1
- package/bin/commands/wipe.d.ts +12 -0
- package/bin/commands/wipe.d.ts.map +1 -1
- package/bin/commands/wipe.js +12 -0
- 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.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [d109da2]
|
|
8
|
+
- @ledgerhq/vault-common@1.95.2
|
|
9
|
+
|
|
10
|
+
## 1.63.2
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- 6e29e90: Actually send the LAM options to the wipe command
|
|
15
|
+
|
|
3
16
|
## 1.63.1
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/bin/commands/index.d.ts
CHANGED
|
@@ -147,6 +147,12 @@ declare const _default: {
|
|
|
147
147
|
description: string;
|
|
148
148
|
alias?: undefined;
|
|
149
149
|
defaultValue?: undefined;
|
|
150
|
+
} | {
|
|
151
|
+
name: string;
|
|
152
|
+
type: StringConstructor;
|
|
153
|
+
description: string;
|
|
154
|
+
alias?: undefined;
|
|
155
|
+
defaultValue?: undefined;
|
|
150
156
|
})[];
|
|
151
157
|
run: typeof import("./wipe").wipe;
|
|
152
158
|
} | {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/commands/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceR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({
|
|
|
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;
|
|
32
38
|
})[];
|
|
33
39
|
declare const _default: {
|
|
34
40
|
command: string;
|
|
@@ -64,6 +70,12 @@ declare const _default: {
|
|
|
64
70
|
description: string;
|
|
65
71
|
alias?: undefined;
|
|
66
72
|
defaultValue?: undefined;
|
|
73
|
+
} | {
|
|
74
|
+
name: string;
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
description: string;
|
|
77
|
+
alias?: undefined;
|
|
78
|
+
defaultValue?: undefined;
|
|
67
79
|
})[];
|
|
68
80
|
run: typeof wipe;
|
|
69
81
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wipe.d.ts","sourceRoot":"","sources":["../../src/commands/wipe.ts"],"names":[],"mappings":"AAMA,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,
|
|
1
|
+
{"version":3,"file":"wipe.d.ts","sourceRoot":"","sources":["../../src/commands/wipe.ts"],"names":[],"mappings":"AAMA,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;;;;;;;;;;;;;;;;;;;;;;;;IA8CvB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEF,wBAME"}
|
package/bin/commands/wipe.js
CHANGED
|
@@ -25,6 +25,8 @@ function wipe(options) {
|
|
|
25
25
|
const cert = yield (0, getCertFromPFX_1.default)(options.hsmCert, options.hsmCertPassword);
|
|
26
26
|
const wipeOptions = {
|
|
27
27
|
gate: options.gate,
|
|
28
|
+
lam: options.lam,
|
|
29
|
+
lamAPIKey: options.lamAPIKey,
|
|
28
30
|
hsmCompartmentID: options.compartment,
|
|
29
31
|
hsmEndpoint: options.hsm,
|
|
30
32
|
hsmCert: cert.cert,
|
|
@@ -72,6 +74,16 @@ exports.wipeOptions = [
|
|
|
72
74
|
type: Number,
|
|
73
75
|
description: "Size of file system",
|
|
74
76
|
},
|
|
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
|
+
},
|
|
75
87
|
];
|
|
76
88
|
exports.default = {
|
|
77
89
|
command: "wipe",
|
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,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,EAAN,gBAAM,EAAE,CAAC,CAAC;IAC9C,CAAC;CAAA;
|
|
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,eAA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E,MAAM;QACZ,WAAW,EAAE,qBAAqB;KACnC;IACD;QACE,IAAI,EAAE,KAAK;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,oEAAoE;KAClF;IACD;QACE,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,gDAAgD;KAC9D;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,CAAC;IACxD,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.3",
|
|
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.2",
|
|
39
39
|
"@ledgerhq/vault-utils": "1.0.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|