@oceanprotocol/lib 1.0.0-next.25 → 1.0.0-next.26

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.
@@ -16,41 +16,6 @@ export interface PublisherTrustedAlgorithm {
16
16
  containerSectionChecksum: string;
17
17
  }
18
18
  export interface ServiceComputeOptions {
19
- /**
20
- * Namespaced used for the compute job.
21
- * @type {string}
22
- */
23
- namespace: string;
24
- /**
25
- * Maximum number of CPUs allocated for a job
26
- * @type {number}
27
- */
28
- cpu?: number;
29
- /**
30
- * Maximum number of GPUs allocated for a job
31
- * @type {number}
32
- */
33
- gpu?: number;
34
- /**
35
- * Type of GPU (if any)
36
- * @type {string}
37
- */
38
- gpuType?: string;
39
- /**
40
- * Maximum amount of memory allocated for a job.
41
- * You can express memory as a plain integer or as a fixed-point number using one of these suffixes: E, P, T, G, M, k.
42
- * You can also use the power-of-two equivalents: Ei, Pi, Ti, Gi, Mi, Ki.
43
- * For example, the following represent roughly the same value: 128974848, 129e6, 129M, 123Mi
44
- * @type {string}
45
- */
46
- memory?: string;
47
- /**
48
- * Amount of disk space allocated.
49
- * You can express it as a plain integer or as a fixed-point number using one of these suffixes: E, P, T, G, M, k.
50
- * You can also use the power-of-two equivalents: Ei, Pi, Ti, Gi, Mi, Ki.
51
- * @type {string}
52
- */
53
- volumeSize?: string;
54
19
  /**
55
20
  * If true, any passed raw text will be allowed to run.
56
21
  * Useful for an algorithm drag & drop use case, but increases risk of data escape through malicious user input.
@@ -117,7 +82,7 @@ export interface Service {
117
82
  */
118
83
  description?: string;
119
84
  /**
120
- * If service is of typecompute, holds information about the compute-related privacy settings & resources.
85
+ * If service is of type compute, holds information about the compute-related privacy settings & resources.
121
86
  * @type {ServiceComputeOptions}
122
87
  */
123
88
  compute?: ServiceComputeOptions;
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.25",
4
+ "version": "1.0.0-next.26",
5
5
  "description": "JavaScript client library for Ocean Protocol",
6
6
  "main": "./dist/lib.js",
7
7
  "umd:main": "dist/lib.umd.js",
@@ -67,7 +67,7 @@
67
67
  "web3-eth-contract": "^1.7.1"
68
68
  },
69
69
  "devDependencies": {
70
- "@truffle/hdwallet-provider": "^2.0.3",
70
+ "@truffle/hdwallet-provider": "^2.0.4",
71
71
  "@types/chai": "^4.2.19",
72
72
  "@types/chai-spies": "^1.0.3",
73
73
  "@types/crypto-js": "^4.1.1",