@cetusprotocol/aggregator-sdk 0.1.2 → 0.2.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.d.mts CHANGED
@@ -64,6 +64,7 @@ declare const CETUS = "CETUS";
64
64
  declare const DEEPBOOKV2 = "DEEPBOOK";
65
65
  declare const KRIYA = "KRIYA";
66
66
  declare const FLOWXV2 = "FLOWX";
67
+ declare const FLOWXV3 = "FLOWXV3";
67
68
  declare const KRIYAV3 = "KRIYAV3";
68
69
  declare const TURBOS = "TURBOS";
69
70
  declare const AFTERMATH = "AFTERMATH";
@@ -143,6 +144,9 @@ declare function fixSuiObjectId(value: string): string;
143
144
  declare function patchFixSuiObjectId(data: any): void;
144
145
  declare function createTarget(packageName: string, moduleName: string, functionName: string): `${string}::${string}::${string}`;
145
146
 
147
+ declare const dealWithFastRouterSwapParamsForMsafe: (data: any) => any;
148
+ declare const restituteMsafeFastRouterSwapParams: (data: any) => any;
149
+
146
150
  declare const ZERO: BN;
147
151
  declare const ONE: BN;
148
152
  declare const TWO: BN;
@@ -208,4 +212,4 @@ declare enum Env {
208
212
  Testnet = 1
209
213
  }
210
214
 
211
- export { AFSUI, AFTERMATH, AggregatorClient, type AggregatorResponse, type BuildFastRouterSwapParams, type BuildRouterSwapParams, CETUS, CLOCK_ADDRESS, DEEPBOOKV2, type Dex, Env, type ExtendedDetails, FLOWXV2, type FindRouterParams, HAEDAL, KRIYA, KRIYAV3, ONE, type Path, type Router, type RouterData, type RouterError, type SwapInPoolsParams, type SwapInPoolsResult, TEN_POW_NINE, TURBOS, TWO, U128, U64_MAX, U64_MAX_BN, VOLO, ZERO, composeType, createTarget, extractAddressFromType, extractStructTagFromType, fixSuiObjectId, getRouterResult, isSortedSymbols, normalizeCoinType, parseRouterResponse, patchFixSuiObjectId };
215
+ export { AFSUI, AFTERMATH, AggregatorClient, type AggregatorResponse, type BuildFastRouterSwapParams, type BuildRouterSwapParams, CETUS, CLOCK_ADDRESS, DEEPBOOKV2, type Dex, Env, type ExtendedDetails, FLOWXV2, FLOWXV3, type FindRouterParams, HAEDAL, KRIYA, KRIYAV3, ONE, type Path, type Router, type RouterData, type RouterError, type SwapInPoolsParams, type SwapInPoolsResult, TEN_POW_NINE, TURBOS, TWO, U128, U64_MAX, U64_MAX_BN, VOLO, ZERO, composeType, createTarget, dealWithFastRouterSwapParamsForMsafe, extractAddressFromType, extractStructTagFromType, fixSuiObjectId, getRouterResult, isSortedSymbols, normalizeCoinType, parseRouterResponse, patchFixSuiObjectId, restituteMsafeFastRouterSwapParams };
package/dist/index.d.ts CHANGED
@@ -64,6 +64,7 @@ declare const CETUS = "CETUS";
64
64
  declare const DEEPBOOKV2 = "DEEPBOOK";
65
65
  declare const KRIYA = "KRIYA";
66
66
  declare const FLOWXV2 = "FLOWX";
67
+ declare const FLOWXV3 = "FLOWXV3";
67
68
  declare const KRIYAV3 = "KRIYAV3";
68
69
  declare const TURBOS = "TURBOS";
69
70
  declare const AFTERMATH = "AFTERMATH";
@@ -143,6 +144,9 @@ declare function fixSuiObjectId(value: string): string;
143
144
  declare function patchFixSuiObjectId(data: any): void;
144
145
  declare function createTarget(packageName: string, moduleName: string, functionName: string): `${string}::${string}::${string}`;
145
146
 
147
+ declare const dealWithFastRouterSwapParamsForMsafe: (data: any) => any;
148
+ declare const restituteMsafeFastRouterSwapParams: (data: any) => any;
149
+
146
150
  declare const ZERO: BN;
147
151
  declare const ONE: BN;
148
152
  declare const TWO: BN;
@@ -208,4 +212,4 @@ declare enum Env {
208
212
  Testnet = 1
209
213
  }
210
214
 
211
- export { AFSUI, AFTERMATH, AggregatorClient, type AggregatorResponse, type BuildFastRouterSwapParams, type BuildRouterSwapParams, CETUS, CLOCK_ADDRESS, DEEPBOOKV2, type Dex, Env, type ExtendedDetails, FLOWXV2, type FindRouterParams, HAEDAL, KRIYA, KRIYAV3, ONE, type Path, type Router, type RouterData, type RouterError, type SwapInPoolsParams, type SwapInPoolsResult, TEN_POW_NINE, TURBOS, TWO, U128, U64_MAX, U64_MAX_BN, VOLO, ZERO, composeType, createTarget, extractAddressFromType, extractStructTagFromType, fixSuiObjectId, getRouterResult, isSortedSymbols, normalizeCoinType, parseRouterResponse, patchFixSuiObjectId };
215
+ export { AFSUI, AFTERMATH, AggregatorClient, type AggregatorResponse, type BuildFastRouterSwapParams, type BuildRouterSwapParams, CETUS, CLOCK_ADDRESS, DEEPBOOKV2, type Dex, Env, type ExtendedDetails, FLOWXV2, FLOWXV3, type FindRouterParams, HAEDAL, KRIYA, KRIYAV3, ONE, type Path, type Router, type RouterData, type RouterError, type SwapInPoolsParams, type SwapInPoolsResult, TEN_POW_NINE, TURBOS, TWO, U128, U64_MAX, U64_MAX_BN, VOLO, ZERO, composeType, createTarget, dealWithFastRouterSwapParamsForMsafe, extractAddressFromType, extractStructTagFromType, fixSuiObjectId, getRouterResult, isSortedSymbols, normalizeCoinType, parseRouterResponse, patchFixSuiObjectId, restituteMsafeFastRouterSwapParams };