@oceanprotocol/lib 5.0.3 → 5.0.4

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.
@@ -73,6 +73,10 @@ export interface ComputeJob {
73
73
  agreementId?: string;
74
74
  expireTimestamp: number;
75
75
  metadata?: ComputeJobMetadata;
76
+ terminationDetails?: {
77
+ exitCode?: number;
78
+ OOMKilled?: boolean;
79
+ };
76
80
  }
77
81
  export interface ComputeOutput {
78
82
  publishAlgorithmLog?: boolean;
@@ -148,6 +152,9 @@ export interface ComputeAlgorithm {
148
152
  userdata?: {
149
153
  [key: string]: any;
150
154
  };
155
+ envs?: {
156
+ [key: string]: string;
157
+ };
151
158
  }
152
159
  export interface ComputePayment {
153
160
  chainId: number;
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.3",
4
+ "version": "5.0.4",
5
5
  "description": "JavaScript client library for Ocean Protocol",
6
6
  "main": "./dist/lib.cjs",
7
7
  "umd:main": "dist/lib.umd.js",
@@ -58,7 +58,7 @@
58
58
  "dependencies": {
59
59
  "@oasisprotocol/sapphire-paratime": "^1.3.2",
60
60
  "@oceanprotocol/contracts": "^2.4.0",
61
- "@oceanprotocol/ddo-js": "^0.1.3",
61
+ "@oceanprotocol/ddo-js": "^0.1.4",
62
62
  "@rdfjs/dataset": "^2.0.2",
63
63
  "@rdfjs/formats-common": "^3.1.0",
64
64
  "@zazuko/env-node": "^2.1.4",