@openocean.finance/openocean-sdk 1.2.42 → 1.2.44
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/lib/swapSdk/Approve.js +4 -1
- package/package.json +2 -2
package/lib/swapSdk/Approve.js
CHANGED
|
@@ -329,8 +329,11 @@ var Approve = /** @class */ (function () {
|
|
|
329
329
|
case 1:
|
|
330
330
|
balance = _a.sent();
|
|
331
331
|
this.key++;
|
|
332
|
-
if (this.key > 20)
|
|
332
|
+
if (this.key > 20) {
|
|
333
|
+
this.successCallback(balance);
|
|
333
334
|
return [2 /*return*/];
|
|
335
|
+
}
|
|
336
|
+
;
|
|
334
337
|
if (balance >= Number(this.amount)) {
|
|
335
338
|
this.successCallback(balance);
|
|
336
339
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openocean.finance/openocean-sdk",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.44",
|
|
4
4
|
"description": "Openocean sdk",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@ethersproject/bignumber": "^5.1.1",
|
|
50
50
|
"@looksrare/sdk": "^0.12.1",
|
|
51
|
-
"@openocean.finance/wallet": "^1.5.
|
|
51
|
+
"@openocean.finance/wallet": "^1.5.16",
|
|
52
52
|
"@solana/web3.js": "1.31.0",
|
|
53
53
|
"@uniswap/v2-core": "^1.0.1",
|
|
54
54
|
"@walletconnect/web3-provider": "^1.7.8",
|