@cetusprotocol/aggregator-sdk 0.9.0 → 0.9.1

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/dist/index.js CHANGED
@@ -6998,10 +6998,10 @@ var _AggregatorClient = class _AggregatorClient {
6998
6998
  );
6999
6999
  return targetCoin2;
7000
7000
  }
7001
- const overlayFeeCoin = txb.splitCoins(inputCoin, [
7002
- overlayFee.toString()
7003
- ]);
7004
7001
  if (this.overlayFeeRate > 0 && this.overlayFeeReceiver !== "0x0") {
7002
+ const overlayFeeCoin = txb.splitCoins(inputCoin, [
7003
+ overlayFee.toString()
7004
+ ]);
7005
7005
  txb.transferObjects([overlayFeeCoin], this.overlayFeeReceiver);
7006
7006
  }
7007
7007
  const splitedInputCoins = txb.splitCoins(inputCoin, [
@@ -7593,7 +7593,7 @@ function processEndpoint(endpoint) {
7593
7593
 
7594
7594
  // src/api.ts
7595
7595
  var import_bn7 = __toESM(require_bn());
7596
- var SDK_VERSION = 1000900;
7596
+ var SDK_VERSION = 1000901;
7597
7597
  function getRouterResult(endpoint, apiKey, params, overlayFee, overlayFeeReceiver) {
7598
7598
  return __async(this, null, function* () {
7599
7599
  let response;
package/dist/index.mjs CHANGED
@@ -6996,10 +6996,10 @@ var _AggregatorClient = class _AggregatorClient {
6996
6996
  );
6997
6997
  return targetCoin2;
6998
6998
  }
6999
- const overlayFeeCoin = txb.splitCoins(inputCoin, [
7000
- overlayFee.toString()
7001
- ]);
7002
6999
  if (this.overlayFeeRate > 0 && this.overlayFeeReceiver !== "0x0") {
7000
+ const overlayFeeCoin = txb.splitCoins(inputCoin, [
7001
+ overlayFee.toString()
7002
+ ]);
7003
7003
  txb.transferObjects([overlayFeeCoin], this.overlayFeeReceiver);
7004
7004
  }
7005
7005
  const splitedInputCoins = txb.splitCoins(inputCoin, [
@@ -7591,7 +7591,7 @@ function processEndpoint(endpoint) {
7591
7591
 
7592
7592
  // src/api.ts
7593
7593
  var import_bn7 = __toESM(require_bn());
7594
- var SDK_VERSION = 1000900;
7594
+ var SDK_VERSION = 1000901;
7595
7595
  function getRouterResult(endpoint, apiKey, params, overlayFee, overlayFeeReceiver) {
7596
7596
  return __async(this, null, function* () {
7597
7597
  let response;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cetusprotocol/aggregator-sdk",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "sideEffects": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",