@ledgerhq/vault-cli 0.70.0 → 0.73.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.
@@ -22,18 +22,12 @@ export declare const minimalGateOptions: ({
22
22
  description: string;
23
23
  })[];
24
24
  declare const _default: ({
25
- name: string;
26
- alias: string;
27
- defaultValue: string;
28
- description: string;
29
- type: StringConstructor;
30
- } | {
31
25
  name: string;
32
26
  type: BooleanConstructor;
33
27
  description: string;
34
28
  } | {
35
29
  name: string;
36
- type: StringConstructor;
37
30
  description: string;
31
+ type: StringConstructor;
38
32
  })[];
39
33
  export default _default;
@@ -13,6 +13,11 @@ exports.MINIVAULT_OPTION = {
13
13
  type: Boolean,
14
14
  description: "If passed, use minivault defaults for gate & device-api",
15
15
  };
16
+ const MINIVAULT_URL_OPTION = {
17
+ name: "minivaultURL",
18
+ description: "Remote URL to apply CLI actions",
19
+ type: String,
20
+ };
16
21
  const SALT_OPTION = {
17
22
  name: "salt",
18
23
  alias: "s",
@@ -36,5 +41,6 @@ exports.default = [
36
41
  description: "If passed, use migration test devices previously injected in the gate",
37
42
  },
38
43
  exports.MINIVAULT_OPTION,
44
+ MINIVAULT_URL_OPTION,
39
45
  ];
40
46
  //# sourceMappingURL=gateOptions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"gateOptions.js","sourceRoot":"","sources":["../src/gateOptions.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAG;IACzB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,GAAG;IACV,YAAY,EAAE,OAAO,CAAC,GAAG,CAAC,cAAc,IAAI,+BAA+B;IAC3E,WAAW,EACT,oFAAoF;IACtF,IAAI,EAAE,MAAM;CACb,CAAC;AAEW,QAAA,gBAAgB,GAAG;IAC9B,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,yDAAyD;CACvE,CAAC;AAEF,MAAM,WAAW,GAAG;IAClB,IAAI,E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b,mBAAW;IACX,WAAW;IACX;QACE,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,yCAAyC;KACvD;IACD;QACE,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,OAAO;QACb,WAAW,EACT,uEAAuE;KAC1E;IACD,wBAAgB;IAChB,oBAAoB;CACrB,CAAC"}
package/bin/types.d.ts CHANGED
@@ -6,6 +6,7 @@ export declare type GateOptions = {
6
6
  readOnlyUser?: string;
7
7
  useInjectedUsers?: boolean;
8
8
  minivault?: boolean;
9
+ minivaultURL?: string;
9
10
  } & LamOptions & CliOptions;
10
11
  export declare type LamOptions = {
11
12
  lam?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ledgerhq/vault-cli",
3
- "version": "0.70.0",
4
- "description": "> TODO: description",
3
+ "version": "0.73.0",
4
+ "description": "A various utility command-line for Vault development",
5
5
  "homepage": "https://github.com/LedgerHQ/vault-js",
6
6
  "license": "BSD-2-Clause",
7
7
  "repository": {
@@ -21,8 +21,8 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@ledgerhq/cryptoassets": "^5.51.0",
24
- "@ledgerhq/live-common-stub": "^0.70.0",
25
- "@ledgerhq/vault-common": "^0.70.0",
24
+ "@ledgerhq/live-common-stub": "^0.73.0",
25
+ "@ledgerhq/vault-common": "^0.73.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": "6ff2d45b9cc5ce22bf820fbbd3309d80721e6355"
51
+ "gitHead": "96b1964929bd0f2a2f8a35ec9d21c15bde23fa77"
52
52
  }