@witnet/sdk 1.2.1 → 1.2.3
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/.env_witnet +2 -1
- package/dist/package.json +5 -3
- package/dist/src/bin/helpers.js +1 -1
- package/dist/src/index.js +1 -1
- package/dist/src/lib/crypto/account.js +1 -1
- package/dist/src/lib/crypto/coinbase.js +1 -1
- package/dist/src/lib/crypto/index.js +1 -1
- package/dist/src/lib/crypto/interfaces.js +1 -1
- package/dist/src/lib/crypto/payloads/DataRequestPayload.js +1 -1
- package/dist/src/lib/crypto/payloads/StakePayload.js +1 -1
- package/dist/src/lib/crypto/payloads/UnstakePayload.js +1 -1
- package/dist/src/lib/crypto/payloads/ValueTransferPayload.js +1 -1
- package/dist/src/lib/crypto/payloads.js +1 -1
- package/dist/src/lib/crypto/signer.js +1 -1
- package/dist/src/lib/crypto/transmitters/DataRequests.js +1 -1
- package/dist/src/lib/crypto/transmitters/StakeDeposits.js +1 -1
- package/dist/src/lib/crypto/transmitters/StakeWithdrawals.js +1 -1
- package/dist/src/lib/crypto/transmitters/ValueTransfers.js +1 -1
- package/dist/src/lib/crypto/transmitters.js +1 -1
- package/dist/src/lib/crypto/types.js +1 -1
- package/dist/src/lib/crypto/utils.js +1 -1
- package/dist/src/lib/crypto/wallet.js +1 -1
- package/dist/src/lib/index.js +1 -1
- package/dist/src/lib/radon/ccdr/eth.js +1 -1
- package/dist/src/lib/radon/ccdr/index.js +1 -1
- package/dist/src/lib/radon/ccdr/wit.js +1 -1
- package/dist/src/lib/radon/filters.js +1 -1
- package/dist/src/lib/radon/index.js +1 -1
- package/dist/src/lib/radon/reducers.js +1 -1
- package/dist/src/lib/radon/types.js +1 -1
- package/dist/src/lib/radon/utils.d.ts.map +1 -1
- package/dist/src/lib/radon/utils.js +1 -1
- package/dist/src/lib/rest/kermit.d.ts.map +1 -1
- package/dist/src/lib/rest/kermit.js +2 -4
- package/dist/src/lib/rest/types.js +1 -1
- package/dist/src/lib/rpc/index.js +1 -1
- package/dist/src/lib/rpc/nodes.js +1 -1
- package/dist/src/lib/rpc/provider.js +1 -1
- package/dist/src/lib/rpc/types.js +1 -1
- package/dist/src/lib/types.js +1 -1
- package/dist/src/lib/utils.js +1 -1
- package/package.json +5 -3
- package/scripts/clean.cjs +21 -0
- package/scripts/postinstall.cjs +9 -0
- package/src/bin/bots/watcher.cjs +365 -354
- package/src/bin/cli/history.cjs +31 -31
- package/src/bin/cli/inspect.js +581 -581
- package/src/bin/cli/network.js +695 -695
- package/src/bin/cli/nodes.js +424 -424
- package/src/bin/cli/radon.js +1124 -1122
- package/src/bin/cli/wallet.js +1362 -1362
- package/src/bin/helpers.js +974 -974
- package/src/bin/index.js +328 -328
package/src/bin/cli/history.cjs
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
/// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
2
|
-
/// CLI SUBMODULE CONSTANTS ===========================================================================================
|
|
3
|
-
|
|
4
|
-
module.exports = {
|
|
5
|
-
flags: {
|
|
6
|
-
start: {
|
|
7
|
-
hint: "Epoch from which search starts (default: -2048).",
|
|
8
|
-
param: ":epoch",
|
|
9
|
-
},
|
|
10
|
-
end: {
|
|
11
|
-
hint: "Epoch on which search ends (default: -1).",
|
|
12
|
-
param: ":epoch",
|
|
13
|
-
},
|
|
14
|
-
limit: { hint: "Limit output records (default: 100).", param: ":number" },
|
|
15
|
-
},
|
|
16
|
-
router: {
|
|
17
|
-
miners: {
|
|
18
|
-
hint: "Report most successful miners.",
|
|
19
|
-
},
|
|
20
|
-
requests: {
|
|
21
|
-
hint: "Report most successful data requests.",
|
|
22
|
-
},
|
|
23
|
-
witnesses: {
|
|
24
|
-
hint: "Report most successful witnesses.",
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
subcommands: {},
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
/// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
31
|
-
/// CLI SUBMODULE COMMANDS ============================================================================================
|
|
1
|
+
/// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
2
|
+
/// CLI SUBMODULE CONSTANTS ===========================================================================================
|
|
3
|
+
|
|
4
|
+
module.exports = {
|
|
5
|
+
flags: {
|
|
6
|
+
start: {
|
|
7
|
+
hint: "Epoch from which search starts (default: -2048).",
|
|
8
|
+
param: ":epoch",
|
|
9
|
+
},
|
|
10
|
+
end: {
|
|
11
|
+
hint: "Epoch on which search ends (default: -1).",
|
|
12
|
+
param: ":epoch",
|
|
13
|
+
},
|
|
14
|
+
limit: { hint: "Limit output records (default: 100).", param: ":number" },
|
|
15
|
+
},
|
|
16
|
+
router: {
|
|
17
|
+
miners: {
|
|
18
|
+
hint: "Report most successful miners.",
|
|
19
|
+
},
|
|
20
|
+
requests: {
|
|
21
|
+
hint: "Report most successful data requests.",
|
|
22
|
+
},
|
|
23
|
+
witnesses: {
|
|
24
|
+
hint: "Report most successful witnesses.",
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
subcommands: {},
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
/// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
31
|
+
/// CLI SUBMODULE COMMANDS ============================================================================================
|