@openocean.finance/openocean-sdk 1.6.27 → 1.6.29
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/.DS_Store +0 -0
- package/lib/swapSdk/Swap.js +6 -8
- package/lib/swapSdk/index.js +1 -1
- package/package.json +2 -2
package/lib/.DS_Store
ADDED
|
Binary file
|
package/lib/swapSdk/Swap.js
CHANGED
|
@@ -670,13 +670,10 @@ var Swap = /** @class */ (function () {
|
|
|
670
670
|
_this.transactionHashCallback(transactionHash);
|
|
671
671
|
})
|
|
672
672
|
.on("receipt", function (receipt) {
|
|
673
|
-
|
|
674
|
-
// this.getSuccess()
|
|
675
|
-
})
|
|
676
|
-
.on("confirmation", function (confirmationNumber, receipt) {
|
|
677
|
-
console.log('confirmation', confirmationNumber, receipt);
|
|
673
|
+
console.log('receipt', receipt);
|
|
678
674
|
var transactionHash = (receipt || {}).transactionHash;
|
|
679
|
-
_this.
|
|
675
|
+
_this.receiptCallback(transactionHash);
|
|
676
|
+
// this.getSuccess()
|
|
680
677
|
});
|
|
681
678
|
return [2 /*return*/];
|
|
682
679
|
}
|
|
@@ -769,8 +766,9 @@ var Swap = /** @class */ (function () {
|
|
|
769
766
|
_this.transactionHashCallback(transactionHash);
|
|
770
767
|
})
|
|
771
768
|
.on("receipt", function (receipt) {
|
|
772
|
-
|
|
773
|
-
|
|
769
|
+
console.log('receipt', receipt);
|
|
770
|
+
var transactionHash = (receipt || {}).transactionHash;
|
|
771
|
+
_this.receiptCallback(transactionHash);
|
|
774
772
|
});
|
|
775
773
|
return [2 /*return*/];
|
|
776
774
|
}
|
package/lib/swapSdk/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openocean.finance/openocean-sdk",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.29",
|
|
4
4
|
"description": "Openocean sdk",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@ethersproject/bignumber": "^5.1.1",
|
|
51
51
|
"@looksrare/sdk": "^0.12.1",
|
|
52
|
-
"@openocean.finance/wallet": "^1.9.
|
|
52
|
+
"@openocean.finance/wallet": "^1.9.18",
|
|
53
53
|
"@uniswap/v2-core": "^1.0.1",
|
|
54
54
|
"@walletconnect/web3-provider": "^1.7.8",
|
|
55
55
|
"aptos": "^1.3.17",
|