@ledgerhq/vault-cli 0.64.0 → 0.65.0

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.
@@ -35,6 +35,12 @@ declare const _default: {
35
35
  description: string;
36
36
  alias?: undefined;
37
37
  defaultValue?: undefined;
38
+ } | {
39
+ name: string;
40
+ alias: string;
41
+ type: NumberConstructor;
42
+ description: string;
43
+ defaultValue?: undefined;
38
44
  } | {
39
45
  name: string;
40
46
  description: string;
@@ -38,6 +38,12 @@ declare const _default: {
38
38
  description: string;
39
39
  alias?: undefined;
40
40
  defaultValue?: undefined;
41
+ } | {
42
+ name: string;
43
+ alias: string;
44
+ type: NumberConstructor;
45
+ description: string;
46
+ defaultValue?: undefined;
41
47
  } | {
42
48
  name: string;
43
49
  type: StringConstructor;
@@ -96,6 +102,12 @@ declare const _default: {
96
102
  description: string;
97
103
  alias?: undefined;
98
104
  defaultValue?: undefined;
105
+ } | {
106
+ name: string;
107
+ alias: string;
108
+ type: NumberConstructor;
109
+ description: string;
110
+ defaultValue?: undefined;
99
111
  })[];
100
112
  run: typeof import("./wipe").wipe;
101
113
  } | {
@@ -6,6 +6,7 @@ declare type WipeCommandOptions = {
6
6
  hsmCert: string;
7
7
  hsmCertPassword: string;
8
8
  monotonicCountersSize?: number;
9
+ fileSystemSize?: number;
9
10
  };
10
11
  export declare function wipe(options: WipeCommandOptions): Promise<void>;
11
12
  export declare const wipeOptions: ({
@@ -26,6 +27,12 @@ export declare const wipeOptions: ({
26
27
  description: string;
27
28
  alias?: undefined;
28
29
  defaultValue?: undefined;
30
+ } | {
31
+ name: string;
32
+ alias: string;
33
+ type: NumberConstructor;
34
+ description: string;
35
+ defaultValue?: undefined;
29
36
  })[];
30
37
  declare const _default: {
31
38
  command: string;
@@ -61,6 +68,12 @@ declare const _default: {
61
68
  description: string;
62
69
  alias?: undefined;
63
70
  defaultValue?: undefined;
71
+ } | {
72
+ name: string;
73
+ alias: string;
74
+ type: NumberConstructor;
75
+ description: string;
76
+ defaultValue?: undefined;
64
77
  })[];
65
78
  run: typeof wipe;
66
79
  };
@@ -17,6 +17,7 @@ function wipe(options) {
17
17
  hsmCert,
18
18
  hsmCertPassword: options.hsmCertPassword,
19
19
  monotonicCountersSize: options.monotonicCountersSize,
20
+ fileSystemSize: options.fileSystemSize,
20
21
  };
21
22
  return vault_common_1.wipeBackend(wipeOptions, { logger: logger_1.default });
22
23
  }
@@ -52,6 +53,12 @@ exports.wipeOptions = [
52
53
  type: Number,
53
54
  description: "Size of monotonic counters",
54
55
  },
56
+ {
57
+ name: "fileSystemSize",
58
+ alias: "fsSize",
59
+ type: Number,
60
+ description: "Size of file system",
61
+ },
55
62
  ];
56
63
  exports.default = {
57
64
  command: "wipe",
@@ -1 +1 @@
1
- {"version":3,"file":"wipe.js","sourceRoot":"","sources":["../../src/commands/wipe.ts"],"names":[],"mappings":";;;;;;AAAA,4CAAoB;AACpB,yDAAkE;AAElE,uDAA+B;AAC/B,gDAA+D;AAa/D,SAAgB,IAAI,CAAC,OAA2B;IAC9C,MAAM,OAAO,GAAG,YAAE,CAAC,YAAY,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IACjD,MAAM,WAAW,GAAgB;QAC/B,IAAI,EAAE,OAAO,CAAC,IAAI;QAClB,gBAAgB,EAAE,OAAO,CAAC,WAAW;QACrC,WAAW,EAAE,OAAO,CAAC,GAAG;QACxB,OAAO;QACP,eAAe,EAAE,OAAO,CAAC,eAAe;QACxC,qBAAqB,EAAE,OAAO,CAAC,qBAAqB;KACrD,CAAC;IACF,OAAO,0BAAW,CAAC,WAAW,EAAE,EAAE,MAAM,EAAN,gBAAM,EAAE,CAAC,CAAC;AAC9C,CAAC;AAXD,oBAWC;AAEY,QAAA,WAAW,GAAG;IACzB;QACE,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,GAAG;QACV,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,iDAAiD;QAC9D,YAAY,EAAE,OAAO,CAA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1
  {
2
2
  "name": "@ledgerhq/vault-cli",
3
- "version": "0.64.0",
3
+ "version": "0.65.0",
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.64.0",
25
+ "@ledgerhq/vault-common": "^0.65.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": "617c033e5391b85ca4719779732050ea9cc99a1e"
51
+ "gitHead": "8d8556da5033268912ded94cfac33f7422f14946"
52
52
  }