@cetusprotocol/aggregator-sdk 0.0.0-experimental-20240822182903 → 0.0.0-experimental-20240822190000

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
@@ -2,7 +2,6 @@
2
2
 
3
3
  var utils = require('@mysten/sui/utils');
4
4
  var transactions = require('@mysten/sui/transactions');
5
- var utils$1 = require('@mysten/sui/dist/cjs/utils');
6
5
 
7
6
  var __create = Object.create;
8
7
  var __defProp = Object.defineProperty;
@@ -5906,7 +5905,7 @@ var Haedal = class {
5906
5905
  }
5907
5906
  const [func, coinAType, coinBType] = ["swap_a2b", from, target];
5908
5907
  const args = [
5909
- txb.pure.address(utils$1.SUI_SYSTEM_ADDRESS),
5908
+ txb.pure.address(utils.SUI_SYSTEM_ADDRESS),
5910
5909
  txb.object(this.stake),
5911
5910
  inputCoin,
5912
5911
  txb.pure.address("0x0")
@@ -5940,7 +5939,7 @@ var Afsui = class {
5940
5939
  const args = [
5941
5940
  txb.object(this.stakedSuiVault),
5942
5941
  txb.object(this.safe),
5943
- txb.pure.address(utils$1.SUI_SYSTEM_ADDRESS),
5942
+ txb.pure.address(utils.SUI_SYSTEM_ADDRESS),
5944
5943
  txb.object(this.referVault),
5945
5944
  inputCoin,
5946
5945
  txb.object(this.validator)
@@ -5972,7 +5971,7 @@ var Volo = class {
5972
5971
  const args = [
5973
5972
  txb.object(this.nativePool),
5974
5973
  txb.object(this.metadata),
5975
- txb.pure.address(utils$1.SUI_SYSTEM_ADDRESS),
5974
+ txb.pure.address(utils.SUI_SYSTEM_ADDRESS),
5976
5975
  inputCoin
5977
5976
  ];
5978
5977
  const res = txb.moveCall({
package/dist/index.mjs CHANGED
@@ -1,6 +1,5 @@
1
- import { normalizeSuiObjectId, SUI_FRAMEWORK_ADDRESS } from '@mysten/sui/utils';
1
+ import { normalizeSuiObjectId, SUI_FRAMEWORK_ADDRESS, SUI_SYSTEM_ADDRESS } from '@mysten/sui/utils';
2
2
  import { Transaction } from '@mysten/sui/transactions';
3
- import { SUI_SYSTEM_ADDRESS } from '@mysten/sui/dist/cjs/utils';
4
3
 
5
4
  var __create = Object.create;
6
5
  var __defProp = Object.defineProperty;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cetusprotocol/aggregator-sdk",
3
- "version": "0.0.0-experimental-20240822182903",
3
+ "version": "0.0.0-experimental-20240822190000",
4
4
  "sideEffects": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -3,7 +3,7 @@ import {
3
3
  TransactionObjectArgument,
4
4
  } from "@mysten/sui/transactions"
5
5
  import { AggregatorClient, Dex, Env, Path } from ".."
6
- import { SUI_SYSTEM_ADDRESS } from "@mysten/sui/dist/cjs/utils"
6
+ import { SUI_SYSTEM_ADDRESS } from "@mysten/sui/utils"
7
7
 
8
8
  export class Afsui implements Dex {
9
9
  private stakedSuiVault: string
@@ -3,7 +3,7 @@ import {
3
3
  TransactionObjectArgument,
4
4
  } from "@mysten/sui/transactions"
5
5
  import { AggregatorClient, Dex, Env, Path } from ".."
6
- import { SUI_SYSTEM_ADDRESS } from "@mysten/sui/dist/cjs/utils"
6
+ import { SUI_SYSTEM_ADDRESS } from "@mysten/sui/utils"
7
7
 
8
8
  export class Haedal implements Dex {
9
9
  private stake: string
@@ -3,7 +3,7 @@ import {
3
3
  TransactionObjectArgument,
4
4
  } from "@mysten/sui/transactions"
5
5
  import { AggregatorClient, Dex, Env, Path } from ".."
6
- import { SUI_SYSTEM_ADDRESS } from "@mysten/sui/dist/cjs/utils"
6
+ import { SUI_SYSTEM_ADDRESS } from "@mysten/sui/utils"
7
7
 
8
8
  export class Volo implements Dex {
9
9
  private nativePool: string