@oceanprotocol/lib 1.1.2 → 1.1.3
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/CHANGELOG.md +19 -0
- package/dist/lib.js +1 -1
- package/dist/lib.js.map +1 -1
- package/dist/lib.modern.js +1 -1
- package/dist/lib.modern.js.map +1 -1
- package/dist/lib.module.js +1 -1
- package/dist/lib.module.js.map +1 -1
- package/dist/lib.umd.js +1 -1
- package/dist/lib.umd.js.map +1 -1
- package/dist/src/@types/FixedPrice.d.ts +2 -0
- package/dist/src/utils/ContractUtils.d.ts +1 -1
- package/package.json +13 -13
|
@@ -5,7 +5,7 @@ import { Config } from '../models';
|
|
|
5
5
|
export declare function setContractDefaults(contract: Contract, config: Config): Contract;
|
|
6
6
|
export declare function getFairGasPrice(web3: Web3, config: Config): Promise<string>;
|
|
7
7
|
export declare function getErcCreationParams(ercParams: Erc20CreateParams): any;
|
|
8
|
-
export declare function getFreOrderParams(freParams: FreOrderParams): any
|
|
8
|
+
export declare function getFreOrderParams(web3: Web3, freParams: FreOrderParams): Promise<any>;
|
|
9
9
|
export declare function getFreCreationParams(freParams: FreCreationParams): any;
|
|
10
10
|
export declare function getPoolCreationParams(web3: Web3, poolParams: PoolCreationParams): Promise<any>;
|
|
11
11
|
export declare function unitsToAmount(web3: Web3, token: string, amount: string, tokenDecimals?: number): Promise<string>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oceanprotocol/lib",
|
|
3
3
|
"source": "./src/index.ts",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.3",
|
|
5
5
|
"description": "JavaScript client library for Ocean Protocol",
|
|
6
6
|
"main": "./dist/lib.js",
|
|
7
7
|
"umd:main": "dist/lib.umd.js",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
},
|
|
60
60
|
"homepage": "https://github.com/oceanprotocol/ocean.js#readme",
|
|
61
61
|
"peerDependencies": {
|
|
62
|
-
"web3": "^1.7.
|
|
62
|
+
"web3": "^1.7.4"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@oceanprotocol/contracts": "^1.0.0",
|
|
@@ -67,26 +67,26 @@
|
|
|
67
67
|
"cross-fetch": "^3.1.5",
|
|
68
68
|
"crypto-js": "^4.1.1",
|
|
69
69
|
"decimal.js": "^10.3.1",
|
|
70
|
-
"web3": "^1.7.
|
|
70
|
+
"web3": "^1.7.4",
|
|
71
71
|
"web3-core": "^1.7.1",
|
|
72
72
|
"web3-eth-contract": "^1.7.1"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
-
"@truffle/hdwallet-provider": "^2.0.
|
|
75
|
+
"@truffle/hdwallet-provider": "^2.0.9",
|
|
76
76
|
"@types/chai": "^4.3.1",
|
|
77
77
|
"@types/chai-spies": "^1.0.3",
|
|
78
78
|
"@types/crypto-js": "^4.1.1",
|
|
79
79
|
"@types/mocha": "^9.1.1",
|
|
80
|
-
"@types/node": "^
|
|
80
|
+
"@types/node": "^18.0.0",
|
|
81
81
|
"@types/node-fetch": "^3.0.3",
|
|
82
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
83
|
-
"@typescript-eslint/parser": "^5.
|
|
82
|
+
"@typescript-eslint/eslint-plugin": "^5.29.0",
|
|
83
|
+
"@typescript-eslint/parser": "^5.29.0",
|
|
84
84
|
"auto-changelog": "^2.4.0",
|
|
85
85
|
"chai": "^4.3.6",
|
|
86
86
|
"chai-spies": "^1.0.0",
|
|
87
87
|
"cross-env": "^7.0.3",
|
|
88
|
-
"eslint": "^8.
|
|
89
|
-
"eslint-config-oceanprotocol": "^2.0.
|
|
88
|
+
"eslint": "^8.18.0",
|
|
89
|
+
"eslint-config-oceanprotocol": "^2.0.3",
|
|
90
90
|
"eslint-config-prettier": "^8.5.0",
|
|
91
91
|
"eslint-plugin-prettier": "^4.0.0",
|
|
92
92
|
"fs": "0.0.1-security",
|
|
@@ -95,13 +95,13 @@
|
|
|
95
95
|
"mock-local-storage": "^1.1.21",
|
|
96
96
|
"nyc": "^15.1.0",
|
|
97
97
|
"ora": "5.4.1",
|
|
98
|
-
"prettier": "^2.
|
|
99
|
-
"release-it": "^15.
|
|
98
|
+
"prettier": "^2.7.1",
|
|
99
|
+
"release-it": "^15.1.0",
|
|
100
100
|
"source-map-support": "^0.5.19",
|
|
101
101
|
"ts-node": "^10.8.0",
|
|
102
102
|
"ts-node-register": "^1.0.0",
|
|
103
|
-
"typedoc": "0.22.
|
|
104
|
-
"typescript": "^4.
|
|
103
|
+
"typedoc": "0.22.17",
|
|
104
|
+
"typescript": "^4.7.4"
|
|
105
105
|
},
|
|
106
106
|
"nyc": {
|
|
107
107
|
"include": [
|