@oceanprotocol/lib 5.0.0-next.1 → 5.0.0-next.2

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.
@@ -25,6 +25,11 @@ export declare class EscrowContract extends SmartContractWithAddress {
25
25
  * @return {Promise<any>} User funds
26
26
  */
27
27
  getUserFunds(payer: string, token: string): Promise<any>;
28
+ /**
29
+ * Get User Tokens
30
+ * @return {Promise<any>} Array of tokens
31
+ */
32
+ getUserTokens(payer: string): Promise<any>;
28
33
  /**
29
34
  * Get Locks
30
35
  * @return {Promise<[]>} Locks
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oceanprotocol/lib",
3
3
  "source": "./src/index.ts",
4
- "version": "5.0.0-next.1",
4
+ "version": "5.0.0-next.2",
5
5
  "description": "JavaScript client library for Ocean Protocol",
6
6
  "main": "./dist/lib.cjs",
7
7
  "umd:main": "dist/lib.umd.js",
@@ -57,7 +57,7 @@
57
57
  },
58
58
  "dependencies": {
59
59
  "@oasisprotocol/sapphire-paratime": "^1.3.2",
60
- "@oceanprotocol/contracts": "^2.3.0",
60
+ "@oceanprotocol/contracts": "^2.4.0",
61
61
  "@oceanprotocol/ddo-js": "^0.1.2",
62
62
  "@rdfjs/dataset": "^2.0.2",
63
63
  "@rdfjs/formats-common": "^3.1.0",