@oceanprotocol/lib 10.1.0 → 11.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.
@@ -64,6 +64,7 @@ export interface ComputeEnvironmentFreeOptions {
64
64
  export interface ComputeEnvFeatures {
65
65
  computeJobs?: boolean;
66
66
  services?: boolean;
67
+ secureTls?: boolean;
67
68
  }
68
69
  export interface ComputeEnvironment {
69
70
  id: string;
@@ -76,6 +76,7 @@ export interface ServiceJobEndpoint {
76
76
  containerPort: number;
77
77
  hostPort: number;
78
78
  url: string;
79
+ tls?: boolean;
79
80
  }
80
81
  export declare enum ServiceStatusNumber {
81
82
  Starting = 10,// DB record created by the start handler; awaits background processing
@@ -138,6 +139,7 @@ export interface ServiceJob {
138
139
  metadata?: ComputeJobMetadata;
139
140
  outputBucketId?: string;
140
141
  outputArchives?: ServiceOutputArchive[];
142
+ secureTls?: number[];
141
143
  }
142
144
  export type ServiceJobListed = Omit<ServiceJob, 'dockerCmd' | 'dockerEntrypoint' | 'dockerfile' | 'additionalDockerFiles' | 'runtimeMetrics' | 'outputArchives'>;
143
145
  export interface ServiceListFilters {
@@ -161,6 +163,7 @@ export interface ServiceContainerSpec {
161
163
  dockerCmd?: string[];
162
164
  dockerEntrypoint?: string[];
163
165
  metadata?: ComputeJobMetadata;
166
+ secureTls?: number[];
164
167
  }
165
168
  export type ServiceRestartParams = ServiceContainerSpec;
166
169
  export interface ServiceStartParams extends ServiceContainerSpec {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oceanprotocol/lib",
3
3
  "source": "./src/index.ts",
4
- "version": "10.1.0",
4
+ "version": "11.0.0-next.1",
5
5
  "description": "JavaScript client library for Ocean Protocol",
6
6
  "module": "./dist/lib.module.mjs",
7
7
  "type": "module",
@@ -91,10 +91,9 @@
91
91
  "@libp2p/websockets": "^10.1.21",
92
92
  "@multiformats/multiaddr": "^13.0.3",
93
93
  "@oasisprotocol/sapphire-ethers-v6": "^6.0.1",
94
- "@oceanprotocol/ddo-js": "^1.0.0",
94
+ "@oceanprotocol/ddo-js": "^1.1.0",
95
95
  "bignumber.js": "^11.1.5",
96
96
  "cross-fetch": "^4.1.0",
97
- "crypto-js": "^4.2.0",
98
97
  "decimal.js": "^10.6.0",
99
98
  "eciesjs": "^0.5.0",
100
99
  "ethers": "^6.17.0",
@@ -114,6 +113,7 @@
114
113
  "@types/node": "^26.2.0",
115
114
  "auto-changelog": "^2.6.0",
116
115
  "chai": "^6.2.2",
116
+ "crypto-js": "^4.2.0",
117
117
  "eslint": "^10.8.1",
118
118
  "eslint-config-prettier": "^10.1.8",
119
119
  "eslint-plugin-prettier": "^5.5.6",