@drift-labs/sdk 2.32.1-beta.8 → 2.32.1-beta.9
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/VERSION +1 -1
- package/lib/user.js +2 -1
- package/package.json +1 -1
- package/src/user.ts +2 -1
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.32.1-beta.
|
|
1
|
+
2.32.1-beta.9
|
package/lib/user.js
CHANGED
|
@@ -1172,7 +1172,8 @@ class User {
|
|
|
1172
1172
|
inSwap = minSwap.add(maxSwap).div(numericConstants_1.TWO);
|
|
1173
1173
|
}
|
|
1174
1174
|
if (i++ > iterationLimit) {
|
|
1175
|
-
|
|
1175
|
+
console.log('getMaxSwapAmount iteration limit reached');
|
|
1176
|
+
break;
|
|
1176
1177
|
}
|
|
1177
1178
|
}
|
|
1178
1179
|
}
|
package/package.json
CHANGED
package/src/user.ts
CHANGED