@xchainjs/xchain-thornode 0.3.18 → 0.3.20

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.js CHANGED
@@ -1,13 +1,7 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  var globalAxios = require('axios');
6
4
 
7
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
-
9
- var globalAxios__default = /*#__PURE__*/_interopDefaultLegacy(globalAxios);
10
-
11
5
  /******************************************************************************
12
6
  Copyright (c) Microsoft Corporation.
13
7
 
@@ -22,6 +16,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
22
16
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
23
17
  PERFORMANCE OF THIS SOFTWARE.
24
18
  ***************************************************************************** */
19
+ /* global Reflect, Promise, SuppressedError, Symbol */
20
+
25
21
 
26
22
  function __awaiter(thisArg, _arguments, P, generator) {
27
23
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
@@ -31,9 +27,28 @@ function __awaiter(thisArg, _arguments, P, generator) {
31
27
  function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
32
28
  step((generator = generator.apply(thisArg, _arguments || [])).next());
33
29
  });
34
- }
30
+ }
31
+
32
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
33
+ var e = new Error(message);
34
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
35
+ };
35
36
 
36
37
  /* tslint:disable */
38
+ /* eslint-disable */
39
+ /**
40
+ * Thornode API
41
+ * Thornode REST API.
42
+ *
43
+ * The version of the OpenAPI document: 1.134.0
44
+ * Contact: devs@thorchain.org
45
+ *
46
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
47
+ * https://openapi-generator.tech
48
+ * Do not edit the class manually.
49
+ */
50
+ // Some imports not used depending on template conditions
51
+ // @ts-ignore
37
52
  const BASE_PATH = "http://localhost".replace(/\/+$/, "");
38
53
  /**
39
54
  *
@@ -41,7 +56,7 @@ const BASE_PATH = "http://localhost".replace(/\/+$/, "");
41
56
  * @class BaseAPI
42
57
  */
43
58
  class BaseAPI {
44
- constructor(configuration, basePath = BASE_PATH, axios = globalAxios__default["default"]) {
59
+ constructor(configuration, basePath = BASE_PATH, axios = globalAxios) {
45
60
  this.basePath = basePath;
46
61
  this.axios = axios;
47
62
  if (configuration) {
@@ -65,6 +80,18 @@ class RequiredError extends Error {
65
80
  }
66
81
 
67
82
  /* tslint:disable */
83
+ /* eslint-disable */
84
+ /**
85
+ * Thornode API
86
+ * Thornode REST API.
87
+ *
88
+ * The version of the OpenAPI document: 1.134.0
89
+ * Contact: devs@thorchain.org
90
+ *
91
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
92
+ * https://openapi-generator.tech
93
+ * Do not edit the class manually.
94
+ */
68
95
  /**
69
96
  *
70
97
  * @export
@@ -126,6 +153,18 @@ const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, confi
126
153
  };
127
154
 
128
155
  /* tslint:disable */
156
+ /* eslint-disable */
157
+ /**
158
+ * Thornode API
159
+ * Thornode REST API.
160
+ *
161
+ * The version of the OpenAPI document: 1.134.0
162
+ * Contact: devs@thorchain.org
163
+ *
164
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
165
+ * https://openapi-generator.tech
166
+ * Do not edit the class manually.
167
+ */
129
168
  const NodeStatusEnum = {
130
169
  Active: 'Active',
131
170
  Whitelisted: 'Whitelisted',
@@ -196,7 +235,7 @@ const BlockApiFp = function (configuration) {
196
235
  block(height, options) {
197
236
  return __awaiter(this, void 0, void 0, function* () {
198
237
  const localVarAxiosArgs = yield localVarAxiosParamCreator.block(height, options);
199
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
238
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
200
239
  });
201
240
  },
202
241
  };
@@ -331,7 +370,7 @@ const BorrowersApiFp = function (configuration) {
331
370
  borrower(asset, address, height, options) {
332
371
  return __awaiter(this, void 0, void 0, function* () {
333
372
  const localVarAxiosArgs = yield localVarAxiosParamCreator.borrower(asset, address, height, options);
334
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
373
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
335
374
  });
336
375
  },
337
376
  /**
@@ -344,7 +383,7 @@ const BorrowersApiFp = function (configuration) {
344
383
  borrowers(asset, height, options) {
345
384
  return __awaiter(this, void 0, void 0, function* () {
346
385
  const localVarAxiosArgs = yield localVarAxiosParamCreator.borrowers(asset, height, options);
347
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
386
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
348
387
  });
349
388
  },
350
389
  };
@@ -467,7 +506,7 @@ const CloutApiFp = function (configuration) {
467
506
  swapperClout(address, height, options) {
468
507
  return __awaiter(this, void 0, void 0, function* () {
469
508
  const localVarAxiosArgs = yield localVarAxiosParamCreator.swapperClout(address, height, options);
470
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
509
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
471
510
  });
472
511
  },
473
512
  };
@@ -557,7 +596,7 @@ const HealthApiFp = function (configuration) {
557
596
  ping(options) {
558
597
  return __awaiter(this, void 0, void 0, function* () {
559
598
  const localVarAxiosArgs = yield localVarAxiosParamCreator.ping(options);
560
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
599
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
561
600
  });
562
601
  },
563
602
  };
@@ -681,7 +720,7 @@ const InvariantsApiFp = function (configuration) {
681
720
  invariant(invariant, height, options) {
682
721
  return __awaiter(this, void 0, void 0, function* () {
683
722
  const localVarAxiosArgs = yield localVarAxiosParamCreator.invariant(invariant, height, options);
684
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
723
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
685
724
  });
686
725
  },
687
726
  /**
@@ -693,7 +732,7 @@ const InvariantsApiFp = function (configuration) {
693
732
  invariants(height, options) {
694
733
  return __awaiter(this, void 0, void 0, function* () {
695
734
  const localVarAxiosArgs = yield localVarAxiosParamCreator.invariants(height, options);
696
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
735
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
697
736
  });
698
737
  },
699
738
  };
@@ -849,7 +888,7 @@ const LiquidityProvidersApiFp = function (configuration) {
849
888
  liquidityProvider(asset, address, height, options) {
850
889
  return __awaiter(this, void 0, void 0, function* () {
851
890
  const localVarAxiosArgs = yield localVarAxiosParamCreator.liquidityProvider(asset, address, height, options);
852
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
891
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
853
892
  });
854
893
  },
855
894
  /**
@@ -862,7 +901,7 @@ const LiquidityProvidersApiFp = function (configuration) {
862
901
  liquidityProviders(asset, height, options) {
863
902
  return __awaiter(this, void 0, void 0, function* () {
864
903
  const localVarAxiosArgs = yield localVarAxiosParamCreator.liquidityProviders(asset, height, options);
865
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
904
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
866
905
  });
867
906
  },
868
907
  };
@@ -1100,7 +1139,7 @@ const MimirApiFp = function (configuration) {
1100
1139
  mimir(height, options) {
1101
1140
  return __awaiter(this, void 0, void 0, function* () {
1102
1141
  const localVarAxiosArgs = yield localVarAxiosParamCreator.mimir(height, options);
1103
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
1142
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1104
1143
  });
1105
1144
  },
1106
1145
  /**
@@ -1112,7 +1151,7 @@ const MimirApiFp = function (configuration) {
1112
1151
  mimirAdmin(height, options) {
1113
1152
  return __awaiter(this, void 0, void 0, function* () {
1114
1153
  const localVarAxiosArgs = yield localVarAxiosParamCreator.mimirAdmin(height, options);
1115
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
1154
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1116
1155
  });
1117
1156
  },
1118
1157
  /**
@@ -1125,7 +1164,7 @@ const MimirApiFp = function (configuration) {
1125
1164
  mimirKey(key, height, options) {
1126
1165
  return __awaiter(this, void 0, void 0, function* () {
1127
1166
  const localVarAxiosArgs = yield localVarAxiosParamCreator.mimirKey(key, height, options);
1128
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
1167
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1129
1168
  });
1130
1169
  },
1131
1170
  /**
@@ -1138,7 +1177,7 @@ const MimirApiFp = function (configuration) {
1138
1177
  mimirNode(address, height, options) {
1139
1178
  return __awaiter(this, void 0, void 0, function* () {
1140
1179
  const localVarAxiosArgs = yield localVarAxiosParamCreator.mimirNode(address, height, options);
1141
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
1180
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1142
1181
  });
1143
1182
  },
1144
1183
  /**
@@ -1150,7 +1189,7 @@ const MimirApiFp = function (configuration) {
1150
1189
  mimirNodes(height, options) {
1151
1190
  return __awaiter(this, void 0, void 0, function* () {
1152
1191
  const localVarAxiosArgs = yield localVarAxiosParamCreator.mimirNodes(height, options);
1153
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
1192
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1154
1193
  });
1155
1194
  },
1156
1195
  };
@@ -1588,7 +1627,7 @@ const NetworkApiFp = function (configuration) {
1588
1627
  ban(address, height, options) {
1589
1628
  return __awaiter(this, void 0, void 0, function* () {
1590
1629
  const localVarAxiosArgs = yield localVarAxiosParamCreator.ban(address, height, options);
1591
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
1630
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1592
1631
  });
1593
1632
  },
1594
1633
  /**
@@ -1600,7 +1639,7 @@ const NetworkApiFp = function (configuration) {
1600
1639
  constants(height, options) {
1601
1640
  return __awaiter(this, void 0, void 0, function* () {
1602
1641
  const localVarAxiosArgs = yield localVarAxiosParamCreator.constants(height, options);
1603
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
1642
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1604
1643
  });
1605
1644
  },
1606
1645
  /**
@@ -1612,7 +1651,7 @@ const NetworkApiFp = function (configuration) {
1612
1651
  inboundAddresses(height, options) {
1613
1652
  return __awaiter(this, void 0, void 0, function* () {
1614
1653
  const localVarAxiosArgs = yield localVarAxiosParamCreator.inboundAddresses(height, options);
1615
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
1654
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1616
1655
  });
1617
1656
  },
1618
1657
  /**
@@ -1624,7 +1663,7 @@ const NetworkApiFp = function (configuration) {
1624
1663
  lastblock(height, options) {
1625
1664
  return __awaiter(this, void 0, void 0, function* () {
1626
1665
  const localVarAxiosArgs = yield localVarAxiosParamCreator.lastblock(height, options);
1627
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
1666
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1628
1667
  });
1629
1668
  },
1630
1669
  /**
@@ -1637,7 +1676,7 @@ const NetworkApiFp = function (configuration) {
1637
1676
  lastblockChain(chain, height, options) {
1638
1677
  return __awaiter(this, void 0, void 0, function* () {
1639
1678
  const localVarAxiosArgs = yield localVarAxiosParamCreator.lastblockChain(chain, height, options);
1640
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
1679
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1641
1680
  });
1642
1681
  },
1643
1682
  /**
@@ -1649,7 +1688,7 @@ const NetworkApiFp = function (configuration) {
1649
1688
  network(height, options) {
1650
1689
  return __awaiter(this, void 0, void 0, function* () {
1651
1690
  const localVarAxiosArgs = yield localVarAxiosParamCreator.network(height, options);
1652
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
1691
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1653
1692
  });
1654
1693
  },
1655
1694
  /**
@@ -1662,7 +1701,7 @@ const NetworkApiFp = function (configuration) {
1662
1701
  outboundFeeAsset(asset, height, options) {
1663
1702
  return __awaiter(this, void 0, void 0, function* () {
1664
1703
  const localVarAxiosArgs = yield localVarAxiosParamCreator.outboundFeeAsset(asset, height, options);
1665
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
1704
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1666
1705
  });
1667
1706
  },
1668
1707
  /**
@@ -1674,7 +1713,7 @@ const NetworkApiFp = function (configuration) {
1674
1713
  outboundFees(height, options) {
1675
1714
  return __awaiter(this, void 0, void 0, function* () {
1676
1715
  const localVarAxiosArgs = yield localVarAxiosParamCreator.outboundFees(height, options);
1677
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
1716
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1678
1717
  });
1679
1718
  },
1680
1719
  /**
@@ -1686,7 +1725,7 @@ const NetworkApiFp = function (configuration) {
1686
1725
  ragnarok(height, options) {
1687
1726
  return __awaiter(this, void 0, void 0, function* () {
1688
1727
  const localVarAxiosArgs = yield localVarAxiosParamCreator.ragnarok(height, options);
1689
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
1728
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1690
1729
  });
1691
1730
  },
1692
1731
  /**
@@ -1698,7 +1737,7 @@ const NetworkApiFp = function (configuration) {
1698
1737
  version(height, options) {
1699
1738
  return __awaiter(this, void 0, void 0, function* () {
1700
1739
  const localVarAxiosArgs = yield localVarAxiosParamCreator.version(height, options);
1701
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
1740
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1702
1741
  });
1703
1742
  },
1704
1743
  };
@@ -2001,7 +2040,7 @@ const NodesApiFp = function (configuration) {
2001
2040
  node(address, height, options) {
2002
2041
  return __awaiter(this, void 0, void 0, function* () {
2003
2042
  const localVarAxiosArgs = yield localVarAxiosParamCreator.node(address, height, options);
2004
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
2043
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2005
2044
  });
2006
2045
  },
2007
2046
  /**
@@ -2013,7 +2052,7 @@ const NodesApiFp = function (configuration) {
2013
2052
  nodes(height, options) {
2014
2053
  return __awaiter(this, void 0, void 0, function* () {
2015
2054
  const localVarAxiosArgs = yield localVarAxiosParamCreator.nodes(height, options);
2016
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
2055
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2017
2056
  });
2018
2057
  },
2019
2058
  };
@@ -2160,7 +2199,7 @@ const PoolSlipApiFp = function (configuration) {
2160
2199
  poolslip(asset, height, options) {
2161
2200
  return __awaiter(this, void 0, void 0, function* () {
2162
2201
  const localVarAxiosArgs = yield localVarAxiosParamCreator.poolslip(asset, height, options);
2163
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
2202
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2164
2203
  });
2165
2204
  },
2166
2205
  /**
@@ -2172,7 +2211,7 @@ const PoolSlipApiFp = function (configuration) {
2172
2211
  poolslips(height, options) {
2173
2212
  return __awaiter(this, void 0, void 0, function* () {
2174
2213
  const localVarAxiosArgs = yield localVarAxiosParamCreator.poolslips(height, options);
2175
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
2214
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2176
2215
  });
2177
2216
  },
2178
2217
  };
@@ -2379,7 +2418,7 @@ const PoolsApiFp = function (configuration) {
2379
2418
  dpool(asset, height, options) {
2380
2419
  return __awaiter(this, void 0, void 0, function* () {
2381
2420
  const localVarAxiosArgs = yield localVarAxiosParamCreator.dpool(asset, height, options);
2382
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
2421
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2383
2422
  });
2384
2423
  },
2385
2424
  /**
@@ -2391,7 +2430,7 @@ const PoolsApiFp = function (configuration) {
2391
2430
  dpools(height, options) {
2392
2431
  return __awaiter(this, void 0, void 0, function* () {
2393
2432
  const localVarAxiosArgs = yield localVarAxiosParamCreator.dpools(height, options);
2394
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
2433
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2395
2434
  });
2396
2435
  },
2397
2436
  /**
@@ -2404,7 +2443,7 @@ const PoolsApiFp = function (configuration) {
2404
2443
  pool(asset, height, options) {
2405
2444
  return __awaiter(this, void 0, void 0, function* () {
2406
2445
  const localVarAxiosArgs = yield localVarAxiosParamCreator.pool(asset, height, options);
2407
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
2446
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2408
2447
  });
2409
2448
  },
2410
2449
  /**
@@ -2416,7 +2455,7 @@ const PoolsApiFp = function (configuration) {
2416
2455
  pools(height, options) {
2417
2456
  return __awaiter(this, void 0, void 0, function* () {
2418
2457
  const localVarAxiosArgs = yield localVarAxiosParamCreator.pools(height, options);
2419
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
2458
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2420
2459
  });
2421
2460
  },
2422
2461
  };
@@ -2654,7 +2693,7 @@ const QueueApiFp = function (configuration) {
2654
2693
  queue(height, options) {
2655
2694
  return __awaiter(this, void 0, void 0, function* () {
2656
2695
  const localVarAxiosArgs = yield localVarAxiosParamCreator.queue(height, options);
2657
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
2696
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2658
2697
  });
2659
2698
  },
2660
2699
  /**
@@ -2666,7 +2705,7 @@ const QueueApiFp = function (configuration) {
2666
2705
  queueOutbound(height, options) {
2667
2706
  return __awaiter(this, void 0, void 0, function* () {
2668
2707
  const localVarAxiosArgs = yield localVarAxiosParamCreator.queueOutbound(height, options);
2669
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
2708
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2670
2709
  });
2671
2710
  },
2672
2711
  /**
@@ -2678,7 +2717,7 @@ const QueueApiFp = function (configuration) {
2678
2717
  queueScheduled(height, options) {
2679
2718
  return __awaiter(this, void 0, void 0, function* () {
2680
2719
  const localVarAxiosArgs = yield localVarAxiosParamCreator.queueScheduled(height, options);
2681
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
2720
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2682
2721
  });
2683
2722
  },
2684
2723
  /**
@@ -2690,7 +2729,7 @@ const QueueApiFp = function (configuration) {
2690
2729
  queueSwap(height, options) {
2691
2730
  return __awaiter(this, void 0, void 0, function* () {
2692
2731
  const localVarAxiosArgs = yield localVarAxiosParamCreator.queueSwap(height, options);
2693
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
2732
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2694
2733
  });
2695
2734
  },
2696
2735
  };
@@ -3065,7 +3104,7 @@ const QuoteApiFp = function (configuration) {
3065
3104
  quoteloanclose(height, fromAsset, repayBps, toAsset, loanOwner, minOut, options) {
3066
3105
  return __awaiter(this, void 0, void 0, function* () {
3067
3106
  const localVarAxiosArgs = yield localVarAxiosParamCreator.quoteloanclose(height, fromAsset, repayBps, toAsset, loanOwner, minOut, options);
3068
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
3107
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3069
3108
  });
3070
3109
  },
3071
3110
  /**
@@ -3084,7 +3123,7 @@ const QuoteApiFp = function (configuration) {
3084
3123
  quoteloanopen(height, fromAsset, amount, toAsset, destination, minOut, affiliateBps, affiliate, options) {
3085
3124
  return __awaiter(this, void 0, void 0, function* () {
3086
3125
  const localVarAxiosArgs = yield localVarAxiosParamCreator.quoteloanopen(height, fromAsset, amount, toAsset, destination, minOut, affiliateBps, affiliate, options);
3087
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
3126
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3088
3127
  });
3089
3128
  },
3090
3129
  /**
@@ -3098,7 +3137,7 @@ const QuoteApiFp = function (configuration) {
3098
3137
  quotesaverdeposit(height, asset, amount, options) {
3099
3138
  return __awaiter(this, void 0, void 0, function* () {
3100
3139
  const localVarAxiosArgs = yield localVarAxiosParamCreator.quotesaverdeposit(height, asset, amount, options);
3101
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
3140
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3102
3141
  });
3103
3142
  },
3104
3143
  /**
@@ -3113,7 +3152,7 @@ const QuoteApiFp = function (configuration) {
3113
3152
  quotesaverwithdraw(height, asset, address, withdrawBps, options) {
3114
3153
  return __awaiter(this, void 0, void 0, function* () {
3115
3154
  const localVarAxiosArgs = yield localVarAxiosParamCreator.quotesaverwithdraw(height, asset, address, withdrawBps, options);
3116
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
3155
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3117
3156
  });
3118
3157
  },
3119
3158
  /**
@@ -3135,7 +3174,7 @@ const QuoteApiFp = function (configuration) {
3135
3174
  quoteswap(height, fromAsset, toAsset, amount, destination, refundAddress, streamingInterval, streamingQuantity, toleranceBps, affiliateBps, affiliate, options) {
3136
3175
  return __awaiter(this, void 0, void 0, function* () {
3137
3176
  const localVarAxiosArgs = yield localVarAxiosParamCreator.quoteswap(height, fromAsset, toAsset, amount, destination, refundAddress, streamingInterval, streamingQuantity, toleranceBps, affiliateBps, affiliate, options);
3138
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
3177
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3139
3178
  });
3140
3179
  },
3141
3180
  };
@@ -3418,7 +3457,7 @@ const RUNEPoolApiFp = function (configuration) {
3418
3457
  runePool(height, options) {
3419
3458
  return __awaiter(this, void 0, void 0, function* () {
3420
3459
  const localVarAxiosArgs = yield localVarAxiosParamCreator.runePool(height, options);
3421
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
3460
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3422
3461
  });
3423
3462
  },
3424
3463
  /**
@@ -3431,7 +3470,7 @@ const RUNEPoolApiFp = function (configuration) {
3431
3470
  runeProvider(address, height, options) {
3432
3471
  return __awaiter(this, void 0, void 0, function* () {
3433
3472
  const localVarAxiosArgs = yield localVarAxiosParamCreator.runeProvider(address, height, options);
3434
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
3473
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3435
3474
  });
3436
3475
  },
3437
3476
  /**
@@ -3443,7 +3482,7 @@ const RUNEPoolApiFp = function (configuration) {
3443
3482
  runeProviders(height, options) {
3444
3483
  return __awaiter(this, void 0, void 0, function* () {
3445
3484
  const localVarAxiosArgs = yield localVarAxiosParamCreator.runeProviders(height, options);
3446
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
3485
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3447
3486
  });
3448
3487
  },
3449
3488
  };
@@ -3618,7 +3657,7 @@ const SaversApiFp = function (configuration) {
3618
3657
  saver(asset, address, height, options) {
3619
3658
  return __awaiter(this, void 0, void 0, function* () {
3620
3659
  const localVarAxiosArgs = yield localVarAxiosParamCreator.saver(asset, address, height, options);
3621
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
3660
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3622
3661
  });
3623
3662
  },
3624
3663
  /**
@@ -3631,7 +3670,7 @@ const SaversApiFp = function (configuration) {
3631
3670
  savers(asset, height, options) {
3632
3671
  return __awaiter(this, void 0, void 0, function* () {
3633
3672
  const localVarAxiosArgs = yield localVarAxiosParamCreator.savers(asset, height, options);
3634
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
3673
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3635
3674
  });
3636
3675
  },
3637
3676
  };
@@ -3782,7 +3821,7 @@ const StreamingSwapApiFp = function (configuration) {
3782
3821
  streamSwap(hash, height, options) {
3783
3822
  return __awaiter(this, void 0, void 0, function* () {
3784
3823
  const localVarAxiosArgs = yield localVarAxiosParamCreator.streamSwap(hash, height, options);
3785
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
3824
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3786
3825
  });
3787
3826
  },
3788
3827
  /**
@@ -3794,7 +3833,7 @@ const StreamingSwapApiFp = function (configuration) {
3794
3833
  streamSwaps(height, options) {
3795
3834
  return __awaiter(this, void 0, void 0, function* () {
3796
3835
  const localVarAxiosArgs = yield localVarAxiosParamCreator.streamSwaps(height, options);
3797
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
3836
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3798
3837
  });
3799
3838
  },
3800
3839
  };
@@ -4033,7 +4072,7 @@ const TSSApiFp = function (configuration) {
4033
4072
  keygenPubkey(height, pubkey, options) {
4034
4073
  return __awaiter(this, void 0, void 0, function* () {
4035
4074
  const localVarAxiosArgs = yield localVarAxiosParamCreator.keygenPubkey(height, pubkey, options);
4036
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
4075
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4037
4076
  });
4038
4077
  },
4039
4078
  /**
@@ -4045,7 +4084,7 @@ const TSSApiFp = function (configuration) {
4045
4084
  keysign(height, options) {
4046
4085
  return __awaiter(this, void 0, void 0, function* () {
4047
4086
  const localVarAxiosArgs = yield localVarAxiosParamCreator.keysign(height, options);
4048
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
4087
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4049
4088
  });
4050
4089
  },
4051
4090
  /**
@@ -4058,7 +4097,7 @@ const TSSApiFp = function (configuration) {
4058
4097
  keysignPubkey(height, pubkey, options) {
4059
4098
  return __awaiter(this, void 0, void 0, function* () {
4060
4099
  const localVarAxiosArgs = yield localVarAxiosParamCreator.keysignPubkey(height, pubkey, options);
4061
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
4100
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4062
4101
  });
4063
4102
  },
4064
4103
  /**
@@ -4070,7 +4109,7 @@ const TSSApiFp = function (configuration) {
4070
4109
  metrics(height, options) {
4071
4110
  return __awaiter(this, void 0, void 0, function* () {
4072
4111
  const localVarAxiosArgs = yield localVarAxiosParamCreator.metrics(height, options);
4073
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
4112
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4074
4113
  });
4075
4114
  },
4076
4115
  /**
@@ -4083,7 +4122,7 @@ const TSSApiFp = function (configuration) {
4083
4122
  metricsKeygen(pubkey, height, options) {
4084
4123
  return __awaiter(this, void 0, void 0, function* () {
4085
4124
  const localVarAxiosArgs = yield localVarAxiosParamCreator.metricsKeygen(pubkey, height, options);
4086
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
4125
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4087
4126
  });
4088
4127
  },
4089
4128
  };
@@ -4263,7 +4302,7 @@ const ThornamesApiFp = function (configuration) {
4263
4302
  thorname(name, height, options) {
4264
4303
  return __awaiter(this, void 0, void 0, function* () {
4265
4304
  const localVarAxiosArgs = yield localVarAxiosParamCreator.thorname(name, height, options);
4266
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
4305
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4267
4306
  });
4268
4307
  },
4269
4308
  };
@@ -4363,7 +4402,7 @@ const TradeAccountApiFp = function (configuration) {
4363
4402
  tradeAccount(address, height, options) {
4364
4403
  return __awaiter(this, void 0, void 0, function* () {
4365
4404
  const localVarAxiosArgs = yield localVarAxiosParamCreator.tradeAccount(address, height, options);
4366
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
4405
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4367
4406
  });
4368
4407
  },
4369
4408
  };
@@ -4463,7 +4502,7 @@ const TradeAccountsApiFp = function (configuration) {
4463
4502
  tradeAccounts(asset, height, options) {
4464
4503
  return __awaiter(this, void 0, void 0, function* () {
4465
4504
  const localVarAxiosArgs = yield localVarAxiosParamCreator.tradeAccounts(asset, height, options);
4466
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
4505
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4467
4506
  });
4468
4507
  },
4469
4508
  };
@@ -4563,7 +4602,7 @@ const TradeUnitApiFp = function (configuration) {
4563
4602
  tradeUnit(asset, height, options) {
4564
4603
  return __awaiter(this, void 0, void 0, function* () {
4565
4604
  const localVarAxiosArgs = yield localVarAxiosParamCreator.tradeUnit(asset, height, options);
4566
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
4605
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4567
4606
  });
4568
4607
  },
4569
4608
  };
@@ -4658,7 +4697,7 @@ const TradeUnitsApiFp = function (configuration) {
4658
4697
  tradeUnits(height, options) {
4659
4698
  return __awaiter(this, void 0, void 0, function* () {
4660
4699
  const localVarAxiosArgs = yield localVarAxiosParamCreator.tradeUnits(height, options);
4661
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
4700
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4662
4701
  });
4663
4702
  },
4664
4703
  };
@@ -4884,7 +4923,7 @@ const TransactionsApiFp = function (configuration) {
4884
4923
  tx(hash, height, options) {
4885
4924
  return __awaiter(this, void 0, void 0, function* () {
4886
4925
  const localVarAxiosArgs = yield localVarAxiosParamCreator.tx(hash, height, options);
4887
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
4926
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4888
4927
  });
4889
4928
  },
4890
4929
  /**
@@ -4897,7 +4936,7 @@ const TransactionsApiFp = function (configuration) {
4897
4936
  txSigners(hash, height, options) {
4898
4937
  return __awaiter(this, void 0, void 0, function* () {
4899
4938
  const localVarAxiosArgs = yield localVarAxiosParamCreator.txSigners(hash, height, options);
4900
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
4939
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4901
4940
  });
4902
4941
  },
4903
4942
  /**
@@ -4910,7 +4949,7 @@ const TransactionsApiFp = function (configuration) {
4910
4949
  txSignersOld(hash, height, options) {
4911
4950
  return __awaiter(this, void 0, void 0, function* () {
4912
4951
  const localVarAxiosArgs = yield localVarAxiosParamCreator.txSignersOld(hash, height, options);
4913
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
4952
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4914
4953
  });
4915
4954
  },
4916
4955
  /**
@@ -4923,7 +4962,7 @@ const TransactionsApiFp = function (configuration) {
4923
4962
  txStages(hash, height, options) {
4924
4963
  return __awaiter(this, void 0, void 0, function* () {
4925
4964
  const localVarAxiosArgs = yield localVarAxiosParamCreator.txStages(hash, height, options);
4926
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
4965
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4927
4966
  });
4928
4967
  },
4929
4968
  /**
@@ -4936,7 +4975,7 @@ const TransactionsApiFp = function (configuration) {
4936
4975
  txStatus(hash, height, options) {
4937
4976
  return __awaiter(this, void 0, void 0, function* () {
4938
4977
  const localVarAxiosArgs = yield localVarAxiosParamCreator.txStatus(hash, height, options);
4939
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
4978
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4940
4979
  });
4941
4980
  },
4942
4981
  };
@@ -5203,7 +5242,7 @@ const VaultsApiFp = function (configuration) {
5203
5242
  asgard(height, options) {
5204
5243
  return __awaiter(this, void 0, void 0, function* () {
5205
5244
  const localVarAxiosArgs = yield localVarAxiosParamCreator.asgard(height, options);
5206
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
5245
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5207
5246
  });
5208
5247
  },
5209
5248
  /**
@@ -5216,7 +5255,7 @@ const VaultsApiFp = function (configuration) {
5216
5255
  vault(pubkey, height, options) {
5217
5256
  return __awaiter(this, void 0, void 0, function* () {
5218
5257
  const localVarAxiosArgs = yield localVarAxiosParamCreator.vault(pubkey, height, options);
5219
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
5258
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5220
5259
  });
5221
5260
  },
5222
5261
  /**
@@ -5228,7 +5267,7 @@ const VaultsApiFp = function (configuration) {
5228
5267
  vaultPubkeys(height, options) {
5229
5268
  return __awaiter(this, void 0, void 0, function* () {
5230
5269
  const localVarAxiosArgs = yield localVarAxiosParamCreator.vaultPubkeys(height, options);
5231
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
5270
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5232
5271
  });
5233
5272
  },
5234
5273
  /**
@@ -5240,7 +5279,7 @@ const VaultsApiFp = function (configuration) {
5240
5279
  yggdrasil(height, options) {
5241
5280
  return __awaiter(this, void 0, void 0, function* () {
5242
5281
  const localVarAxiosArgs = yield localVarAxiosParamCreator.yggdrasil(height, options);
5243
- return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
5282
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5244
5283
  });
5245
5284
  },
5246
5285
  };