@openocean.finance/openocean-sdk 0.2.4 → 0.2.6
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/index.js +1 -1
- package/lib/index.js.LICENSE.txt +4 -0
- package/lib/swapSdk/Swap.d.ts +1 -0
- package/package.json +6 -5
package/lib/index.js.LICENSE.txt
CHANGED
|
@@ -89,6 +89,10 @@ and limitations under the License.
|
|
|
89
89
|
|
|
90
90
|
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
91
91
|
|
|
92
|
+
/*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
93
|
+
|
|
94
|
+
/*! scure-bip39 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) */
|
|
95
|
+
|
|
92
96
|
/*! websocket-as-promised v0.7.0 */
|
|
93
97
|
|
|
94
98
|
/**
|
package/lib/swapSdk/Swap.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export declare class Swap {
|
|
|
16
16
|
getGas(): Promise<unknown>;
|
|
17
17
|
sendONTTransaction(): Promise<void>;
|
|
18
18
|
sendSolanaTransaction(): Promise<void>;
|
|
19
|
+
sendAptosTransaction(): Promise<void>;
|
|
19
20
|
getGasOld(): Promise<number>;
|
|
20
21
|
getGasNew(): Promise<number>;
|
|
21
22
|
sendEthTransactionNew(): Promise<void>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openocean.finance/openocean-sdk",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"description": "Openocean sdk",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -46,25 +46,26 @@
|
|
|
46
46
|
"webpack-cli": "^4.6.0"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
+
"@ethersproject/bignumber": "^5.1.1",
|
|
49
50
|
"@jup-ag/core": "^1.0.0-beta.27",
|
|
50
51
|
"@openocean.finance/wallet": "^0.4.44",
|
|
51
52
|
"@solana/buffer-layout": "^4.0.0",
|
|
52
53
|
"@walletconnect/web3-provider": "^1.7.8",
|
|
54
|
+
"aptos": "^1.3.17",
|
|
53
55
|
"bs58": "^4.0.1",
|
|
54
56
|
"buffer": "^6.0.3",
|
|
55
57
|
"class-transformer": "^0.5.1",
|
|
56
58
|
"class-validator": "^0.13.2",
|
|
59
|
+
"eth-sig-util": "^3.0.1",
|
|
57
60
|
"fs": "^0.0.1-security",
|
|
58
61
|
"json-loader": "^0.5.7",
|
|
59
62
|
"node-polyfill-webpack-plugin": "^1.1.4",
|
|
60
63
|
"ontology-ts-sdk": "^1.1.16",
|
|
61
64
|
"path-browserify": "^1.0.1",
|
|
65
|
+
"prompts": "^2.4.1",
|
|
62
66
|
"reflect-metadata": "^0.1.13",
|
|
63
67
|
"vconsole": "^3.14.6",
|
|
64
68
|
"web3": "^1.7.4",
|
|
65
|
-
"@ethersproject/bignumber": "^5.1.1",
|
|
66
|
-
"@metamask/eth-sig-util": "4.0.1",
|
|
67
|
-
"prompts": "^2.4.1",
|
|
68
69
|
"yargs": "^17.0.1"
|
|
69
70
|
}
|
|
70
|
-
}
|
|
71
|
+
}
|