@oceanprotocol/lib 3.0.0-next.0 → 3.0.0-next.1

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.
@@ -17,6 +17,7 @@ export declare function getFairGasPrice(signer: Signer, gasFeeMultiplier: number
17
17
  export declare function getTokenDecimals(signer: Signer, token: string): Promise<any>;
18
18
  /**
19
19
  * Converts an amount of units to tokens
20
+ * @param {Signer} signer - The signer object to use.
20
21
  * @param {string} token - The token to convert
21
22
  * @param {string} amount - The amount of units to convert
22
23
  * @param {number} [tokenDecimals] - The number of decimals in the token
@@ -25,6 +26,7 @@ export declare function getTokenDecimals(signer: Signer, token: string): Promise
25
26
  export declare function unitsToAmount(signer: Signer, token: string, amount: string, tokenDecimals?: number): Promise<string>;
26
27
  /**
27
28
  * Converts an amount of tokens to units
29
+ * @param {Signer} signer - The signer object to use.
28
30
  * @param {string} token - The token to convert
29
31
  * @param {string} amount - The amount of tokens to convert
30
32
  * @param {number} [tokenDecimals] - The number of decimals of the token
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oceanprotocol/lib",
3
3
  "source": "./src/index.ts",
4
- "version": "3.0.0-next.0",
4
+ "version": "3.0.0-next.1",
5
5
  "description": "JavaScript client library for Ocean Protocol",
6
6
  "main": "./dist/lib.js",
7
7
  "umd:main": "dist/lib.umd.js",