@xchainjs/xchain-thornode 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -2286,14 +2286,13 @@ const QuoteApiAxiosParamCreator = function (configuration) {
2286
2286
  * @param {number} [height] optional block height, defaults to current tip
2287
2287
  * @param {string} [asset] the asset used to repay the loan
2288
2288
  * @param {number} [amount] the asset amount in 1e8 decimals
2289
- * @param {string} [fromAddress] the address that is paying off the loan
2290
2289
  * @param {string} [loanAsset] the collateral asset of the loan
2291
2290
  * @param {string} [loanOwner] the owner of the loan collateral
2292
2291
  * @param {string} [minOut] the minimum amount of the target asset to accept
2293
2292
  * @param {*} [options] Override http request option.
2294
2293
  * @throws {RequiredError}
2295
2294
  */
2296
- quoteloanclose: (height, asset, amount, fromAddress, loanAsset, loanOwner, minOut, options = {}) => __awaiter(this, void 0, void 0, function* () {
2295
+ quoteloanclose: (height, asset, amount, loanAsset, loanOwner, minOut, options = {}) => __awaiter(this, void 0, void 0, function* () {
2297
2296
  const localVarPath = `/thorchain/quote/loan/close`;
2298
2297
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2299
2298
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -2313,9 +2312,6 @@ const QuoteApiAxiosParamCreator = function (configuration) {
2313
2312
  if (amount !== undefined) {
2314
2313
  localVarQueryParameter['amount'] = amount;
2315
2314
  }
2316
- if (fromAddress !== undefined) {
2317
- localVarQueryParameter['from_address'] = fromAddress;
2318
- }
2319
2315
  if (loanAsset !== undefined) {
2320
2316
  localVarQueryParameter['loan_asset'] = loanAsset;
2321
2317
  }
@@ -2539,16 +2535,15 @@ const QuoteApiFp = function (configuration) {
2539
2535
  * @param {number} [height] optional block height, defaults to current tip
2540
2536
  * @param {string} [asset] the asset used to repay the loan
2541
2537
  * @param {number} [amount] the asset amount in 1e8 decimals
2542
- * @param {string} [fromAddress] the address that is paying off the loan
2543
2538
  * @param {string} [loanAsset] the collateral asset of the loan
2544
2539
  * @param {string} [loanOwner] the owner of the loan collateral
2545
2540
  * @param {string} [minOut] the minimum amount of the target asset to accept
2546
2541
  * @param {*} [options] Override http request option.
2547
2542
  * @throws {RequiredError}
2548
2543
  */
2549
- quoteloanclose(height, asset, amount, fromAddress, loanAsset, loanOwner, minOut, options) {
2544
+ quoteloanclose(height, asset, amount, loanAsset, loanOwner, minOut, options) {
2550
2545
  return __awaiter(this, void 0, void 0, function* () {
2551
- const localVarAxiosArgs = yield localVarAxiosParamCreator.quoteloanclose(height, asset, amount, fromAddress, loanAsset, loanOwner, minOut, options);
2546
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.quoteloanclose(height, asset, amount, loanAsset, loanOwner, minOut, options);
2552
2547
  return createRequestFunction(localVarAxiosArgs, globalAxios__default["default"], BASE_PATH, configuration);
2553
2548
  });
2554
2549
  },
@@ -2634,15 +2629,14 @@ const QuoteApiFactory = function (configuration, basePath, axios) {
2634
2629
  * @param {number} [height] optional block height, defaults to current tip
2635
2630
  * @param {string} [asset] the asset used to repay the loan
2636
2631
  * @param {number} [amount] the asset amount in 1e8 decimals
2637
- * @param {string} [fromAddress] the address that is paying off the loan
2638
2632
  * @param {string} [loanAsset] the collateral asset of the loan
2639
2633
  * @param {string} [loanOwner] the owner of the loan collateral
2640
2634
  * @param {string} [minOut] the minimum amount of the target asset to accept
2641
2635
  * @param {*} [options] Override http request option.
2642
2636
  * @throws {RequiredError}
2643
2637
  */
2644
- quoteloanclose(height, asset, amount, fromAddress, loanAsset, loanOwner, minOut, options) {
2645
- return localVarFp.quoteloanclose(height, asset, amount, fromAddress, loanAsset, loanOwner, minOut, options).then((request) => request(axios, basePath));
2638
+ quoteloanclose(height, asset, amount, loanAsset, loanOwner, minOut, options) {
2639
+ return localVarFp.quoteloanclose(height, asset, amount, loanAsset, loanOwner, minOut, options).then((request) => request(axios, basePath));
2646
2640
  },
2647
2641
  /**
2648
2642
  * Provide a quote estimate for the provided loan open.
@@ -2714,7 +2708,6 @@ class QuoteApi extends BaseAPI {
2714
2708
  * @param {number} [height] optional block height, defaults to current tip
2715
2709
  * @param {string} [asset] the asset used to repay the loan
2716
2710
  * @param {number} [amount] the asset amount in 1e8 decimals
2717
- * @param {string} [fromAddress] the address that is paying off the loan
2718
2711
  * @param {string} [loanAsset] the collateral asset of the loan
2719
2712
  * @param {string} [loanOwner] the owner of the loan collateral
2720
2713
  * @param {string} [minOut] the minimum amount of the target asset to accept
@@ -2722,8 +2715,8 @@ class QuoteApi extends BaseAPI {
2722
2715
  * @throws {RequiredError}
2723
2716
  * @memberof QuoteApi
2724
2717
  */
2725
- quoteloanclose(height, asset, amount, fromAddress, loanAsset, loanOwner, minOut, options) {
2726
- return QuoteApiFp(this.configuration).quoteloanclose(height, asset, amount, fromAddress, loanAsset, loanOwner, minOut, options).then((request) => request(this.axios, this.basePath));
2718
+ quoteloanclose(height, asset, amount, loanAsset, loanOwner, minOut, options) {
2719
+ return QuoteApiFp(this.configuration).quoteloanclose(height, asset, amount, loanAsset, loanOwner, minOut, options).then((request) => request(this.axios, this.basePath));
2727
2720
  }
2728
2721
  /**
2729
2722
  * Provide a quote estimate for the provided loan open.
@@ -3991,7 +3984,7 @@ class VaultsApi extends BaseAPI {
3991
3984
  * Thornode API
3992
3985
  * Thornode REST API.
3993
3986
  *
3994
- * The version of the OpenAPI document: 1.110.0
3987
+ * The version of the OpenAPI document: 1.113.1
3995
3988
  * Contact: devs@thorchain.org
3996
3989
  *
3997
3990
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).