@argonprotocol/mainchain 1.3.4 → 1.3.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.
- package/browser/index.d.ts +1 -1
- package/browser/index.js +4 -4
- package/browser/index.js.map +1 -1
- package/lib/{chunk-QVXW4O7X.js → chunk-2J7IEVVC.js} +2 -2
- package/lib/{chunk-LB6BAURC.cjs → chunk-BP7Y2NWQ.cjs} +51 -51
- package/lib/{chunk-LB6BAURC.cjs.map → chunk-BP7Y2NWQ.cjs.map} +1 -1
- package/lib/{chunk-P3OMJABP.js → chunk-GZ2TLGCG.js} +5 -5
- package/lib/{chunk-P3OMJABP.js.map → chunk-GZ2TLGCG.js.map} +1 -1
- package/lib/{chunk-W5SOPU7I.cjs → chunk-P5WWWRSU.cjs} +5 -5
- package/lib/{chunk-W5SOPU7I.cjs.map → chunk-P5WWWRSU.cjs.map} +1 -1
- package/lib/cli.cjs +6 -6
- package/lib/cli.js +2 -2
- package/lib/clis/index.cjs +3 -3
- package/lib/clis/index.js +2 -2
- package/lib/index.cjs +2 -2
- package/lib/index.d.cts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/package.json +2 -2
- /package/lib/{chunk-QVXW4O7X.js.map → chunk-2J7IEVVC.js.map} +0 -0
package/lib/cli.cjs
CHANGED
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkBP7Y2NWQcjs = require('./chunk-BP7Y2NWQ.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkP5WWWRSUcjs = require('./chunk-P5WWWRSU.cjs');
|
|
10
10
|
|
|
11
11
|
// src/cli.ts
|
|
12
|
-
var program =
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
var program = _chunkBP7Y2NWQcjs.buildCli.call(void 0, );
|
|
13
|
+
_chunkBP7Y2NWQcjs.addGlobalArgs.call(void 0, program);
|
|
14
|
+
_chunkBP7Y2NWQcjs.applyEnv.call(void 0, program);
|
|
15
15
|
(async function main() {
|
|
16
|
-
await
|
|
16
|
+
await _chunkP5WWWRSUcjs.waitForLoad.call(void 0, );
|
|
17
17
|
await program.parseAsync(process.argv);
|
|
18
18
|
})().catch(console.error);
|
|
19
19
|
//# sourceMappingURL=cli.cjs.map
|
package/lib/cli.js
CHANGED
package/lib/clis/index.cjs
CHANGED
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
15
|
-
require('../chunk-
|
|
14
|
+
var _chunkBP7Y2NWQcjs = require('../chunk-BP7Y2NWQ.cjs');
|
|
15
|
+
require('../chunk-P5WWWRSU.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
@@ -26,5 +26,5 @@ require('../chunk-W5SOPU7I.cjs');
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
exports.accountCli =
|
|
29
|
+
exports.accountCli = _chunkBP7Y2NWQcjs.accountCli; exports.accountsetFromCli = _chunkBP7Y2NWQcjs.accountsetFromCli; exports.addGlobalArgs = _chunkBP7Y2NWQcjs.addGlobalArgs; exports.applyEnv = _chunkBP7Y2NWQcjs.applyEnv; exports.bitcoinCli = _chunkBP7Y2NWQcjs.bitcoinCli; exports.buildCli = _chunkBP7Y2NWQcjs.buildCli; exports.globalOptions = _chunkBP7Y2NWQcjs.globalOptions; exports.keyringFromFile = _chunkBP7Y2NWQcjs.keyringFromFile; exports.liquidityCli = _chunkBP7Y2NWQcjs.liquidityCli; exports.miningCli = _chunkBP7Y2NWQcjs.miningCli; exports.saveKeyringPair = _chunkBP7Y2NWQcjs.saveKeyringPair; exports.vaultCli = _chunkBP7Y2NWQcjs.vaultCli;
|
|
30
30
|
//# sourceMappingURL=index.cjs.map
|
package/lib/clis/index.js
CHANGED
package/lib/index.cjs
CHANGED
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
|
|
72
72
|
|
|
73
73
|
|
|
74
|
-
var
|
|
74
|
+
var _chunkP5WWWRSUcjs = require('./chunk-P5WWWRSU.cjs');
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
|
|
@@ -145,5 +145,5 @@ var _chunkW5SOPU7Icjs = require('./chunk-W5SOPU7I.cjs');
|
|
|
145
145
|
|
|
146
146
|
|
|
147
147
|
|
|
148
|
-
exports.AccountMiners =
|
|
148
|
+
exports.AccountMiners = _chunkP5WWWRSUcjs.AccountMiners; exports.AccountRegistry = _chunkP5WWWRSUcjs.AccountRegistry; exports.Accountset = _chunkP5WWWRSUcjs.Accountset; exports.BTreeMap = _chunkP5WWWRSUcjs.BTreeMap; exports.BidPool = _chunkP5WWWRSUcjs.BidPool; exports.BitcoinLocks = _chunkP5WWWRSUcjs.BitcoinLocks; exports.BlockWatch = _chunkP5WWWRSUcjs.BlockWatch; exports.Bool = _chunkP5WWWRSUcjs.Bool; exports.Bytes = _chunkP5WWWRSUcjs.Bytes; exports.CohortBidder = _chunkP5WWWRSUcjs.CohortBidder; exports.Compact = _chunkP5WWWRSUcjs.Compact; exports.Enum = _chunkP5WWWRSUcjs.Enum; exports.ExtrinsicError = _chunkP5WWWRSUcjs.ExtrinsicError; exports.FrameCalculator = _chunkP5WWWRSUcjs.FrameCalculator; exports.GenericAddress = _chunkP5WWWRSUcjs.GenericAddress; exports.GenericBlock = _chunkP5WWWRSUcjs.GenericBlock; exports.GenericEvent = _chunkP5WWWRSUcjs.GenericEvent; exports.JsonExt = _chunkP5WWWRSUcjs.JsonExt; exports.Keyring = _chunkP5WWWRSUcjs.Keyring; exports.MICROGONS_PER_ARGON = _chunkP5WWWRSUcjs.MICROGONS_PER_ARGON; exports.MiningBids = _chunkP5WWWRSUcjs.MiningBids; exports.Null = _chunkP5WWWRSUcjs.Null; exports.Option = _chunkP5WWWRSUcjs.Option; exports.Range = _chunkP5WWWRSUcjs.Range; exports.Result = _chunkP5WWWRSUcjs.Result; exports.SATS_PER_BTC = _chunkP5WWWRSUcjs.SATS_PER_BTC; exports.Struct = _chunkP5WWWRSUcjs.Struct; exports.Text = _chunkP5WWWRSUcjs.Text; exports.Tuple = _chunkP5WWWRSUcjs.Tuple; exports.TxResult = _chunkP5WWWRSUcjs.TxResult; exports.TxSubmitter = _chunkP5WWWRSUcjs.TxSubmitter; exports.TypedEmitter = _chunkP5WWWRSUcjs.TypedEmitter; exports.U256 = _chunkP5WWWRSUcjs.U256; exports.U8aFixed = _chunkP5WWWRSUcjs.U8aFixed; exports.Vault = _chunkP5WWWRSUcjs.Vault; exports.VaultMonitor = _chunkP5WWWRSUcjs.VaultMonitor; exports.Vec = _chunkP5WWWRSUcjs.Vec; exports.WageProtector = _chunkP5WWWRSUcjs.WageProtector; exports.bool = _chunkP5WWWRSUcjs.bool; exports.checkForExtrinsicSuccess = _chunkP5WWWRSUcjs.checkForExtrinsicSuccess; exports.convertFixedU128ToBigNumber = _chunkP5WWWRSUcjs.convertFixedU128ToBigNumber; exports.convertNumberToFixedU128 = _chunkP5WWWRSUcjs.convertNumberToFixedU128; exports.convertNumberToPermill = _chunkP5WWWRSUcjs.convertNumberToPermill; exports.convertPermillToBigNumber = _chunkP5WWWRSUcjs.convertPermillToBigNumber; exports.createKeyringPair = _chunkP5WWWRSUcjs.createKeyringPair; exports.createNanoEvents = _chunkP5WWWRSUcjs.createNanoEvents; exports.decodeAddress = _chunkP5WWWRSUcjs.decodeAddress; exports.dispatchErrorToExtrinsicError = _chunkP5WWWRSUcjs.dispatchErrorToExtrinsicError; exports.dispatchErrorToString = _chunkP5WWWRSUcjs.dispatchErrorToString; exports.eventDataToJson = _chunkP5WWWRSUcjs.eventDataToJson; exports.filterUndefined = _chunkP5WWWRSUcjs.filterUndefined; exports.formatArgons = _chunkP5WWWRSUcjs.formatArgons; exports.formatPercent = _chunkP5WWWRSUcjs.formatPercent; exports.getAuthorFromHeader = _chunkP5WWWRSUcjs.getAuthorFromHeader; exports.getClient = _chunkP5WWWRSUcjs.getClient; exports.getConfig = _chunkP5WWWRSUcjs.getConfig; exports.getTickFromHeader = _chunkP5WWWRSUcjs.getTickFromHeader; exports.gettersToObject = _chunkP5WWWRSUcjs.gettersToObject; exports.hexToU8a = _chunkP5WWWRSUcjs.hexToU8a; exports.i128 = _chunkP5WWWRSUcjs.i128; exports.keyringFromSuri = _chunkP5WWWRSUcjs.keyringFromSuri; exports.mnemonicGenerate = _chunkP5WWWRSUcjs.mnemonicGenerate; exports.setConfig = _chunkP5WWWRSUcjs.setConfig; exports.toFixedNumber = _chunkP5WWWRSUcjs.toFixedNumber; exports.u128 = _chunkP5WWWRSUcjs.u128; exports.u16 = _chunkP5WWWRSUcjs.u16; exports.u32 = _chunkP5WWWRSUcjs.u32; exports.u64 = _chunkP5WWWRSUcjs.u64; exports.u8 = _chunkP5WWWRSUcjs.u8; exports.u8aEq = _chunkP5WWWRSUcjs.u8aEq; exports.u8aToHex = _chunkP5WWWRSUcjs.u8aToHex; exports.waitForLoad = _chunkP5WWWRSUcjs.waitForLoad;
|
|
149
149
|
//# sourceMappingURL=index.cjs.map
|
package/lib/index.d.cts
CHANGED
|
@@ -11299,7 +11299,7 @@ declare class AccountRegistry {
|
|
|
11299
11299
|
}
|
|
11300
11300
|
|
|
11301
11301
|
declare const MICROGONS_PER_ARGON = 1000000;
|
|
11302
|
-
declare function formatArgons(
|
|
11302
|
+
declare function formatArgons(microgons: bigint | number): string;
|
|
11303
11303
|
declare function formatPercent(x: BigNumber | undefined): string;
|
|
11304
11304
|
type NonNullableProps<T> = {
|
|
11305
11305
|
[K in keyof T]-?: Exclude<T[K], undefined | null>;
|
package/lib/index.d.ts
CHANGED
|
@@ -11299,7 +11299,7 @@ declare class AccountRegistry {
|
|
|
11299
11299
|
}
|
|
11300
11300
|
|
|
11301
11301
|
declare const MICROGONS_PER_ARGON = 1000000;
|
|
11302
|
-
declare function formatArgons(
|
|
11302
|
+
declare function formatArgons(microgons: bigint | number): string;
|
|
11303
11303
|
declare function formatPercent(x: BigNumber | undefined): string;
|
|
11304
11304
|
type NonNullableProps<T> = {
|
|
11305
11305
|
[K in keyof T]-?: Exclude<T[K], undefined | null>;
|
package/lib/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@argonprotocol/mainchain",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.5",
|
|
4
4
|
"description": "A client for accessing the Argon mainchain apis.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"dotenv": "^16.4.7"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@argonprotocol/testing": "1.3.
|
|
73
|
+
"@argonprotocol/testing": "1.3.5",
|
|
74
74
|
"@polkadot/typegen": "^16.2.1",
|
|
75
75
|
"@substrate/ss58-registry": "^1.51.0",
|
|
76
76
|
"@types/node": "^18.19.6",
|
|
File without changes
|