@interopio/gateway-server 0.10.0-beta.1 → 0.11.0-beta.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.
- package/changelog.md +8 -0
- package/package.json +3 -3
- package/types/gateway-ent.d.ts +8 -2
package/changelog.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
# Change Log
|
|
4
4
|
|
|
5
|
+
## 0.11.0-beta.1 (2025-10-06)
|
|
6
|
+
### Changed
|
|
7
|
+
- bump @glue42/gateway-ent types to 3.2.1
|
|
8
|
+
|
|
9
|
+
## 0.11.0-beta.0 (2025-10-01)
|
|
10
|
+
### Changed
|
|
11
|
+
- bump @interopio/gateway to 0.14.0-beta.0
|
|
12
|
+
|
|
5
13
|
## 0.10.0-beta.1 (2025-09-30)
|
|
6
14
|
|
|
7
15
|
### Changed
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@interopio/gateway-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0-beta.1",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"gateway",
|
|
6
6
|
"server",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"build": "node scripts/build.mjs",
|
|
28
28
|
"prepack": "npm run build",
|
|
29
29
|
"clean": "node scripts/clean.mjs",
|
|
30
|
-
"coverage": "c8 --reporter=
|
|
30
|
+
"coverage": "c8 --reporter=lcovonly --report-dir=./reports --src=./src npm run test"
|
|
31
31
|
},
|
|
32
32
|
"exports": {
|
|
33
33
|
"./package.json": "./package.json",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"node": ">=20.10 || >= 22.12 || >= 24"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@interopio/gateway": "^0.
|
|
77
|
+
"@interopio/gateway": "^0.14.0-beta.0",
|
|
78
78
|
"ws": "^8.18.3",
|
|
79
79
|
"tough-cookie": "^6.0.0",
|
|
80
80
|
"http-cookie-agent": "^7.0.2"
|
package/types/gateway-ent.d.ts
CHANGED
|
@@ -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
|
-
|
|
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
|
|