@pendle/sdk-boros 1.1.47 → 1.1.48

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @pendle/sdk-boros
2
2
 
3
+ ## 1.1.48
4
+
5
+ ### Patch Changes
6
+
7
+ - d138754: Increase cross-chain slippage floor from 0.1% to 0.2%
8
+
3
9
  ## 1.1.47
4
10
 
5
11
  ### Patch Changes
@@ -26,7 +26,7 @@ function isCrossChainRoute(fromChainId, fromToken, toToken) {
26
26
  function calculateCrossChainSlippage(inputValueUsd) {
27
27
  if (inputValueUsd === 0)
28
28
  return 0.005;
29
- return Math.min(0.03, Math.max(0.001, 8 / inputValueUsd));
29
+ return Math.min(0.03, Math.max(0.002, 8 / inputValueUsd));
30
30
  }
31
31
  function calculateSameChainSlippage(inputValueUsd) {
32
32
  if (inputValueUsd === 0)
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@pendle/sdk-boros",
3
3
  "description": "Pendle SDK for Boros",
4
4
  "license": "MIT",
5
- "version": "1.1.47",
5
+ "version": "1.1.48",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "files": [