@xchainjs/xchain-thornode 0.3.20 → 0.3.21
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/index.esm.js +1 -1
- package/lib/index.js +73 -69
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.esm.js
CHANGED
|
@@ -14,7 +14,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
14
14
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
15
15
|
PERFORMANCE OF THIS SOFTWARE.
|
|
16
16
|
***************************************************************************** */
|
|
17
|
-
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
17
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
function __awaiter(thisArg, _arguments, P, generator) {
|
package/lib/index.js
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
var globalAxios = require('axios');
|
|
4
4
|
|
|
5
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
6
|
+
|
|
7
|
+
var globalAxios__default = /*#__PURE__*/_interopDefault(globalAxios);
|
|
8
|
+
|
|
5
9
|
/******************************************************************************
|
|
6
10
|
Copyright (c) Microsoft Corporation.
|
|
7
11
|
|
|
@@ -16,7 +20,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
16
20
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
17
21
|
PERFORMANCE OF THIS SOFTWARE.
|
|
18
22
|
***************************************************************************** */
|
|
19
|
-
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
23
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
20
24
|
|
|
21
25
|
|
|
22
26
|
function __awaiter(thisArg, _arguments, P, generator) {
|
|
@@ -56,7 +60,7 @@ const BASE_PATH = "http://localhost".replace(/\/+$/, "");
|
|
|
56
60
|
* @class BaseAPI
|
|
57
61
|
*/
|
|
58
62
|
class BaseAPI {
|
|
59
|
-
constructor(configuration, basePath = BASE_PATH, axios =
|
|
63
|
+
constructor(configuration, basePath = BASE_PATH, axios = globalAxios__default.default) {
|
|
60
64
|
this.basePath = basePath;
|
|
61
65
|
this.axios = axios;
|
|
62
66
|
if (configuration) {
|
|
@@ -235,7 +239,7 @@ const BlockApiFp = function (configuration) {
|
|
|
235
239
|
block(height, options) {
|
|
236
240
|
return __awaiter(this, void 0, void 0, function* () {
|
|
237
241
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.block(height, options);
|
|
238
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
242
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
239
243
|
});
|
|
240
244
|
},
|
|
241
245
|
};
|
|
@@ -370,7 +374,7 @@ const BorrowersApiFp = function (configuration) {
|
|
|
370
374
|
borrower(asset, address, height, options) {
|
|
371
375
|
return __awaiter(this, void 0, void 0, function* () {
|
|
372
376
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.borrower(asset, address, height, options);
|
|
373
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
377
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
374
378
|
});
|
|
375
379
|
},
|
|
376
380
|
/**
|
|
@@ -383,7 +387,7 @@ const BorrowersApiFp = function (configuration) {
|
|
|
383
387
|
borrowers(asset, height, options) {
|
|
384
388
|
return __awaiter(this, void 0, void 0, function* () {
|
|
385
389
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.borrowers(asset, height, options);
|
|
386
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
390
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
387
391
|
});
|
|
388
392
|
},
|
|
389
393
|
};
|
|
@@ -506,7 +510,7 @@ const CloutApiFp = function (configuration) {
|
|
|
506
510
|
swapperClout(address, height, options) {
|
|
507
511
|
return __awaiter(this, void 0, void 0, function* () {
|
|
508
512
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.swapperClout(address, height, options);
|
|
509
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
513
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
510
514
|
});
|
|
511
515
|
},
|
|
512
516
|
};
|
|
@@ -596,7 +600,7 @@ const HealthApiFp = function (configuration) {
|
|
|
596
600
|
ping(options) {
|
|
597
601
|
return __awaiter(this, void 0, void 0, function* () {
|
|
598
602
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.ping(options);
|
|
599
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
603
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
600
604
|
});
|
|
601
605
|
},
|
|
602
606
|
};
|
|
@@ -720,7 +724,7 @@ const InvariantsApiFp = function (configuration) {
|
|
|
720
724
|
invariant(invariant, height, options) {
|
|
721
725
|
return __awaiter(this, void 0, void 0, function* () {
|
|
722
726
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.invariant(invariant, height, options);
|
|
723
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
727
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
724
728
|
});
|
|
725
729
|
},
|
|
726
730
|
/**
|
|
@@ -732,7 +736,7 @@ const InvariantsApiFp = function (configuration) {
|
|
|
732
736
|
invariants(height, options) {
|
|
733
737
|
return __awaiter(this, void 0, void 0, function* () {
|
|
734
738
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.invariants(height, options);
|
|
735
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
739
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
736
740
|
});
|
|
737
741
|
},
|
|
738
742
|
};
|
|
@@ -888,7 +892,7 @@ const LiquidityProvidersApiFp = function (configuration) {
|
|
|
888
892
|
liquidityProvider(asset, address, height, options) {
|
|
889
893
|
return __awaiter(this, void 0, void 0, function* () {
|
|
890
894
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.liquidityProvider(asset, address, height, options);
|
|
891
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
895
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
892
896
|
});
|
|
893
897
|
},
|
|
894
898
|
/**
|
|
@@ -901,7 +905,7 @@ const LiquidityProvidersApiFp = function (configuration) {
|
|
|
901
905
|
liquidityProviders(asset, height, options) {
|
|
902
906
|
return __awaiter(this, void 0, void 0, function* () {
|
|
903
907
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.liquidityProviders(asset, height, options);
|
|
904
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
908
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
905
909
|
});
|
|
906
910
|
},
|
|
907
911
|
};
|
|
@@ -1139,7 +1143,7 @@ const MimirApiFp = function (configuration) {
|
|
|
1139
1143
|
mimir(height, options) {
|
|
1140
1144
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1141
1145
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.mimir(height, options);
|
|
1142
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
1146
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
1143
1147
|
});
|
|
1144
1148
|
},
|
|
1145
1149
|
/**
|
|
@@ -1151,7 +1155,7 @@ const MimirApiFp = function (configuration) {
|
|
|
1151
1155
|
mimirAdmin(height, options) {
|
|
1152
1156
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1153
1157
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.mimirAdmin(height, options);
|
|
1154
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
1158
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
1155
1159
|
});
|
|
1156
1160
|
},
|
|
1157
1161
|
/**
|
|
@@ -1164,7 +1168,7 @@ const MimirApiFp = function (configuration) {
|
|
|
1164
1168
|
mimirKey(key, height, options) {
|
|
1165
1169
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1166
1170
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.mimirKey(key, height, options);
|
|
1167
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
1171
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
1168
1172
|
});
|
|
1169
1173
|
},
|
|
1170
1174
|
/**
|
|
@@ -1177,7 +1181,7 @@ const MimirApiFp = function (configuration) {
|
|
|
1177
1181
|
mimirNode(address, height, options) {
|
|
1178
1182
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1179
1183
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.mimirNode(address, height, options);
|
|
1180
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
1184
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
1181
1185
|
});
|
|
1182
1186
|
},
|
|
1183
1187
|
/**
|
|
@@ -1189,7 +1193,7 @@ const MimirApiFp = function (configuration) {
|
|
|
1189
1193
|
mimirNodes(height, options) {
|
|
1190
1194
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1191
1195
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.mimirNodes(height, options);
|
|
1192
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
1196
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
1193
1197
|
});
|
|
1194
1198
|
},
|
|
1195
1199
|
};
|
|
@@ -1627,7 +1631,7 @@ const NetworkApiFp = function (configuration) {
|
|
|
1627
1631
|
ban(address, height, options) {
|
|
1628
1632
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1629
1633
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.ban(address, height, options);
|
|
1630
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
1634
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
1631
1635
|
});
|
|
1632
1636
|
},
|
|
1633
1637
|
/**
|
|
@@ -1639,7 +1643,7 @@ const NetworkApiFp = function (configuration) {
|
|
|
1639
1643
|
constants(height, options) {
|
|
1640
1644
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1641
1645
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.constants(height, options);
|
|
1642
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
1646
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
1643
1647
|
});
|
|
1644
1648
|
},
|
|
1645
1649
|
/**
|
|
@@ -1651,7 +1655,7 @@ const NetworkApiFp = function (configuration) {
|
|
|
1651
1655
|
inboundAddresses(height, options) {
|
|
1652
1656
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1653
1657
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.inboundAddresses(height, options);
|
|
1654
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
1658
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
1655
1659
|
});
|
|
1656
1660
|
},
|
|
1657
1661
|
/**
|
|
@@ -1663,7 +1667,7 @@ const NetworkApiFp = function (configuration) {
|
|
|
1663
1667
|
lastblock(height, options) {
|
|
1664
1668
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1665
1669
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.lastblock(height, options);
|
|
1666
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
1670
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
1667
1671
|
});
|
|
1668
1672
|
},
|
|
1669
1673
|
/**
|
|
@@ -1676,7 +1680,7 @@ const NetworkApiFp = function (configuration) {
|
|
|
1676
1680
|
lastblockChain(chain, height, options) {
|
|
1677
1681
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1678
1682
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.lastblockChain(chain, height, options);
|
|
1679
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
1683
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
1680
1684
|
});
|
|
1681
1685
|
},
|
|
1682
1686
|
/**
|
|
@@ -1688,7 +1692,7 @@ const NetworkApiFp = function (configuration) {
|
|
|
1688
1692
|
network(height, options) {
|
|
1689
1693
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1690
1694
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.network(height, options);
|
|
1691
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
1695
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
1692
1696
|
});
|
|
1693
1697
|
},
|
|
1694
1698
|
/**
|
|
@@ -1701,7 +1705,7 @@ const NetworkApiFp = function (configuration) {
|
|
|
1701
1705
|
outboundFeeAsset(asset, height, options) {
|
|
1702
1706
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1703
1707
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.outboundFeeAsset(asset, height, options);
|
|
1704
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
1708
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
1705
1709
|
});
|
|
1706
1710
|
},
|
|
1707
1711
|
/**
|
|
@@ -1713,7 +1717,7 @@ const NetworkApiFp = function (configuration) {
|
|
|
1713
1717
|
outboundFees(height, options) {
|
|
1714
1718
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1715
1719
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.outboundFees(height, options);
|
|
1716
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
1720
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
1717
1721
|
});
|
|
1718
1722
|
},
|
|
1719
1723
|
/**
|
|
@@ -1725,7 +1729,7 @@ const NetworkApiFp = function (configuration) {
|
|
|
1725
1729
|
ragnarok(height, options) {
|
|
1726
1730
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1727
1731
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.ragnarok(height, options);
|
|
1728
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
1732
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
1729
1733
|
});
|
|
1730
1734
|
},
|
|
1731
1735
|
/**
|
|
@@ -1737,7 +1741,7 @@ const NetworkApiFp = function (configuration) {
|
|
|
1737
1741
|
version(height, options) {
|
|
1738
1742
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1739
1743
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.version(height, options);
|
|
1740
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
1744
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
1741
1745
|
});
|
|
1742
1746
|
},
|
|
1743
1747
|
};
|
|
@@ -2040,7 +2044,7 @@ const NodesApiFp = function (configuration) {
|
|
|
2040
2044
|
node(address, height, options) {
|
|
2041
2045
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2042
2046
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.node(address, height, options);
|
|
2043
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
2047
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
2044
2048
|
});
|
|
2045
2049
|
},
|
|
2046
2050
|
/**
|
|
@@ -2052,7 +2056,7 @@ const NodesApiFp = function (configuration) {
|
|
|
2052
2056
|
nodes(height, options) {
|
|
2053
2057
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2054
2058
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.nodes(height, options);
|
|
2055
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
2059
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
2056
2060
|
});
|
|
2057
2061
|
},
|
|
2058
2062
|
};
|
|
@@ -2199,7 +2203,7 @@ const PoolSlipApiFp = function (configuration) {
|
|
|
2199
2203
|
poolslip(asset, height, options) {
|
|
2200
2204
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2201
2205
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.poolslip(asset, height, options);
|
|
2202
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
2206
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
2203
2207
|
});
|
|
2204
2208
|
},
|
|
2205
2209
|
/**
|
|
@@ -2211,7 +2215,7 @@ const PoolSlipApiFp = function (configuration) {
|
|
|
2211
2215
|
poolslips(height, options) {
|
|
2212
2216
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2213
2217
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.poolslips(height, options);
|
|
2214
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
2218
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
2215
2219
|
});
|
|
2216
2220
|
},
|
|
2217
2221
|
};
|
|
@@ -2418,7 +2422,7 @@ const PoolsApiFp = function (configuration) {
|
|
|
2418
2422
|
dpool(asset, height, options) {
|
|
2419
2423
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2420
2424
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.dpool(asset, height, options);
|
|
2421
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
2425
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
2422
2426
|
});
|
|
2423
2427
|
},
|
|
2424
2428
|
/**
|
|
@@ -2430,7 +2434,7 @@ const PoolsApiFp = function (configuration) {
|
|
|
2430
2434
|
dpools(height, options) {
|
|
2431
2435
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2432
2436
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.dpools(height, options);
|
|
2433
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
2437
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
2434
2438
|
});
|
|
2435
2439
|
},
|
|
2436
2440
|
/**
|
|
@@ -2443,7 +2447,7 @@ const PoolsApiFp = function (configuration) {
|
|
|
2443
2447
|
pool(asset, height, options) {
|
|
2444
2448
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2445
2449
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.pool(asset, height, options);
|
|
2446
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
2450
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
2447
2451
|
});
|
|
2448
2452
|
},
|
|
2449
2453
|
/**
|
|
@@ -2455,7 +2459,7 @@ const PoolsApiFp = function (configuration) {
|
|
|
2455
2459
|
pools(height, options) {
|
|
2456
2460
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2457
2461
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.pools(height, options);
|
|
2458
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
2462
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
2459
2463
|
});
|
|
2460
2464
|
},
|
|
2461
2465
|
};
|
|
@@ -2693,7 +2697,7 @@ const QueueApiFp = function (configuration) {
|
|
|
2693
2697
|
queue(height, options) {
|
|
2694
2698
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2695
2699
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.queue(height, options);
|
|
2696
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
2700
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
2697
2701
|
});
|
|
2698
2702
|
},
|
|
2699
2703
|
/**
|
|
@@ -2705,7 +2709,7 @@ const QueueApiFp = function (configuration) {
|
|
|
2705
2709
|
queueOutbound(height, options) {
|
|
2706
2710
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2707
2711
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.queueOutbound(height, options);
|
|
2708
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
2712
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
2709
2713
|
});
|
|
2710
2714
|
},
|
|
2711
2715
|
/**
|
|
@@ -2717,7 +2721,7 @@ const QueueApiFp = function (configuration) {
|
|
|
2717
2721
|
queueScheduled(height, options) {
|
|
2718
2722
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2719
2723
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.queueScheduled(height, options);
|
|
2720
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
2724
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
2721
2725
|
});
|
|
2722
2726
|
},
|
|
2723
2727
|
/**
|
|
@@ -2729,7 +2733,7 @@ const QueueApiFp = function (configuration) {
|
|
|
2729
2733
|
queueSwap(height, options) {
|
|
2730
2734
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2731
2735
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.queueSwap(height, options);
|
|
2732
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
2736
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
2733
2737
|
});
|
|
2734
2738
|
},
|
|
2735
2739
|
};
|
|
@@ -3104,7 +3108,7 @@ const QuoteApiFp = function (configuration) {
|
|
|
3104
3108
|
quoteloanclose(height, fromAsset, repayBps, toAsset, loanOwner, minOut, options) {
|
|
3105
3109
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3106
3110
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.quoteloanclose(height, fromAsset, repayBps, toAsset, loanOwner, minOut, options);
|
|
3107
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
3111
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
3108
3112
|
});
|
|
3109
3113
|
},
|
|
3110
3114
|
/**
|
|
@@ -3123,7 +3127,7 @@ const QuoteApiFp = function (configuration) {
|
|
|
3123
3127
|
quoteloanopen(height, fromAsset, amount, toAsset, destination, minOut, affiliateBps, affiliate, options) {
|
|
3124
3128
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3125
3129
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.quoteloanopen(height, fromAsset, amount, toAsset, destination, minOut, affiliateBps, affiliate, options);
|
|
3126
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
3130
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
3127
3131
|
});
|
|
3128
3132
|
},
|
|
3129
3133
|
/**
|
|
@@ -3137,7 +3141,7 @@ const QuoteApiFp = function (configuration) {
|
|
|
3137
3141
|
quotesaverdeposit(height, asset, amount, options) {
|
|
3138
3142
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3139
3143
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.quotesaverdeposit(height, asset, amount, options);
|
|
3140
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
3144
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
3141
3145
|
});
|
|
3142
3146
|
},
|
|
3143
3147
|
/**
|
|
@@ -3152,7 +3156,7 @@ const QuoteApiFp = function (configuration) {
|
|
|
3152
3156
|
quotesaverwithdraw(height, asset, address, withdrawBps, options) {
|
|
3153
3157
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3154
3158
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.quotesaverwithdraw(height, asset, address, withdrawBps, options);
|
|
3155
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
3159
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
3156
3160
|
});
|
|
3157
3161
|
},
|
|
3158
3162
|
/**
|
|
@@ -3174,7 +3178,7 @@ const QuoteApiFp = function (configuration) {
|
|
|
3174
3178
|
quoteswap(height, fromAsset, toAsset, amount, destination, refundAddress, streamingInterval, streamingQuantity, toleranceBps, affiliateBps, affiliate, options) {
|
|
3175
3179
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3176
3180
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.quoteswap(height, fromAsset, toAsset, amount, destination, refundAddress, streamingInterval, streamingQuantity, toleranceBps, affiliateBps, affiliate, options);
|
|
3177
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
3181
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
3178
3182
|
});
|
|
3179
3183
|
},
|
|
3180
3184
|
};
|
|
@@ -3457,7 +3461,7 @@ const RUNEPoolApiFp = function (configuration) {
|
|
|
3457
3461
|
runePool(height, options) {
|
|
3458
3462
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3459
3463
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.runePool(height, options);
|
|
3460
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
3464
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
3461
3465
|
});
|
|
3462
3466
|
},
|
|
3463
3467
|
/**
|
|
@@ -3470,7 +3474,7 @@ const RUNEPoolApiFp = function (configuration) {
|
|
|
3470
3474
|
runeProvider(address, height, options) {
|
|
3471
3475
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3472
3476
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.runeProvider(address, height, options);
|
|
3473
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
3477
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
3474
3478
|
});
|
|
3475
3479
|
},
|
|
3476
3480
|
/**
|
|
@@ -3482,7 +3486,7 @@ const RUNEPoolApiFp = function (configuration) {
|
|
|
3482
3486
|
runeProviders(height, options) {
|
|
3483
3487
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3484
3488
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.runeProviders(height, options);
|
|
3485
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
3489
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
3486
3490
|
});
|
|
3487
3491
|
},
|
|
3488
3492
|
};
|
|
@@ -3657,7 +3661,7 @@ const SaversApiFp = function (configuration) {
|
|
|
3657
3661
|
saver(asset, address, height, options) {
|
|
3658
3662
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3659
3663
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.saver(asset, address, height, options);
|
|
3660
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
3664
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
3661
3665
|
});
|
|
3662
3666
|
},
|
|
3663
3667
|
/**
|
|
@@ -3670,7 +3674,7 @@ const SaversApiFp = function (configuration) {
|
|
|
3670
3674
|
savers(asset, height, options) {
|
|
3671
3675
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3672
3676
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.savers(asset, height, options);
|
|
3673
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
3677
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
3674
3678
|
});
|
|
3675
3679
|
},
|
|
3676
3680
|
};
|
|
@@ -3821,7 +3825,7 @@ const StreamingSwapApiFp = function (configuration) {
|
|
|
3821
3825
|
streamSwap(hash, height, options) {
|
|
3822
3826
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3823
3827
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.streamSwap(hash, height, options);
|
|
3824
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
3828
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
3825
3829
|
});
|
|
3826
3830
|
},
|
|
3827
3831
|
/**
|
|
@@ -3833,7 +3837,7 @@ const StreamingSwapApiFp = function (configuration) {
|
|
|
3833
3837
|
streamSwaps(height, options) {
|
|
3834
3838
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3835
3839
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.streamSwaps(height, options);
|
|
3836
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
3840
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
3837
3841
|
});
|
|
3838
3842
|
},
|
|
3839
3843
|
};
|
|
@@ -4072,7 +4076,7 @@ const TSSApiFp = function (configuration) {
|
|
|
4072
4076
|
keygenPubkey(height, pubkey, options) {
|
|
4073
4077
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4074
4078
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.keygenPubkey(height, pubkey, options);
|
|
4075
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
4079
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
4076
4080
|
});
|
|
4077
4081
|
},
|
|
4078
4082
|
/**
|
|
@@ -4084,7 +4088,7 @@ const TSSApiFp = function (configuration) {
|
|
|
4084
4088
|
keysign(height, options) {
|
|
4085
4089
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4086
4090
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.keysign(height, options);
|
|
4087
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
4091
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
4088
4092
|
});
|
|
4089
4093
|
},
|
|
4090
4094
|
/**
|
|
@@ -4097,7 +4101,7 @@ const TSSApiFp = function (configuration) {
|
|
|
4097
4101
|
keysignPubkey(height, pubkey, options) {
|
|
4098
4102
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4099
4103
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.keysignPubkey(height, pubkey, options);
|
|
4100
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
4104
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
4101
4105
|
});
|
|
4102
4106
|
},
|
|
4103
4107
|
/**
|
|
@@ -4109,7 +4113,7 @@ const TSSApiFp = function (configuration) {
|
|
|
4109
4113
|
metrics(height, options) {
|
|
4110
4114
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4111
4115
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.metrics(height, options);
|
|
4112
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
4116
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
4113
4117
|
});
|
|
4114
4118
|
},
|
|
4115
4119
|
/**
|
|
@@ -4122,7 +4126,7 @@ const TSSApiFp = function (configuration) {
|
|
|
4122
4126
|
metricsKeygen(pubkey, height, options) {
|
|
4123
4127
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4124
4128
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.metricsKeygen(pubkey, height, options);
|
|
4125
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
4129
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
4126
4130
|
});
|
|
4127
4131
|
},
|
|
4128
4132
|
};
|
|
@@ -4302,7 +4306,7 @@ const ThornamesApiFp = function (configuration) {
|
|
|
4302
4306
|
thorname(name, height, options) {
|
|
4303
4307
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4304
4308
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.thorname(name, height, options);
|
|
4305
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
4309
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
4306
4310
|
});
|
|
4307
4311
|
},
|
|
4308
4312
|
};
|
|
@@ -4402,7 +4406,7 @@ const TradeAccountApiFp = function (configuration) {
|
|
|
4402
4406
|
tradeAccount(address, height, options) {
|
|
4403
4407
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4404
4408
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.tradeAccount(address, height, options);
|
|
4405
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
4409
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
4406
4410
|
});
|
|
4407
4411
|
},
|
|
4408
4412
|
};
|
|
@@ -4502,7 +4506,7 @@ const TradeAccountsApiFp = function (configuration) {
|
|
|
4502
4506
|
tradeAccounts(asset, height, options) {
|
|
4503
4507
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4504
4508
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.tradeAccounts(asset, height, options);
|
|
4505
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
4509
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
4506
4510
|
});
|
|
4507
4511
|
},
|
|
4508
4512
|
};
|
|
@@ -4602,7 +4606,7 @@ const TradeUnitApiFp = function (configuration) {
|
|
|
4602
4606
|
tradeUnit(asset, height, options) {
|
|
4603
4607
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4604
4608
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.tradeUnit(asset, height, options);
|
|
4605
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
4609
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
4606
4610
|
});
|
|
4607
4611
|
},
|
|
4608
4612
|
};
|
|
@@ -4697,7 +4701,7 @@ const TradeUnitsApiFp = function (configuration) {
|
|
|
4697
4701
|
tradeUnits(height, options) {
|
|
4698
4702
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4699
4703
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.tradeUnits(height, options);
|
|
4700
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
4704
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
4701
4705
|
});
|
|
4702
4706
|
},
|
|
4703
4707
|
};
|
|
@@ -4923,7 +4927,7 @@ const TransactionsApiFp = function (configuration) {
|
|
|
4923
4927
|
tx(hash, height, options) {
|
|
4924
4928
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4925
4929
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.tx(hash, height, options);
|
|
4926
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
4930
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
4927
4931
|
});
|
|
4928
4932
|
},
|
|
4929
4933
|
/**
|
|
@@ -4936,7 +4940,7 @@ const TransactionsApiFp = function (configuration) {
|
|
|
4936
4940
|
txSigners(hash, height, options) {
|
|
4937
4941
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4938
4942
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.txSigners(hash, height, options);
|
|
4939
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
4943
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
4940
4944
|
});
|
|
4941
4945
|
},
|
|
4942
4946
|
/**
|
|
@@ -4949,7 +4953,7 @@ const TransactionsApiFp = function (configuration) {
|
|
|
4949
4953
|
txSignersOld(hash, height, options) {
|
|
4950
4954
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4951
4955
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.txSignersOld(hash, height, options);
|
|
4952
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
4956
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
4953
4957
|
});
|
|
4954
4958
|
},
|
|
4955
4959
|
/**
|
|
@@ -4962,7 +4966,7 @@ const TransactionsApiFp = function (configuration) {
|
|
|
4962
4966
|
txStages(hash, height, options) {
|
|
4963
4967
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4964
4968
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.txStages(hash, height, options);
|
|
4965
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
4969
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
4966
4970
|
});
|
|
4967
4971
|
},
|
|
4968
4972
|
/**
|
|
@@ -4975,7 +4979,7 @@ const TransactionsApiFp = function (configuration) {
|
|
|
4975
4979
|
txStatus(hash, height, options) {
|
|
4976
4980
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4977
4981
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.txStatus(hash, height, options);
|
|
4978
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
4982
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
4979
4983
|
});
|
|
4980
4984
|
},
|
|
4981
4985
|
};
|
|
@@ -5242,7 +5246,7 @@ const VaultsApiFp = function (configuration) {
|
|
|
5242
5246
|
asgard(height, options) {
|
|
5243
5247
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5244
5248
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.asgard(height, options);
|
|
5245
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
5249
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
5246
5250
|
});
|
|
5247
5251
|
},
|
|
5248
5252
|
/**
|
|
@@ -5255,7 +5259,7 @@ const VaultsApiFp = function (configuration) {
|
|
|
5255
5259
|
vault(pubkey, height, options) {
|
|
5256
5260
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5257
5261
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.vault(pubkey, height, options);
|
|
5258
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
5262
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
5259
5263
|
});
|
|
5260
5264
|
},
|
|
5261
5265
|
/**
|
|
@@ -5267,7 +5271,7 @@ const VaultsApiFp = function (configuration) {
|
|
|
5267
5271
|
vaultPubkeys(height, options) {
|
|
5268
5272
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5269
5273
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.vaultPubkeys(height, options);
|
|
5270
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
5274
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
5271
5275
|
});
|
|
5272
5276
|
},
|
|
5273
5277
|
/**
|
|
@@ -5279,7 +5283,7 @@ const VaultsApiFp = function (configuration) {
|
|
|
5279
5283
|
yggdrasil(height, options) {
|
|
5280
5284
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5281
5285
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.yggdrasil(height, options);
|
|
5282
|
-
return createRequestFunction(localVarAxiosArgs,
|
|
5286
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
|
|
5283
5287
|
});
|
|
5284
5288
|
},
|
|
5285
5289
|
};
|