@cetusprotocol/aggregator-sdk 0.0.0-experimental-20250625175152 → 0.0.0-experimental-20250625180535
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 +4 -4
- package/dist/index.mjs +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7708,14 +7708,14 @@ function parseRouterResponse(data, byAmountIn) {
|
|
|
7708
7708
|
from: path.from,
|
|
7709
7709
|
target: path.target,
|
|
7710
7710
|
feeRate: path.fee_rate,
|
|
7711
|
-
amountIn: path.amount_in,
|
|
7712
|
-
amountOut: path.amount_out,
|
|
7711
|
+
amountIn: BigInt(path.amount_in).toString(),
|
|
7712
|
+
amountOut: BigInt(path.amount_out).toString(),
|
|
7713
7713
|
extendedDetails,
|
|
7714
7714
|
version
|
|
7715
7715
|
};
|
|
7716
7716
|
}),
|
|
7717
|
-
amountIn: new import_bn5.default(route.amount_in.toString()),
|
|
7718
|
-
amountOut: new import_bn5.default(route.amount_out.toString()),
|
|
7717
|
+
amountIn: new import_bn5.default(BigInt(route.amount_in).toString()),
|
|
7718
|
+
amountOut: new import_bn5.default(BigInt(route.amount_out).toString()),
|
|
7719
7719
|
initialPrice: new decimal_default(route.initial_price.toString())
|
|
7720
7720
|
};
|
|
7721
7721
|
}),
|
package/dist/index.mjs
CHANGED
|
@@ -7706,14 +7706,14 @@ function parseRouterResponse(data, byAmountIn) {
|
|
|
7706
7706
|
from: path.from,
|
|
7707
7707
|
target: path.target,
|
|
7708
7708
|
feeRate: path.fee_rate,
|
|
7709
|
-
amountIn: path.amount_in,
|
|
7710
|
-
amountOut: path.amount_out,
|
|
7709
|
+
amountIn: BigInt(path.amount_in).toString(),
|
|
7710
|
+
amountOut: BigInt(path.amount_out).toString(),
|
|
7711
7711
|
extendedDetails,
|
|
7712
7712
|
version
|
|
7713
7713
|
};
|
|
7714
7714
|
}),
|
|
7715
|
-
amountIn: new import_bn5.default(route.amount_in.toString()),
|
|
7716
|
-
amountOut: new import_bn5.default(route.amount_out.toString()),
|
|
7715
|
+
amountIn: new import_bn5.default(BigInt(route.amount_in).toString()),
|
|
7716
|
+
amountOut: new import_bn5.default(BigInt(route.amount_out).toString()),
|
|
7717
7717
|
initialPrice: new decimal_default(route.initial_price.toString())
|
|
7718
7718
|
};
|
|
7719
7719
|
}),
|