Skip to content

Commit 62e7e4c

Browse files
committed
v15.3.4: loopCount > 100
1 parent 0be98ba commit 62e7e4c

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

dist/esm/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3582,7 +3582,7 @@ class SwapMath {
35823582
!state.amountSpecifiedRemaining.eq(ZERO) &&
35833583
!state.sqrtPriceX64.eq(sqrtPriceLimitX64)
35843584
) {
3585-
if (loopCount > 10) {
3585+
if (loopCount > 100) {
35863586
throw Error('liquidity limit')
35873587
}
35883588
const step = {};

dist/esm/index.svm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5772,7 +5772,7 @@ class SwapMath {
57725772
!state.amountSpecifiedRemaining.eq(ZERO) &&
57735773
!state.sqrtPriceX64.eq(sqrtPriceLimitX64)
57745774
) {
5775-
if (loopCount > 10) {
5775+
if (loopCount > 100) {
57765776
throw Error('liquidity limit')
57775777
}
57785778
const step = {};

dist/umd/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3587,7 +3587,7 @@
35873587
!state.amountSpecifiedRemaining.eq(ZERO) &&
35883588
!state.sqrtPriceX64.eq(sqrtPriceLimitX64)
35893589
) {
3590-
if (loopCount > 10) {
3590+
if (loopCount > 100) {
35913591
throw Error('liquidity limit')
35923592
}
35933593
const step = {};

dist/umd/index.svm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5778,7 +5778,7 @@
57785778
!state.amountSpecifiedRemaining.eq(ZERO) &&
57795779
!state.sqrtPriceX64.eq(sqrtPriceLimitX64)
57805780
) {
5781-
if (loopCount > 10) {
5781+
if (loopCount > 100) {
57825782
throw Error('liquidity limit')
57835783
}
57845784
const step = {};

package.evm.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@depay/web3-exchanges-evm",
33
"moduleName": "Web3Exchanges",
4-
"version": "15.3.3",
4+
"version": "15.3.4",
55
"description": "JavaScript library simplifying decentralized web3 exchange routing for multiple blockchains and exchanges.",
66
"main": "dist/umd/index.evm.js",
77
"module": "dist/esm/index.evm.js",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@depay/web3-exchanges",
33
"moduleName": "Web3Exchanges",
4-
"version": "15.3.3",
4+
"version": "15.3.4",
55
"description": "JavaScript library simplifying decentralized web3 exchange routing for multiple blockchains and exchanges.",
66
"main": "dist/umd/index.js",
77
"module": "dist/esm/index.js",

package.svm.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@depay/web3-exchanges-svm",
33
"moduleName": "Web3Exchanges",
4-
"version": "15.3.3",
4+
"version": "15.3.4",
55
"description": "JavaScript library simplifying decentralized web3 exchange routing for multiple blockchains and exchanges.",
66
"main": "dist/umd/index.svm.js",
77
"module": "dist/esm/index.svm.js",

src/platforms/solana/raydium/clmm/pairs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ class SwapMath {
9292
!state.amountSpecifiedRemaining.eq(ZERO) &&
9393
!state.sqrtPriceX64.eq(sqrtPriceLimitX64)
9494
) {
95-
if (loopCount > 10) {
95+
if (loopCount > 100) {
9696
throw Error('liquidity limit')
9797
}
9898
const step = {};

0 commit comments

Comments
 (0)