@oceanprotocol/lib 1.0.0-next.27 → 1.0.0-next.28

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.
@@ -8,5 +8,5 @@ export interface MetadataAndTokenURI {
8
8
  metaDataHash: string;
9
9
  tokenId: number;
10
10
  tokenURI: string;
11
- metadataProofs: MetadataProof[];
11
+ metadataProofs?: MetadataProof[];
12
12
  }
@@ -119,7 +119,7 @@ export declare class FixedRateExchange {
119
119
  * Estimate gas cost for setRate
120
120
  * @param {String} account
121
121
  * @param {String} exchangeId ExchangeId
122
- * @param {Number} newRate New rate
122
+ * @param {String} newRate New rate
123
123
  * @param {Contract} contractInstance optional contract instance
124
124
  * @return {Promise<number>}
125
125
  */
@@ -127,7 +127,7 @@ export declare class FixedRateExchange {
127
127
  /**
128
128
  * Set new rate
129
129
  * @param {String} exchangeId ExchangeId
130
- * @param {Number} newRate New rate
130
+ * @param {String} newRate New rate
131
131
  * @param {String} address User account
132
132
  * @return {Promise<TransactionReceipt>} transaction receipt
133
133
  */
@@ -7,6 +7,6 @@ export declare function getFairGasPrice(web3: Web3, config: Config): Promise<str
7
7
  export declare function getErcCreationParams(ercParams: Erc20CreateParams): any;
8
8
  export declare function getFreOrderParams(freParams: FreOrderParams): any;
9
9
  export declare function getFreCreationParams(freParams: FreCreationParams): any;
10
- export declare function getPoolCreationParams(poolParams: PoolCreationParams): any;
10
+ export declare function getPoolCreationParams(web3: Web3, poolParams: PoolCreationParams): Promise<any>;
11
11
  export declare function unitsToAmount(web3: Web3, token: string, amount: string): Promise<string>;
12
12
  export declare function amountToUnits(web3: Web3, token: string, amount: string): 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.0.0-next.27",
4
+ "version": "1.0.0-next.28",
5
5
  "description": "JavaScript client library for Ocean Protocol",
6
6
  "main": "./dist/lib.js",
7
7
  "umd:main": "dist/lib.umd.js",