@ledgerhq/vault-cli 1.19.16 → 1.20.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 +24 -0
- package/bin/commands/check.d.ts +2 -1
- package/bin/commands/check.d.ts.map +1 -1
- package/bin/commands/check.js +16 -6
- package/bin/commands/check.js.map +1 -1
- package/package.json +2 -2
package/.turbo/turbo-build.log
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @ledgerhq/vault-cli
|
|
2
2
|
|
|
3
|
+
## 1.20.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 4ea6463: Add `pool` and `wallet` options to `check` command
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [4ea6463]
|
|
12
|
+
- @ledgerhq/coin-check@0.3.0
|
|
13
|
+
|
|
14
|
+
## 1.19.18
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- 42b8eed: Update ci
|
|
19
|
+
- c3abe7e: Trigger release
|
|
20
|
+
|
|
21
|
+
## 1.19.17
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- 98a4f11: Update ci
|
|
26
|
+
|
|
3
27
|
## 1.19.16
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
package/bin/commands/check.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check.d.ts","sourceRoot":"","sources":["../../src/commands/check.ts"],"names":[],"mappings":"AAGA,oBAAY,gBAAgB,GAAG;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,
|
|
1
|
+
{"version":3,"file":"check.d.ts","sourceRoot":"","sources":["../../src/commands/check.ts"],"names":[],"mappings":"AAGA,oBAAY,gBAAgB,GAAG;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,YAAY,CAAC;CACxB,CAAC;;;;;;;;;;;;;;;gBA+Be,gBAAgB;;AA7BjC,wBAwCE"}
|
package/bin/commands/check.js
CHANGED
|
@@ -25,20 +25,30 @@ exports.default = {
|
|
|
25
25
|
defaultValue: "http://localhost:8443/coin-gateway",
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
|
-
name: "
|
|
29
|
-
description: "
|
|
28
|
+
name: "pool",
|
|
29
|
+
description: "Get wallets only of this pool",
|
|
30
30
|
type: String,
|
|
31
|
-
defaultValue: "cryptoAPIs",
|
|
32
31
|
},
|
|
33
32
|
{
|
|
34
|
-
name: "
|
|
35
|
-
description: "
|
|
33
|
+
name: "wallet",
|
|
34
|
+
description: "Get accounts only of this wallet",
|
|
36
35
|
type: String,
|
|
37
36
|
},
|
|
37
|
+
{
|
|
38
|
+
name: "provider",
|
|
39
|
+
description: "External provider to compare with balances and transactions of a Coin Gateway",
|
|
40
|
+
type: String,
|
|
41
|
+
defaultValue: "cryptoAPIs",
|
|
42
|
+
},
|
|
38
43
|
],
|
|
39
44
|
run: (opts) => __awaiter(void 0, void 0, void 0, function* () {
|
|
40
45
|
const logger = (0, vault_common_1.createConsoleLogger)();
|
|
41
|
-
const report = yield (0, coin_check_1.default)({
|
|
46
|
+
const report = yield (0, coin_check_1.default)({
|
|
47
|
+
coinGatewayURL: opts.coinGateway,
|
|
48
|
+
pool: opts.pool,
|
|
49
|
+
wallet: opts.wallet,
|
|
50
|
+
logger,
|
|
51
|
+
});
|
|
42
52
|
console.log(JSON.stringify(report, null, 2));
|
|
43
53
|
}),
|
|
44
54
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check.js","sourceRoot":"","sources":["../../src/commands/check.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,sEAAyC;AACzC,yDAA6D;
|
|
1
|
+
{"version":3,"file":"check.js","sourceRoot":"","sources":["../../src/commands/check.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,sEAAyC;AACzC,yDAA6D;AAS7D,kBAAe;IACb,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+EAA+E;IAC5F,OAAO,EAAE;QACP;YACE,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,MAAM;YACZ,YAAY,EAAE,oCAAoC;SACnD;QACD;YACE,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,MAAM;SACb;QACD;YACE,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,MAAM;SACb;QACD;YACE,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,+EAA+E;YAC5F,IAAI,EAAE,MAAM;YACZ,YAAY,EAAE,YAAY;SAC3B;KACF;IACD,GAAG,EAED,CAAO,IAAsB,EAAE,EAAE;QAC/B,MAAM,MAAM,GAAG,IAAA,kCAAmB,GAAE,CAAC;QACrC,MAAM,MAAM,GAAG,MAAM,IAAA,oBAAK,EAAC;YACzB,cAAc,EAAE,IAAI,CAAC,WAAW;YAChC,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,MAAM;SACP,CAAC,CAAC;QAEH,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;IAC/C,CAAC,CAAA;CACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ledgerhq/vault-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.20.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",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"ledger-vault": "bin/index.js"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@ledgerhq/coin-check": "0.
|
|
18
|
+
"@ledgerhq/coin-check": "0.3.0",
|
|
19
19
|
"@ledgerhq/cryptoassets": "^6.28.2",
|
|
20
20
|
"@ledgerhq/hw-transport-node-hid": "^6.24.1",
|
|
21
21
|
"@ledgerhq/live-common-stub": "1.5.0",
|