@ledgerhq/vault-cli 1.9.4 → 1.9.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.
|
@@ -26,7 +26,16 @@ function getAuthToken(options) {
|
|
|
26
26
|
exports.default = {
|
|
27
27
|
command: "getAuthToken",
|
|
28
28
|
description: "Login with given device and returns the authorization token",
|
|
29
|
-
options: [
|
|
29
|
+
options: [
|
|
30
|
+
deviceOption_1.default,
|
|
31
|
+
...gateOptions_1.default,
|
|
32
|
+
{
|
|
33
|
+
name: "noisechannel",
|
|
34
|
+
description: "Use new secure channel implementation (noise protocol)",
|
|
35
|
+
type: Boolean,
|
|
36
|
+
defaultValue: false,
|
|
37
|
+
},
|
|
38
|
+
],
|
|
30
39
|
run: getAuthToken,
|
|
31
40
|
};
|
|
32
41
|
//# sourceMappingURL=getAuthToken.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAuthToken.js","sourceRoot":"","sources":["../../src/commands/getAuthToken.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,yDAAwE;AAExE,iEAAyC;AACzC,mEAA2C;AAO3C,SAAe,YAAY,CAAC,OAA4B;;QACtD,MAAM,IAAI,mCACL,OAAO,KACV,YAAY,EAAE,OAAO,CAAC,SAAS,GAChC,CAAC;QACF,MAAM,IAAI,GAAG,gCAAiB,CAAC,IAAI,CAAC,CAAC;QACrC,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QAC/C,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;IAChC,CAAC;CAAA;AAED,kBAAe;IACb,OAAO,EAAE,cAAc;IACvB,WAAW,EAAE,6DAA6D;IAC1E,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"getAuthToken.js","sourceRoot":"","sources":["../../src/commands/getAuthToken.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,yDAAwE;AAExE,iEAAyC;AACzC,mEAA2C;AAO3C,SAAe,YAAY,CAAC,OAA4B;;QACtD,MAAM,IAAI,mCACL,OAAO,KACV,YAAY,EAAE,OAAO,CAAC,SAAS,GAChC,CAAC;QACF,MAAM,IAAI,GAAG,gCAAiB,CAAC,IAAI,CAAC,CAAC;QACrC,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QAC/C,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;IAChC,CAAC;CAAA;AAED,kBAAe;IACb,OAAO,EAAE,cAAc;IACvB,WAAW,EAAE,6DAA6D;IAC1E,OAAO,EAAE;QACP,sBAAY;QACZ,GAAG,qBAAW;QACd;YACE,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,wDAAwD;YACrE,IAAI,EAAE,OAAO;YACb,YAAY,EAAE,KAAK;SACpB;KACF;IACD,GAAG,EAAE,YAAY;CAClB,CAAC"}
|
package/bin/commands/index.d.ts
CHANGED
|
@@ -392,6 +392,11 @@ declare const _default: {
|
|
|
392
392
|
type: NumberConstructor;
|
|
393
393
|
description: string;
|
|
394
394
|
defaultValue: number;
|
|
395
|
+
} | {
|
|
396
|
+
name: string;
|
|
397
|
+
description: string;
|
|
398
|
+
type: BooleanConstructor;
|
|
399
|
+
defaultValue: boolean;
|
|
395
400
|
})[];
|
|
396
401
|
run: (options: import("./getAuthToken").GetAuthTokenOptions) => Promise<void>;
|
|
397
402
|
} | {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ledgerhq/vault-cli",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.5",
|
|
4
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",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"@types/node": "^15.0.2",
|
|
51
51
|
"@types/progress": "^2.0.3"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "0201e950d38e642266ae3de51b6d86fefac2f3a4"
|
|
54
54
|
}
|