@interopio/gateway-server 0.11.0-beta.0 → 0.11.0-beta.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.
package/changelog.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  # Change Log
4
4
 
5
+ ## 0.11.0-beta.2 (2025-10-07)
6
+ ### Changed
7
+ - bump @interopio/gateway to 0.14.1-beta.0
8
+
9
+ ## 0.11.0-beta.1 (2025-10-06)
10
+ ### Changed
11
+ - bump @glue42/gateway-ent types to 3.2.1
12
+
5
13
  ## 0.11.0-beta.0 (2025-10-01)
6
14
  ### Changed
7
15
  - bump @interopio/gateway to 0.14.0-beta.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@interopio/gateway-server",
3
- "version": "0.11.0-beta.0",
3
+ "version": "0.11.0-beta.2",
4
4
  "keywords": [
5
5
  "gateway",
6
6
  "server",
@@ -74,7 +74,7 @@
74
74
  "node": ">=20.10 || >= 22.12 || >= 24"
75
75
  },
76
76
  "dependencies": {
77
- "@interopio/gateway": "^0.14.0-beta.0",
77
+ "@interopio/gateway": "^0.14.1-beta.0",
78
78
  "ws": "^8.18.3",
79
79
  "tough-cookie": "^6.0.0",
80
80
  "http-cookie-agent": "^7.0.2"
@@ -1,3 +1,5 @@
1
+ import * as request from 'request';
2
+
1
3
  type LogLevel
2
4
  = "trace"
3
5
  | "debug"
@@ -33,6 +35,8 @@ type AuthenticationResponse
33
35
  | { type: 'failure', message?: string };
34
36
  type AuthenticatorImpl = (request: AuthenticationRequest) => Promise<AuthenticationResponse>
35
37
 
38
+ type RequestFn = (options: request.OptionsWithUrl, callback: request.RequestCallback) => request.Request
39
+
36
40
  type MetricsPublisherConfig = {
37
41
  filters?: {
38
42
  "non-matched": 'whitelist' | 'blacklist'
@@ -103,6 +107,7 @@ type GatewayConfig = {
103
107
  "max-datapoints-repo"?: number // defaults 50
104
108
  };
105
109
  client?: {
110
+ "request-fn"?: RequestFn
106
111
  sspi?: boolean //
107
112
  "max-in-flight"?: number //
108
113
  "log-level"?: LogLevel // defaults to warn
@@ -149,7 +154,7 @@ type GatewayConfig = {
149
154
  config?: {
150
155
  directory_uri: string,
151
156
  announce_interval?: number, // defaults to 10000
152
- authentication?: 'no-auth' | 'kerberos' | 'negotiate'
157
+ request?: RequestFn
153
158
  }
154
159
  }
155
160
  binding?: {
@@ -183,7 +188,8 @@ type GatewayConfig = {
183
188
  dump_prefix?: string, // defaults to 'Heap'
184
189
  report_interval?: number, // report schedule interval in ms. defaults to 600000 ms (10 min)
185
190
  max_backups?: number, // defaults to 10
186
- }
191
+ },
192
+ request?: RequestFn // request function to use
187
193
  [key: string]: unknown //allow additional properties
188
194
  }
189
195