@ledgerhq/vault-cli 1.16.2 → 1.17.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.
- package/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +12 -0
- package/bin/commands/deploy.d.ts +7 -0
- package/bin/commands/deploy.d.ts.map +1 -1
- package/bin/commands/deploy.js +7 -1
- package/bin/commands/deploy.js.map +1 -1
- package/bin/commands/index.d.ts +7 -0
- package/bin/commands/index.d.ts.map +1 -1
- package/package.json +2 -2
package/.turbo/turbo-build.log
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @ledgerhq/vault-cli
|
|
2
2
|
|
|
3
|
+
## 1.17.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 09a49c5: VG-11489 Add a watch deployment timeout of 10 min by default
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [790831d]
|
|
12
|
+
- Updated dependencies [09a49c5]
|
|
13
|
+
- @ledgerhq/vault-common@1.19.0
|
|
14
|
+
|
|
3
15
|
## 1.16.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/bin/commands/deploy.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ declare type DeployCommandOptions = {
|
|
|
5
5
|
expirationHours?: number;
|
|
6
6
|
preset?: string;
|
|
7
7
|
values?: string;
|
|
8
|
+
watchTimeoutMinutes?: number;
|
|
8
9
|
};
|
|
9
10
|
export declare const deployCommand: (options: DeployCommandOptions) => Promise<void>;
|
|
10
11
|
declare const _default: {
|
|
@@ -38,6 +39,12 @@ declare const _default: {
|
|
|
38
39
|
type: StringConstructor;
|
|
39
40
|
defaultValue: string;
|
|
40
41
|
required?: undefined;
|
|
42
|
+
} | {
|
|
43
|
+
name: string;
|
|
44
|
+
description: string;
|
|
45
|
+
type: NumberConstructor;
|
|
46
|
+
defaultValue: number;
|
|
47
|
+
required?: undefined;
|
|
41
48
|
})[];
|
|
42
49
|
run: (options: DeployCommandOptions) => Promise<void>;
|
|
43
50
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../src/commands/deploy.ts"],"names":[],"mappings":"AAUA,aAAK,oBAAoB,GAAG;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../src/commands/deploy.ts"],"names":[],"mappings":"AAUA,aAAK,oBAAoB,GAAG;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,aAAa,YAAmB,oBAAoB,KAAG,QAAQ,IAAI,CAuB/E,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEF,wBAwDE"}
|
package/bin/commands/deploy.js
CHANGED
|
@@ -21,7 +21,7 @@ const deployCommand = (options) => __awaiter(void 0, void 0, void 0, function* (
|
|
|
21
21
|
if (options.values) {
|
|
22
22
|
values = JSON.parse(options.values);
|
|
23
23
|
}
|
|
24
|
-
const deployOptions = Object.assign(Object.assign(Object.assign({ remoteURL: options.remoteURL, name: options.name, owner: options.owner }, (options.preset ? { preset: options.preset } : {})), (values ? { values } : {})), (options.expirationHours
|
|
24
|
+
const deployOptions = Object.assign(Object.assign(Object.assign({ remoteURL: options.remoteURL, name: options.name, owner: options.owner, watchTimeoutMinutes: options.watchTimeoutMinutes }, (options.preset ? { preset: options.preset } : {})), (values ? { values } : {})), (options.expirationHours
|
|
25
25
|
? {
|
|
26
26
|
expireOn: (0, moment_1.default)().add(options.expirationHours, "hours").toDate(),
|
|
27
27
|
}
|
|
@@ -81,6 +81,12 @@ exports.default = {
|
|
|
81
81
|
type: String,
|
|
82
82
|
defaultValue: vault_common_1.DEFAULT_VAULT_REMOTE_URL,
|
|
83
83
|
},
|
|
84
|
+
{
|
|
85
|
+
name: "watchTimeoutMinutes",
|
|
86
|
+
description: `Stop watching and throw after the given elapsed minutes {grey (default: 10)}`,
|
|
87
|
+
type: Number,
|
|
88
|
+
defaultValue: 10,
|
|
89
|
+
},
|
|
84
90
|
],
|
|
85
91
|
run: exports.deployCommand,
|
|
86
92
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploy.js","sourceRoot":"","sources":["../../src/commands/deploy.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,yDAKgC;AAChC,oDAA4B;AAE5B,uDAA+B;
|
|
1
|
+
{"version":3,"file":"deploy.js","sourceRoot":"","sources":["../../src/commands/deploy.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,yDAKgC;AAChC,oDAA4B;AAE5B,uDAA+B;AAYxB,MAAM,aAAa,GAAG,CAAO,OAA6B,EAAiB,EAAE;IAClF,IAAI,MAAM,GAAsB,IAAI,CAAC;IACrC,IAAI,OAAO,CAAC,MAAM,EAAE;QAClB,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAe,CAAC;KACnD;IACD,MAAM,aAAa,+CACjB,SAAS,EAAE,OAAO,CAAC,SAAS,EAC5B,IAAI,EAAE,OAAO,CAAC,IAAI,EAClB,KAAK,EAAE,OAAO,CAAC,KAAK,EACpB,mBAAmB,EAAE,OAAO,CAAC,mBAAmB,IAC7C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ACD;YACE,IAAI,EAAE,iBAAiB;YACvB,WAAW,EAAE,yCAAyC;YACtD,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,KAAK;SAChB;QACD;YACE,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,MAAM;SACb;QACD;YACE,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,MAAM;SACb;QACD;YACE,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,oCAAoC,uCAAwB,IAAI;YAC7E,IAAI,EAAE,MAAM;YACZ,YAAY,EAAE,uCAAwB;SACvC;QACD;YACE,IAAI,EAAE,qBAAqB;YAC3B,WAAW,EAAE,8EAA8E;YAC3F,IAAI,EAAE,MAAM;YACZ,YAAY,EAAE,EAAE;SACjB;KACF;IACD,GAAG,EAAE,qBAAa;CACnB,CAAC"}
|
package/bin/commands/index.d.ts
CHANGED
|
@@ -155,6 +155,12 @@ declare const _default: {
|
|
|
155
155
|
type: StringConstructor;
|
|
156
156
|
defaultValue: string;
|
|
157
157
|
required?: undefined;
|
|
158
|
+
} | {
|
|
159
|
+
name: string;
|
|
160
|
+
description: string;
|
|
161
|
+
type: NumberConstructor;
|
|
162
|
+
defaultValue: number;
|
|
163
|
+
required?: undefined;
|
|
158
164
|
})[];
|
|
159
165
|
run: (options: {
|
|
160
166
|
remoteURL: string;
|
|
@@ -163,6 +169,7 @@ declare const _default: {
|
|
|
163
169
|
expirationHours?: number | undefined;
|
|
164
170
|
preset?: string | undefined;
|
|
165
171
|
values?: string | undefined;
|
|
172
|
+
watchTimeoutMinutes?: number | undefined;
|
|
166
173
|
}) => Promise<void>;
|
|
167
174
|
} | {
|
|
168
175
|
command: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/commands/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/commands/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgEA,wBAkCE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ledgerhq/vault-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.17.0",
|
|
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",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"@ledgerhq/cryptoassets": "^6.28.2",
|
|
19
19
|
"@ledgerhq/hw-transport-node-hid": "^6.24.1",
|
|
20
20
|
"@ledgerhq/live-common-stub": "1.4.6",
|
|
21
|
-
"@ledgerhq/vault-common": "1.
|
|
21
|
+
"@ledgerhq/vault-common": "1.19.0",
|
|
22
22
|
"axios": "^0.21.0",
|
|
23
23
|
"bignumber.js": "^9.0.1",
|
|
24
24
|
"body-parser": "^1.19.0",
|