@cetusprotocol/aggregator-sdk 1.4.3 → 1.4.4

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
@@ -3452,7 +3452,7 @@ var AGGREGATOR_V3_CONFIG = {
3452
3452
  };
3453
3453
 
3454
3454
  // src/api.ts
3455
- var SDK_VERSION = 1010403;
3455
+ var SDK_VERSION = 1010404;
3456
3456
  function parseRouterResponse(data, byAmountIn) {
3457
3457
  let packages = /* @__PURE__ */ new Map();
3458
3458
  if (data.packages) {
@@ -6661,7 +6661,7 @@ var DeepbookV3Router = class {
6661
6661
  }
6662
6662
  addDeepPricePoint(txb, swapData) {
6663
6663
  txb.moveCall({
6664
- target: `${swapData.publishedAt}::deepbookv3::add_deep_price_point`,
6664
+ target: `${swapData.publishedAt}::deepbookv3::add_deep_price_point_v2`,
6665
6665
  typeArguments: [
6666
6666
  swapData.coinAType,
6667
6667
  swapData.coinBType,
package/dist/index.mjs CHANGED
@@ -3446,7 +3446,7 @@ var AGGREGATOR_V3_CONFIG = {
3446
3446
  };
3447
3447
 
3448
3448
  // src/api.ts
3449
- var SDK_VERSION = 1010403;
3449
+ var SDK_VERSION = 1010404;
3450
3450
  function parseRouterResponse(data, byAmountIn) {
3451
3451
  let packages = /* @__PURE__ */ new Map();
3452
3452
  if (data.packages) {
@@ -6655,7 +6655,7 @@ var DeepbookV3Router = class {
6655
6655
  }
6656
6656
  addDeepPricePoint(txb, swapData) {
6657
6657
  txb.moveCall({
6658
- target: `${swapData.publishedAt}::deepbookv3::add_deep_price_point`,
6658
+ target: `${swapData.publishedAt}::deepbookv3::add_deep_price_point_v2`,
6659
6659
  typeArguments: [
6660
6660
  swapData.coinAType,
6661
6661
  swapData.coinBType,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cetusprotocol/aggregator-sdk",
3
- "version": "1.4.3",
3
+ "version": "1.4.4",
4
4
  "sideEffects": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",