@argonprotocol/mainchain 1.3.7 → 1.3.8

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/lib/cli.cjs DELETED
@@ -1,19 +0,0 @@
1
- #!/usr/bin/env node
2
- "use strict";
3
-
4
-
5
-
6
- var _chunk4ZBJ5W3Pcjs = require('./chunk-4ZBJ5W3P.cjs');
7
-
8
-
9
- var _chunkVXYWJG66cjs = require('./chunk-VXYWJG66.cjs');
10
-
11
- // src/cli.ts
12
- var program = _chunk4ZBJ5W3Pcjs.buildCli.call(void 0, );
13
- _chunk4ZBJ5W3Pcjs.addGlobalArgs.call(void 0, program);
14
- _chunk4ZBJ5W3Pcjs.applyEnv.call(void 0, program);
15
- (async function main() {
16
- await _chunkVXYWJG66cjs.waitForLoad.call(void 0, );
17
- await program.parseAsync(process.argv);
18
- })().catch(console.error);
19
- //# sourceMappingURL=cli.cjs.map
package/lib/cli.cjs.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"sources":["/home/runner/work/mainchain/mainchain/client/nodejs/lib/cli.cjs","../src/cli.ts"],"names":[],"mappings":"AAAA;AACA;AACE;AACA;AACA;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACA;ACNA,IAAM,QAAA,EAAU,wCAAA,CAAS;AACzB,6CAAA,OAAqB,CAAA;AAErB,wCAAA,OAAgB,CAAA;AAAA,CAEf,MAAA,SAAe,IAAA,CAAA,EAAO;AACrB,EAAA,MAAM,2CAAA,CAAY;AAClB,EAAA,MAAM,OAAA,CAAQ,UAAA,CAAW,OAAA,CAAQ,IAAI,CAAA;AACvC,CAAA,CAAA,CAAG,CAAA,CAAE,KAAA,CAAM,OAAA,CAAQ,KAAK,CAAA","file":"/home/runner/work/mainchain/mainchain/client/nodejs/lib/cli.cjs","sourcesContent":[null,"#!/usr/bin/env node\nimport { addGlobalArgs, applyEnv, buildCli } from './clis';\nimport { waitForLoad } from './index';\n\nconst program = buildCli();\naddGlobalArgs(program);\n// load env\napplyEnv(program);\n\n(async function main() {\n await waitForLoad();\n await program.parseAsync(process.argv);\n})().catch(console.error);\n"]}
package/lib/cli.d.cts DELETED
@@ -1 +0,0 @@
1
- #!/usr/bin/env node
package/lib/cli.d.ts DELETED
@@ -1 +0,0 @@
1
- #!/usr/bin/env node
package/lib/cli.js DELETED
@@ -1,19 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- addGlobalArgs,
4
- applyEnv,
5
- buildCli
6
- } from "./chunk-PE7HFDHD.js";
7
- import {
8
- waitForLoad
9
- } from "./chunk-PXZPYJ4P.js";
10
-
11
- // src/cli.ts
12
- var program = buildCli();
13
- addGlobalArgs(program);
14
- applyEnv(program);
15
- (async function main() {
16
- await waitForLoad();
17
- await program.parseAsync(process.argv);
18
- })().catch(console.error);
19
- //# sourceMappingURL=cli.js.map
package/lib/cli.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/cli.ts"],"sourcesContent":["#!/usr/bin/env node\nimport { addGlobalArgs, applyEnv, buildCli } from './clis';\nimport { waitForLoad } from './index';\n\nconst program = buildCli();\naddGlobalArgs(program);\n// load env\napplyEnv(program);\n\n(async function main() {\n await waitForLoad();\n await program.parseAsync(process.argv);\n})().catch(console.error);\n"],"mappings":";;;;;;;;;;;AAIA,IAAM,UAAU,SAAS;AACzB,cAAc,OAAO;AAErB,SAAS,OAAO;AAAA,CAEf,eAAe,OAAO;AACrB,QAAM,YAAY;AAClB,QAAM,QAAQ,WAAW,QAAQ,IAAI;AACvC,GAAG,EAAE,MAAM,QAAQ,KAAK;","names":[]}
@@ -1,30 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
-
12
-
13
-
14
- var _chunk4ZBJ5W3Pcjs = require('../chunk-4ZBJ5W3P.cjs');
15
- require('../chunk-VXYWJG66.cjs');
16
-
17
-
18
-
19
-
20
-
21
-
22
-
23
-
24
-
25
-
26
-
27
-
28
-
29
- exports.accountCli = _chunk4ZBJ5W3Pcjs.accountCli; exports.accountsetFromCli = _chunk4ZBJ5W3Pcjs.accountsetFromCli; exports.addGlobalArgs = _chunk4ZBJ5W3Pcjs.addGlobalArgs; exports.applyEnv = _chunk4ZBJ5W3Pcjs.applyEnv; exports.bitcoinCli = _chunk4ZBJ5W3Pcjs.bitcoinCli; exports.buildCli = _chunk4ZBJ5W3Pcjs.buildCli; exports.globalOptions = _chunk4ZBJ5W3Pcjs.globalOptions; exports.keyringFromFile = _chunk4ZBJ5W3Pcjs.keyringFromFile; exports.liquidityCli = _chunk4ZBJ5W3Pcjs.liquidityCli; exports.miningCli = _chunk4ZBJ5W3Pcjs.miningCli; exports.saveKeyringPair = _chunk4ZBJ5W3Pcjs.saveKeyringPair; exports.vaultCli = _chunk4ZBJ5W3Pcjs.vaultCli;
30
- //# sourceMappingURL=index.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["/home/runner/work/mainchain/mainchain/client/nodejs/lib/clis/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uoBAAC","file":"/home/runner/work/mainchain/mainchain/client/nodejs/lib/clis/index.cjs"}
@@ -1,129 +0,0 @@
1
- import { Command } from '@commander-js/extra-typings';
2
- import { Accountset } from '../index.cjs';
3
- import { KeyringPair } from '@polkadot/keyring/types';
4
- import '@polkadot/api-base/types';
5
- import '@polkadot/types-codec';
6
- import '@polkadot/types-codec/types';
7
- import '@polkadot/types/interfaces/runtime';
8
- import '@polkadot/types/lookup';
9
- import '@polkadot/types/types';
10
- import '@polkadot/rpc-core/types';
11
- import '@polkadot/types';
12
- import '@polkadot/types/interfaces/author';
13
- import '@polkadot/types/interfaces/babe';
14
- import '@polkadot/types/interfaces/beefy';
15
- import '@polkadot/types/interfaces/chain';
16
- import '@polkadot/types/interfaces/childstate';
17
- import '@polkadot/types/interfaces/consensus';
18
- import '@polkadot/types/interfaces/contracts';
19
- import '@polkadot/types/interfaces/dev';
20
- import '@polkadot/types/interfaces/engine';
21
- import '@polkadot/types/interfaces/eth';
22
- import '@polkadot/types/interfaces/extrinsics';
23
- import '@polkadot/types/interfaces/grandpa';
24
- import '@polkadot/types/interfaces/mmr';
25
- import '@polkadot/types/interfaces/offchain';
26
- import '@polkadot/types/interfaces/payment';
27
- import '@polkadot/types/interfaces/rpc';
28
- import '@polkadot/types/interfaces/state';
29
- import '@polkadot/types/interfaces/system';
30
- import '@polkadot/types/interfaces/blockbuilder';
31
- import '@polkadot/types/interfaces/genesisBuilder';
32
- import '@polkadot/types/interfaces/metadata';
33
- import '@polkadot/types/interfaces/txqueue';
34
- import '@polkadot/types/interfaces/assetConversion';
35
- import '@polkadot/types/interfaces/assets';
36
- import '@polkadot/types/interfaces/attestations';
37
- import '@polkadot/types/interfaces/aura';
38
- import '@polkadot/types/interfaces/authorship';
39
- import '@polkadot/types/interfaces/balances';
40
- import '@polkadot/types/interfaces/benchmark';
41
- import '@polkadot/types/interfaces/bridges';
42
- import '@polkadot/types/interfaces/claims';
43
- import '@polkadot/types/interfaces/collective';
44
- import '@polkadot/types/interfaces/contractsAbi';
45
- import '@polkadot/types/interfaces/crowdloan';
46
- import '@polkadot/types/interfaces/cumulus';
47
- import '@polkadot/types/interfaces/democracy';
48
- import '@polkadot/types/interfaces/dryRunApi';
49
- import '@polkadot/types/interfaces/elections';
50
- import '@polkadot/types/interfaces/evm';
51
- import '@polkadot/types/interfaces/fungibles';
52
- import '@polkadot/types/interfaces/genericAsset';
53
- import '@polkadot/types/interfaces/gilt';
54
- import '@polkadot/types/interfaces/identity';
55
- import '@polkadot/types/interfaces/imOnline';
56
- import '@polkadot/types/interfaces/lottery';
57
- import '@polkadot/types/interfaces/mixnet';
58
- import '@polkadot/types/interfaces/nfts';
59
- import '@polkadot/types/interfaces/nompools';
60
- import '@polkadot/types/interfaces/offences';
61
- import '@polkadot/types/interfaces/parachains';
62
- import '@polkadot/types/interfaces/poll';
63
- import '@polkadot/types/interfaces/proxy';
64
- import '@polkadot/types/interfaces/purchase';
65
- import '@polkadot/types/interfaces/recovery';
66
- import '@polkadot/types/interfaces/scaleInfo';
67
- import '@polkadot/types/interfaces/scheduler';
68
- import '@polkadot/types/interfaces/session';
69
- import '@polkadot/types/interfaces/society';
70
- import '@polkadot/types/interfaces/staking';
71
- import '@polkadot/types/interfaces/statement';
72
- import '@polkadot/types/interfaces/support';
73
- import '@polkadot/types/interfaces/treasury';
74
- import '@polkadot/types/interfaces/txpayment';
75
- import '@polkadot/types/interfaces/uniques';
76
- import '@polkadot/types/interfaces/utility';
77
- import '@polkadot/types/interfaces/vesting';
78
- import '@polkadot/types/interfaces/xcm';
79
- import '@polkadot/types/interfaces/xcmPaymentApi';
80
- import '@polkadot/types/interfaces/xcmRuntimeApi';
81
- import '@polkadot/api';
82
- import '@polkadot/util-crypto';
83
- import '@polkadot/types/types/registry';
84
- import '@polkadot/util-crypto/types';
85
- import '@polkadot/types/types/extrinsic';
86
- import '@polkadot/api/promise/types';
87
- import '@polkadot/api/types';
88
- import '@polkadot/types/generic';
89
- import 'bignumber.js';
90
- import '@polkadot/types/interfaces';
91
- import '@polkadot/util';
92
-
93
- declare function accountCli(): Command<[], {}, {}>;
94
-
95
- declare function vaultCli(): Command<[], {}, {}>;
96
-
97
- declare function miningCli(): Command<[], {}, {}>;
98
-
99
- declare function liquidityCli(): Command<[], {}, {}>;
100
-
101
- declare function bitcoinCli(): Command<[], {}, {}>;
102
-
103
- declare function keyringFromFile(opts: {
104
- filePath: string;
105
- passphrase?: string;
106
- passphraseFile?: string;
107
- }): Promise<KeyringPair>;
108
- declare function saveKeyringPair(opts: {
109
- filePath: string;
110
- passphrase?: string;
111
- cryptoType?: 'sr25519' | 'ed25519';
112
- }): Promise<KeyringPair>;
113
-
114
- declare function globalOptions(program: Command): IGlobalOptions;
115
- declare function buildCli(): Command<[], {
116
- env?: string | undefined;
117
- mainchainUrl: string;
118
- accountFilePath?: string | undefined;
119
- accountSuri?: string | undefined;
120
- accountPassphrase?: string | undefined;
121
- accountPassphraseFile?: string | undefined;
122
- subaccounts?: number[] | undefined;
123
- }, {}>;
124
- declare function accountsetFromCli(program: Command, proxyForAddress?: string): Promise<Accountset>;
125
- type IGlobalOptions = ReturnType<ReturnType<typeof buildCli>['opts']>;
126
- declare function addGlobalArgs(program: ReturnType<typeof buildCli>): void;
127
- declare function applyEnv(program: ReturnType<typeof buildCli>): string | undefined;
128
-
129
- export { type IGlobalOptions, accountCli, accountsetFromCli, addGlobalArgs, applyEnv, bitcoinCli, buildCli, globalOptions, keyringFromFile, liquidityCli, miningCli, saveKeyringPair, vaultCli };
@@ -1,129 +0,0 @@
1
- import { Command } from '@commander-js/extra-typings';
2
- import { Accountset } from '../index.js';
3
- import { KeyringPair } from '@polkadot/keyring/types';
4
- import '@polkadot/api-base/types';
5
- import '@polkadot/types-codec';
6
- import '@polkadot/types-codec/types';
7
- import '@polkadot/types/interfaces/runtime';
8
- import '@polkadot/types/lookup';
9
- import '@polkadot/types/types';
10
- import '@polkadot/rpc-core/types';
11
- import '@polkadot/types';
12
- import '@polkadot/types/interfaces/author';
13
- import '@polkadot/types/interfaces/babe';
14
- import '@polkadot/types/interfaces/beefy';
15
- import '@polkadot/types/interfaces/chain';
16
- import '@polkadot/types/interfaces/childstate';
17
- import '@polkadot/types/interfaces/consensus';
18
- import '@polkadot/types/interfaces/contracts';
19
- import '@polkadot/types/interfaces/dev';
20
- import '@polkadot/types/interfaces/engine';
21
- import '@polkadot/types/interfaces/eth';
22
- import '@polkadot/types/interfaces/extrinsics';
23
- import '@polkadot/types/interfaces/grandpa';
24
- import '@polkadot/types/interfaces/mmr';
25
- import '@polkadot/types/interfaces/offchain';
26
- import '@polkadot/types/interfaces/payment';
27
- import '@polkadot/types/interfaces/rpc';
28
- import '@polkadot/types/interfaces/state';
29
- import '@polkadot/types/interfaces/system';
30
- import '@polkadot/types/interfaces/blockbuilder';
31
- import '@polkadot/types/interfaces/genesisBuilder';
32
- import '@polkadot/types/interfaces/metadata';
33
- import '@polkadot/types/interfaces/txqueue';
34
- import '@polkadot/types/interfaces/assetConversion';
35
- import '@polkadot/types/interfaces/assets';
36
- import '@polkadot/types/interfaces/attestations';
37
- import '@polkadot/types/interfaces/aura';
38
- import '@polkadot/types/interfaces/authorship';
39
- import '@polkadot/types/interfaces/balances';
40
- import '@polkadot/types/interfaces/benchmark';
41
- import '@polkadot/types/interfaces/bridges';
42
- import '@polkadot/types/interfaces/claims';
43
- import '@polkadot/types/interfaces/collective';
44
- import '@polkadot/types/interfaces/contractsAbi';
45
- import '@polkadot/types/interfaces/crowdloan';
46
- import '@polkadot/types/interfaces/cumulus';
47
- import '@polkadot/types/interfaces/democracy';
48
- import '@polkadot/types/interfaces/dryRunApi';
49
- import '@polkadot/types/interfaces/elections';
50
- import '@polkadot/types/interfaces/evm';
51
- import '@polkadot/types/interfaces/fungibles';
52
- import '@polkadot/types/interfaces/genericAsset';
53
- import '@polkadot/types/interfaces/gilt';
54
- import '@polkadot/types/interfaces/identity';
55
- import '@polkadot/types/interfaces/imOnline';
56
- import '@polkadot/types/interfaces/lottery';
57
- import '@polkadot/types/interfaces/mixnet';
58
- import '@polkadot/types/interfaces/nfts';
59
- import '@polkadot/types/interfaces/nompools';
60
- import '@polkadot/types/interfaces/offences';
61
- import '@polkadot/types/interfaces/parachains';
62
- import '@polkadot/types/interfaces/poll';
63
- import '@polkadot/types/interfaces/proxy';
64
- import '@polkadot/types/interfaces/purchase';
65
- import '@polkadot/types/interfaces/recovery';
66
- import '@polkadot/types/interfaces/scaleInfo';
67
- import '@polkadot/types/interfaces/scheduler';
68
- import '@polkadot/types/interfaces/session';
69
- import '@polkadot/types/interfaces/society';
70
- import '@polkadot/types/interfaces/staking';
71
- import '@polkadot/types/interfaces/statement';
72
- import '@polkadot/types/interfaces/support';
73
- import '@polkadot/types/interfaces/treasury';
74
- import '@polkadot/types/interfaces/txpayment';
75
- import '@polkadot/types/interfaces/uniques';
76
- import '@polkadot/types/interfaces/utility';
77
- import '@polkadot/types/interfaces/vesting';
78
- import '@polkadot/types/interfaces/xcm';
79
- import '@polkadot/types/interfaces/xcmPaymentApi';
80
- import '@polkadot/types/interfaces/xcmRuntimeApi';
81
- import '@polkadot/api';
82
- import '@polkadot/util-crypto';
83
- import '@polkadot/types/types/registry';
84
- import '@polkadot/util-crypto/types';
85
- import '@polkadot/types/types/extrinsic';
86
- import '@polkadot/api/promise/types';
87
- import '@polkadot/api/types';
88
- import '@polkadot/types/generic';
89
- import 'bignumber.js';
90
- import '@polkadot/types/interfaces';
91
- import '@polkadot/util';
92
-
93
- declare function accountCli(): Command<[], {}, {}>;
94
-
95
- declare function vaultCli(): Command<[], {}, {}>;
96
-
97
- declare function miningCli(): Command<[], {}, {}>;
98
-
99
- declare function liquidityCli(): Command<[], {}, {}>;
100
-
101
- declare function bitcoinCli(): Command<[], {}, {}>;
102
-
103
- declare function keyringFromFile(opts: {
104
- filePath: string;
105
- passphrase?: string;
106
- passphraseFile?: string;
107
- }): Promise<KeyringPair>;
108
- declare function saveKeyringPair(opts: {
109
- filePath: string;
110
- passphrase?: string;
111
- cryptoType?: 'sr25519' | 'ed25519';
112
- }): Promise<KeyringPair>;
113
-
114
- declare function globalOptions(program: Command): IGlobalOptions;
115
- declare function buildCli(): Command<[], {
116
- env?: string | undefined;
117
- mainchainUrl: string;
118
- accountFilePath?: string | undefined;
119
- accountSuri?: string | undefined;
120
- accountPassphrase?: string | undefined;
121
- accountPassphraseFile?: string | undefined;
122
- subaccounts?: number[] | undefined;
123
- }, {}>;
124
- declare function accountsetFromCli(program: Command, proxyForAddress?: string): Promise<Accountset>;
125
- type IGlobalOptions = ReturnType<ReturnType<typeof buildCli>['opts']>;
126
- declare function addGlobalArgs(program: ReturnType<typeof buildCli>): void;
127
- declare function applyEnv(program: ReturnType<typeof buildCli>): string | undefined;
128
-
129
- export { type IGlobalOptions, accountCli, accountsetFromCli, addGlobalArgs, applyEnv, bitcoinCli, buildCli, globalOptions, keyringFromFile, liquidityCli, miningCli, saveKeyringPair, vaultCli };
package/lib/clis/index.js DELETED
@@ -1,30 +0,0 @@
1
- import {
2
- accountCli,
3
- accountsetFromCli,
4
- addGlobalArgs,
5
- applyEnv,
6
- bitcoinCli,
7
- buildCli,
8
- globalOptions,
9
- keyringFromFile,
10
- liquidityCli,
11
- miningCli,
12
- saveKeyringPair,
13
- vaultCli
14
- } from "../chunk-PE7HFDHD.js";
15
- import "../chunk-PXZPYJ4P.js";
16
- export {
17
- accountCli,
18
- accountsetFromCli,
19
- addGlobalArgs,
20
- applyEnv,
21
- bitcoinCli,
22
- buildCli,
23
- globalOptions,
24
- keyringFromFile,
25
- liquidityCli,
26
- miningCli,
27
- saveKeyringPair,
28
- vaultCli
29
- };
30
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}