@suveren/gateway 0.7.1 → 0.7.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/bin/suveren-gateway.js +24 -5
- package/dist/control-plane/index.mjs +126 -61
- package/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/node/child_process.d.ts +0 -1
- package/node_modules/@types/node/crypto.d.ts +6 -6
- package/node_modules/@types/node/dns/promises.d.ts +5 -5
- package/node_modules/@types/node/dns.d.ts +5 -5
- package/node_modules/@types/node/fs.d.ts +7 -0
- package/node_modules/@types/node/http.d.ts +30 -0
- package/node_modules/@types/node/http2.d.ts +4 -4
- package/node_modules/@types/node/os.d.ts +30 -30
- package/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/node/perf_hooks.d.ts +2 -1
- package/node_modules/@types/node/process.d.ts +42 -43
- package/node_modules/@types/node/quic.d.ts +1049 -84
- package/node_modules/@types/node/sqlite.d.ts +14 -1
- package/node_modules/@types/node/stream/iter.d.ts +3 -2
- package/node_modules/@types/node/test.d.ts +61 -0
- package/node_modules/@types/node/v8.d.ts +20 -23
- package/package.json +1 -1
|
@@ -59,7 +59,7 @@ declare module "node:http2" {
|
|
|
59
59
|
"ready": [];
|
|
60
60
|
"streamClosed": [code: number];
|
|
61
61
|
"timeout": [];
|
|
62
|
-
"trailers": [
|
|
62
|
+
"trailers": [headers: IncomingHttpHeaders, flags: number, rawHeaders: string[]];
|
|
63
63
|
"wantTrailers": [];
|
|
64
64
|
}
|
|
65
65
|
interface Http2Stream extends stream.Duplex {
|
|
@@ -245,7 +245,7 @@ declare module "node:http2" {
|
|
|
245
245
|
interface ClientHttp2StreamEventMap extends Http2StreamEventMap {
|
|
246
246
|
"continue": [];
|
|
247
247
|
"headers": [headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number, rawHeaders: string[]];
|
|
248
|
-
"push": [headers: IncomingHttpHeaders, flags: number];
|
|
248
|
+
"push": [headers: IncomingHttpHeaders, flags: number, rawHeaders: string[]];
|
|
249
249
|
"response": [headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number, rawHeaders: string[]];
|
|
250
250
|
}
|
|
251
251
|
interface ClientHttp2Stream extends Http2Stream {
|
|
@@ -1644,8 +1644,8 @@ declare module "node:http2" {
|
|
|
1644
1644
|
*
|
|
1645
1645
|
* Then `request.url` will be:
|
|
1646
1646
|
*
|
|
1647
|
-
* ```
|
|
1648
|
-
*
|
|
1647
|
+
* ```json
|
|
1648
|
+
* "/status?name=ryan"
|
|
1649
1649
|
* ```
|
|
1650
1650
|
*
|
|
1651
1651
|
* To parse the url into its parts, `new URL()` can be used:
|
|
@@ -122,7 +122,7 @@ declare module "node:os" {
|
|
|
122
122
|
* irq: 20,
|
|
123
123
|
* },
|
|
124
124
|
* },
|
|
125
|
-
* ]
|
|
125
|
+
* ];
|
|
126
126
|
* ```
|
|
127
127
|
*
|
|
128
128
|
* `nice` values are POSIX-only. On Windows, the `nice` values of all processors
|
|
@@ -167,44 +167,44 @@ declare module "node:os" {
|
|
|
167
167
|
*
|
|
168
168
|
* The properties available on the assigned network address object include:
|
|
169
169
|
*
|
|
170
|
-
* ```
|
|
170
|
+
* ```json
|
|
171
171
|
* {
|
|
172
|
-
* lo: [
|
|
172
|
+
* "lo": [
|
|
173
173
|
* {
|
|
174
|
-
* address:
|
|
175
|
-
* netmask:
|
|
176
|
-
* family:
|
|
177
|
-
* mac:
|
|
178
|
-
* internal: true,
|
|
179
|
-
* cidr:
|
|
174
|
+
* "address:": "127.0.0.1",
|
|
175
|
+
* "netmask:": "255.0.0.0",
|
|
176
|
+
* "family:": "IPv4",
|
|
177
|
+
* "mac:": "00:00:00:00:00:00",
|
|
178
|
+
* "internal:": true,
|
|
179
|
+
* "cidr:": "127.0.0.1/8"
|
|
180
180
|
* },
|
|
181
181
|
* {
|
|
182
|
-
* address:
|
|
183
|
-
* netmask:
|
|
184
|
-
* family:
|
|
185
|
-
* mac:
|
|
186
|
-
* scopeid: 0,
|
|
187
|
-
* internal: true,
|
|
188
|
-
* cidr:
|
|
182
|
+
* "address:": "::1",
|
|
183
|
+
* "netmask:": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
|
|
184
|
+
* "family:": "IPv6",
|
|
185
|
+
* "mac:": "00:00:00:00:00:00",
|
|
186
|
+
* "scopeid:": 0,
|
|
187
|
+
* "internal:": true,
|
|
188
|
+
* "cidr:": "::1/128"
|
|
189
189
|
* }
|
|
190
190
|
* ],
|
|
191
|
-
* eth0: [
|
|
191
|
+
* "eth0": [
|
|
192
192
|
* {
|
|
193
|
-
* address:
|
|
194
|
-
* netmask:
|
|
195
|
-
* family:
|
|
196
|
-
* mac:
|
|
197
|
-
* internal: false,
|
|
198
|
-
* cidr:
|
|
193
|
+
* "address:": "192.168.1.108",
|
|
194
|
+
* "netmask:": "255.255.255.0",
|
|
195
|
+
* "family:": "IPv4",
|
|
196
|
+
* "mac:": "01:02:03:0a:0b:0c",
|
|
197
|
+
* "internal:": false,
|
|
198
|
+
* "cidr:": "192.168.1.108/24"
|
|
199
199
|
* },
|
|
200
200
|
* {
|
|
201
|
-
* address:
|
|
202
|
-
* netmask:
|
|
203
|
-
* family:
|
|
204
|
-
* mac:
|
|
205
|
-
* scopeid: 1,
|
|
206
|
-
* internal: false,
|
|
207
|
-
* cidr:
|
|
201
|
+
* "address:": "fe80::a00:27ff:fe4e:66a1",
|
|
202
|
+
* "netmask:": "ffff:ffff:ffff:ffff::",
|
|
203
|
+
* "family:": "IPv6",
|
|
204
|
+
* "mac:": "01:02:03:0a:0b:0c",
|
|
205
|
+
* "scopeid:": 1,
|
|
206
|
+
* "internal:": false,
|
|
207
|
+
* "cidr:": "fe80::a00:27ff:fe4e:66a1/64"
|
|
208
208
|
* }
|
|
209
209
|
* ]
|
|
210
210
|
* }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "26.
|
|
3
|
+
"version": "26.2.0",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -150,6 +150,6 @@
|
|
|
150
150
|
"undici-types": "~8.3.0"
|
|
151
151
|
},
|
|
152
152
|
"peerDependencies": {},
|
|
153
|
-
"typesPublisherContentHash": "
|
|
153
|
+
"typesPublisherContentHash": "e8c7e12bafdd8ff8648e4d416be7af2d4373bffe17a7498d815e251898739e7c",
|
|
154
154
|
"typeScriptVersion": "5.6"
|
|
155
155
|
}
|
|
@@ -11,6 +11,7 @@ declare module "node:perf_hooks" {
|
|
|
11
11
|
| "measure" // available on the Web
|
|
12
12
|
| "net" // Node.js only
|
|
13
13
|
| "node" // Node.js only
|
|
14
|
+
| "quic" // Node.js only
|
|
14
15
|
| "resource"; // available on the Web
|
|
15
16
|
interface ConnectionTimingInfo {
|
|
16
17
|
domainLookupStartTime: number;
|
|
@@ -214,7 +215,7 @@ declare module "node:perf_hooks" {
|
|
|
214
215
|
* @since v16.0.0
|
|
215
216
|
*/
|
|
216
217
|
readonly detail: any;
|
|
217
|
-
readonly entryType: "dns" | "function" | "gc" | "http2" | "http" | "net" | "node";
|
|
218
|
+
readonly entryType: "dns" | "function" | "gc" | "http2" | "http" | "net" | "node" | "quic";
|
|
218
219
|
}
|
|
219
220
|
interface UVMetrics {
|
|
220
221
|
/**
|
|
@@ -791,14 +791,14 @@ declare module "node:process" {
|
|
|
791
791
|
*
|
|
792
792
|
* Results in `process.execArgv`:
|
|
793
793
|
*
|
|
794
|
-
* ```
|
|
794
|
+
* ```json
|
|
795
795
|
* ["--icu-data-dir=./foo", "--require", "./bar.js"]
|
|
796
796
|
* ```
|
|
797
797
|
*
|
|
798
798
|
* And `process.argv`:
|
|
799
799
|
*
|
|
800
|
-
* ```
|
|
801
|
-
* [
|
|
800
|
+
* ```json
|
|
801
|
+
* ["/usr/local/bin/node", "script.js", "--version"]
|
|
802
802
|
* ```
|
|
803
803
|
*
|
|
804
804
|
* Refer to `Worker constructor` for the detailed behavior of worker
|
|
@@ -810,8 +810,8 @@ declare module "node:process" {
|
|
|
810
810
|
* The `process.execPath` property returns the absolute pathname of the executable
|
|
811
811
|
* that started the Node.js process. Symbolic links, if any, are resolved.
|
|
812
812
|
*
|
|
813
|
-
* ```
|
|
814
|
-
*
|
|
813
|
+
* ```json
|
|
814
|
+
* "/usr/local/bin/node"
|
|
815
815
|
* ```
|
|
816
816
|
* @since v0.1.100
|
|
817
817
|
*/
|
|
@@ -994,18 +994,18 @@ declare module "node:process" {
|
|
|
994
994
|
*
|
|
995
995
|
* An example of this object looks like:
|
|
996
996
|
*
|
|
997
|
-
* ```
|
|
997
|
+
* ```json
|
|
998
998
|
* {
|
|
999
|
-
* TERM:
|
|
1000
|
-
* SHELL:
|
|
1001
|
-
* USER:
|
|
1002
|
-
* PATH:
|
|
1003
|
-
* PWD:
|
|
1004
|
-
* EDITOR:
|
|
1005
|
-
* SHLVL:
|
|
1006
|
-
* HOME:
|
|
1007
|
-
* LOGNAME:
|
|
1008
|
-
* _:
|
|
999
|
+
* "TERM": "xterm-256color",
|
|
1000
|
+
* "SHELL": "/usr/local/bin/bash",
|
|
1001
|
+
* "USER": "maciej",
|
|
1002
|
+
* "PATH": "~/.bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin",
|
|
1003
|
+
* "PWD": "/Users/maciej",
|
|
1004
|
+
* "EDITOR": "vim",
|
|
1005
|
+
* "SHLVL": "1",
|
|
1006
|
+
* "HOME": "/Users/maciej",
|
|
1007
|
+
* "LOGNAME": "maciej",
|
|
1008
|
+
* "_": "/usr/local/bin/node"
|
|
1009
1009
|
* }
|
|
1010
1010
|
* ```
|
|
1011
1011
|
*
|
|
@@ -1540,29 +1540,28 @@ declare module "node:process" {
|
|
|
1540
1540
|
*
|
|
1541
1541
|
* An example of the possible output looks like:
|
|
1542
1542
|
*
|
|
1543
|
-
* ```
|
|
1543
|
+
* ```json
|
|
1544
1544
|
* {
|
|
1545
|
-
* target_defaults:
|
|
1546
|
-
* { cflags: [],
|
|
1547
|
-
* default_configuration:
|
|
1548
|
-
* defines: [],
|
|
1549
|
-
* include_dirs: [],
|
|
1550
|
-
* libraries: [] },
|
|
1551
|
-
* variables:
|
|
1545
|
+
* "target_defaults":
|
|
1546
|
+
* { "cflags": [],
|
|
1547
|
+
* "default_configuration": "Release",
|
|
1548
|
+
* "defines": [],
|
|
1549
|
+
* "include_dirs": [],
|
|
1550
|
+
* "libraries": [] },
|
|
1551
|
+
* "variables":
|
|
1552
1552
|
* {
|
|
1553
|
-
* host_arch:
|
|
1554
|
-
* napi_build_version: 5,
|
|
1555
|
-
* node_install_npm:
|
|
1556
|
-
* node_prefix:
|
|
1557
|
-
* node_shared_cares:
|
|
1558
|
-
* node_shared_http_parser:
|
|
1559
|
-
* node_shared_libuv:
|
|
1560
|
-
* node_shared_zlib:
|
|
1561
|
-
* node_use_openssl:
|
|
1562
|
-
* node_shared_openssl:
|
|
1563
|
-
*
|
|
1564
|
-
*
|
|
1565
|
-
* v8_use_snapshot: 1
|
|
1553
|
+
* "host_arch": "x64",
|
|
1554
|
+
* "napi_build_version": 5,
|
|
1555
|
+
* "node_install_npm": "true",
|
|
1556
|
+
* "node_prefix": "",
|
|
1557
|
+
* "node_shared_cares": "false",
|
|
1558
|
+
* "node_shared_http_parser": "false",
|
|
1559
|
+
* "node_shared_libuv": "false",
|
|
1560
|
+
* "node_shared_zlib": "false",
|
|
1561
|
+
* "node_use_openssl": "true",
|
|
1562
|
+
* "node_shared_openssl": "false",
|
|
1563
|
+
* "target_arch": "x64",
|
|
1564
|
+
* "v8_use_snapshot": 1
|
|
1566
1565
|
* }
|
|
1567
1566
|
* }
|
|
1568
1567
|
* ```
|
|
@@ -1876,13 +1875,13 @@ declare module "node:process" {
|
|
|
1876
1875
|
*
|
|
1877
1876
|
* `process.release` contains the following properties:
|
|
1878
1877
|
*
|
|
1879
|
-
* ```
|
|
1878
|
+
* ```json
|
|
1880
1879
|
* {
|
|
1881
|
-
* name:
|
|
1882
|
-
* lts:
|
|
1883
|
-
* sourceUrl:
|
|
1884
|
-
* headersUrl:
|
|
1885
|
-
* libUrl:
|
|
1880
|
+
* "name": "node",
|
|
1881
|
+
* "lts": "Hydrogen",
|
|
1882
|
+
* "sourceUrl": "https://nodejs.org/download/release/v18.12.0/node-v18.12.0.tar.gz",
|
|
1883
|
+
* "headersUrl": "https://nodejs.org/download/release/v18.12.0/node-v18.12.0-headers.tar.gz",
|
|
1884
|
+
* "libUrl": "https://nodejs.org/download/release/v18.12.0/win-x64/node.lib"
|
|
1886
1885
|
* }
|
|
1887
1886
|
* ```
|
|
1888
1887
|
*
|