@seedprotocol/gateway-hyper 0.7.10-next.1353.g74aeeed → 0.7.10
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/README.md +24 -2
- package/dist/bin.js +164 -48
- package/dist/bin.js.map +1 -1
- package/dist/cli.d.ts +5 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/index.d.ts +8 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/keys.d.ts +16 -0
- package/dist/keys.d.ts.map +1 -1
- package/dist/src-DHEkxp5F.js +943 -0
- package/dist/src-DHEkxp5F.js.map +1 -0
- package/dist/tunnel/allowlist.d.ts +45 -0
- package/dist/tunnel/allowlist.d.ts.map +1 -0
- package/dist/tunnel/connect.d.ts.map +1 -1
- package/dist/tunnel/events.d.ts +131 -0
- package/dist/tunnel/events.d.ts.map +1 -0
- package/dist/tunnel/proxy.d.ts +11 -0
- package/dist/tunnel/proxy.d.ts.map +1 -1
- package/dist/tunnel/proxyApp.d.ts.map +1 -1
- package/dist/tunnel/rawConnect.d.ts +14 -0
- package/dist/tunnel/rawConnect.d.ts.map +1 -0
- package/dist/tunnel/rawPipe.d.ts +35 -0
- package/dist/tunnel/rawPipe.d.ts.map +1 -0
- package/dist/tunnel/rawServe.d.ts +18 -0
- package/dist/tunnel/rawServe.d.ts.map +1 -0
- package/dist/tunnel/serve.d.ts +11 -0
- package/dist/tunnel/serve.d.ts.map +1 -1
- package/dist/tunnel/session.d.ts +15 -1
- package/dist/tunnel/session.d.ts.map +1 -1
- package/dist/types.d.ts +125 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/src-qIlmrs1H.js +0 -573
- package/dist/src-qIlmrs1H.js.map +0 -1
package/dist/tunnel/session.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Duplex } from 'node:stream';
|
|
2
|
-
import type { TunnelMeta, TunnelResponseMeta } from '../types';
|
|
2
|
+
import type { DhtBootstrapNode, TunnelMeta, TunnelResponseMeta } from '../types';
|
|
3
3
|
/** Default idle limit for one request on the tunnel stream. */
|
|
4
4
|
export declare const DEFAULT_REQUEST_TIMEOUT_MS = 60000;
|
|
5
5
|
/** Default limit for opening the HyperDHT connection. */
|
|
@@ -14,8 +14,20 @@ export declare const DEFAULT_MAX_STREAMS = 4;
|
|
|
14
14
|
export type TunnelSessionOptions = {
|
|
15
15
|
/** Operator public key (z32 or hex) */
|
|
16
16
|
key: string;
|
|
17
|
+
/**
|
|
18
|
+
* Keypair file (created on first run if missing) for the key this client presents to the
|
|
19
|
+
* operator. Without `keyFile` or `keyPair`, each session uses a new key.
|
|
20
|
+
*/
|
|
21
|
+
keyFile?: string;
|
|
22
|
+
/** The client keypair itself. Exclusive with `keyFile`. */
|
|
23
|
+
keyPair?: {
|
|
24
|
+
publicKey: Buffer;
|
|
25
|
+
secretKey: Buffer;
|
|
26
|
+
};
|
|
17
27
|
/** Optional store path for DHT client state */
|
|
18
28
|
storePath?: string;
|
|
29
|
+
/** HyperDHT bootstrap nodes. Defaults to the public network. */
|
|
30
|
+
bootstrap?: DhtBootstrapNode[];
|
|
19
31
|
/**
|
|
20
32
|
* Abandon a request once the stream has sent and received nothing for this long, then
|
|
21
33
|
* reconnect for the next request. Counts from when the request gets a stream.
|
|
@@ -38,6 +50,8 @@ export type TunnelRequestOptions = {
|
|
|
38
50
|
};
|
|
39
51
|
export type TunnelSession = {
|
|
40
52
|
key: string;
|
|
53
|
+
/** The public key (z32) this client presents to the operator */
|
|
54
|
+
clientKey: string;
|
|
41
55
|
runOnTunnel: <T>(fn: (socket: Duplex) => Promise<T>, options?: TunnelRequestOptions) => Promise<T>;
|
|
42
56
|
forwardHttp: (meta: TunnelMeta, body: Buffer, options?: TunnelRequestOptions) => Promise<{
|
|
43
57
|
meta: TunnelResponseMeta;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../src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1,5 @@
|
|
|
1
|
+
import type { AllowlistOptions } from './tunnel/allowlist';
|
|
2
|
+
import type { RawClientEventListener, RawTunnelEventListener, TunnelEventListener } from './tunnel/events';
|
|
1
3
|
export type TunnelMeta = {
|
|
2
4
|
method: string;
|
|
3
5
|
path: string;
|
|
@@ -7,6 +9,11 @@ export type TunnelResponseMeta = {
|
|
|
7
9
|
status: number;
|
|
8
10
|
headers: Record<string, string>;
|
|
9
11
|
};
|
|
12
|
+
/** A HyperDHT bootstrap node. */
|
|
13
|
+
export type DhtBootstrapNode = {
|
|
14
|
+
host: string;
|
|
15
|
+
port: number;
|
|
16
|
+
};
|
|
10
17
|
export type ServeTunnelOptions = {
|
|
11
18
|
/** Upstream HTTP origin (e.g. http://127.0.0.1:80) */
|
|
12
19
|
upstream: string;
|
|
@@ -14,11 +21,33 @@ export type ServeTunnelOptions = {
|
|
|
14
21
|
keyFile?: string;
|
|
15
22
|
/** Directory for DHT state (optional, in-memory if unset) */
|
|
16
23
|
storePath?: string;
|
|
24
|
+
/**
|
|
25
|
+
* HyperDHT bootstrap nodes. Defaults to the public network; set it to join a private or
|
|
26
|
+
* local one (e.g. `hyperdht/testnet` in tests).
|
|
27
|
+
*/
|
|
28
|
+
bootstrap?: DhtBootstrapNode[];
|
|
17
29
|
/**
|
|
18
30
|
* Answer 504 once the upstream socket has been idle this long, waiting for headers or
|
|
19
31
|
* body. Default 30 000; 0 disables.
|
|
20
32
|
*/
|
|
21
33
|
upstreamTimeoutMs?: number;
|
|
34
|
+
/**
|
|
35
|
+
* Clients that may connect, by public key (z32 or hex) or by IP or CIDR range. A client
|
|
36
|
+
* listed in either is let in; with both empty or unset, every client is. Invalid entries
|
|
37
|
+
* throw. See `createAllowlist` for which address is checked.
|
|
38
|
+
*/
|
|
39
|
+
allowlist?: AllowlistOptions;
|
|
40
|
+
/**
|
|
41
|
+
* Receives an event at each step of each stream and request (see `TunnelEvent`), for
|
|
42
|
+
* logging or tracing. Called synchronously; a throw is dropped. Unset, no tracing state is
|
|
43
|
+
* kept.
|
|
44
|
+
*/
|
|
45
|
+
onEvent?: TunnelEventListener;
|
|
46
|
+
/**
|
|
47
|
+
* Send each request's id upstream under this header (e.g. `x-seed-tunnel-request-id`), so
|
|
48
|
+
* upstream logs can be matched to `onEvent` events. Replaces any value the client sent.
|
|
49
|
+
*/
|
|
50
|
+
requestIdHeader?: string;
|
|
22
51
|
};
|
|
23
52
|
export type ServeTunnelResult = {
|
|
24
53
|
/** Operator public key (z32) */
|
|
@@ -29,12 +58,28 @@ export type ServeTunnelResult = {
|
|
|
29
58
|
export type ConnectTunnelOptions = {
|
|
30
59
|
/** Operator public key (z32 or hex) */
|
|
31
60
|
key: string;
|
|
61
|
+
/**
|
|
62
|
+
* Keypair file (JSON, created on first run if missing) for the key this client presents to
|
|
63
|
+
* the operator. A fixed key can go on the operator's key allowlist. Without `keyFile` or
|
|
64
|
+
* `keyPair`, each run uses a new key.
|
|
65
|
+
*/
|
|
66
|
+
keyFile?: string;
|
|
67
|
+
/** The client keypair itself, e.g. decoded from an env var. Exclusive with `keyFile`. */
|
|
68
|
+
keyPair?: {
|
|
69
|
+
publicKey: Buffer;
|
|
70
|
+
secretKey: Buffer;
|
|
71
|
+
};
|
|
32
72
|
/** Local HTTP bind host */
|
|
33
73
|
host?: string;
|
|
34
74
|
/** Local HTTP bind port */
|
|
35
75
|
port?: number;
|
|
36
76
|
/** Optional store path for DHT client state */
|
|
37
77
|
storePath?: string;
|
|
78
|
+
/**
|
|
79
|
+
* HyperDHT bootstrap nodes. Defaults to the public network; set it to join a private or
|
|
80
|
+
* local one (e.g. `hyperdht/testnet` in tests).
|
|
81
|
+
*/
|
|
82
|
+
bootstrap?: DhtBootstrapNode[];
|
|
38
83
|
/**
|
|
39
84
|
* Abandon a request once the tunnel stream has sent and received nothing for this long,
|
|
40
85
|
* answer 504, and reconnect for the next request. Keep it above the operator's
|
|
@@ -51,11 +96,75 @@ export type ConnectTunnelOptions = {
|
|
|
51
96
|
};
|
|
52
97
|
export type ConnectTunnelResult = {
|
|
53
98
|
key: string;
|
|
99
|
+
/** The public key (z32) this client presents to the operator */
|
|
100
|
+
clientKey: string;
|
|
54
101
|
host: string;
|
|
55
102
|
port: number;
|
|
56
103
|
baseUrl: string;
|
|
57
104
|
close: () => Promise<void>;
|
|
58
105
|
};
|
|
106
|
+
export type ServeRawTunnelOptions = {
|
|
107
|
+
/** Upstream TCP address: `http://host:port`, `https://host` (port 443) or `host:port` */
|
|
108
|
+
upstream: string;
|
|
109
|
+
/**
|
|
110
|
+
* Operator keypair file (JSON), created on first run if missing. Default
|
|
111
|
+
* `.seed/gateway-tunnel/raw-operator.key.json`, apart from the framed tunnel's key.
|
|
112
|
+
*/
|
|
113
|
+
keyFile?: string;
|
|
114
|
+
/** The operator keypair itself. Takes precedence over `keyFile`. */
|
|
115
|
+
keyPair?: {
|
|
116
|
+
publicKey: Buffer;
|
|
117
|
+
secretKey: Buffer;
|
|
118
|
+
};
|
|
119
|
+
/** Clients that may connect; same rules as `serveTunnel`'s `allowlist`. */
|
|
120
|
+
allowlist?: AllowlistOptions;
|
|
121
|
+
/** Receives connection events; see `RawTunnelEvent`. */
|
|
122
|
+
onEvent?: RawTunnelEventListener;
|
|
123
|
+
/** HyperDHT bootstrap nodes. Defaults to the public network. */
|
|
124
|
+
bootstrap?: DhtBootstrapNode[];
|
|
125
|
+
/** How long a side may stay open after the other closed cleanly. Default 30 000. */
|
|
126
|
+
closeGraceMs?: number;
|
|
127
|
+
};
|
|
128
|
+
export type ServeRawTunnelResult = {
|
|
129
|
+
/** Operator public key (z32) */
|
|
130
|
+
key: string;
|
|
131
|
+
/** Upstream as `host:port` */
|
|
132
|
+
upstream: string;
|
|
133
|
+
close: () => Promise<void>;
|
|
134
|
+
};
|
|
135
|
+
export type ConnectRawTunnelOptions = {
|
|
136
|
+
/** Raw operator public key (z32 or hex) */
|
|
137
|
+
key: string;
|
|
138
|
+
/** Local TCP bind host. Default 127.0.0.1. */
|
|
139
|
+
host?: string;
|
|
140
|
+
/** Local TCP bind port. Default 1985; 0 picks a free port. */
|
|
141
|
+
port?: number;
|
|
142
|
+
/** Client keypair file, as on `connectTunnel`. Without it or `keyPair`, each run gets a new key. */
|
|
143
|
+
keyFile?: string;
|
|
144
|
+
/** The client keypair itself. Exclusive with `keyFile`. */
|
|
145
|
+
keyPair?: {
|
|
146
|
+
publicKey: Buffer;
|
|
147
|
+
secretKey: Buffer;
|
|
148
|
+
};
|
|
149
|
+
/** Most TCP connections open at once; further ones are closed at once. Default 64. */
|
|
150
|
+
maxConnections?: number;
|
|
151
|
+
/** Destroy a connection whose HyperDHT stream hasn't opened after this long. Default 30 000; 0 disables. */
|
|
152
|
+
connectTimeoutMs?: number;
|
|
153
|
+
/** Receives connection events; see `RawClientEvent`. */
|
|
154
|
+
onEvent?: RawClientEventListener;
|
|
155
|
+
/** HyperDHT bootstrap nodes. Defaults to the public network. */
|
|
156
|
+
bootstrap?: DhtBootstrapNode[];
|
|
157
|
+
/** How long a side may stay open after the other closed cleanly. Default 30 000. */
|
|
158
|
+
closeGraceMs?: number;
|
|
159
|
+
};
|
|
160
|
+
export type ConnectRawTunnelResult = {
|
|
161
|
+
key: string;
|
|
162
|
+
/** The public key (z32) this client presents to the operator */
|
|
163
|
+
clientKey: string;
|
|
164
|
+
host: string;
|
|
165
|
+
port: number;
|
|
166
|
+
close: () => Promise<void>;
|
|
167
|
+
};
|
|
59
168
|
export type OperatorKeyPair = {
|
|
60
169
|
publicKey: Buffer;
|
|
61
170
|
secretKey: Buffer;
|
|
@@ -67,6 +176,17 @@ export type CreateGatewayProxyOptions = {
|
|
|
67
176
|
* Defaults to `process.env.SEED_GATEWAY_HYPER_KEY`.
|
|
68
177
|
*/
|
|
69
178
|
key?: string;
|
|
179
|
+
/**
|
|
180
|
+
* Keypair file (JSON, created on first run if missing) for the key this client presents to
|
|
181
|
+
* the operator. A fixed key can go on the operator's key allowlist. Without `keyFile` or
|
|
182
|
+
* `keyPair`, each run uses a new key.
|
|
183
|
+
*/
|
|
184
|
+
keyFile?: string;
|
|
185
|
+
/** The client keypair itself, e.g. decoded from an env var. Exclusive with `keyFile`. */
|
|
186
|
+
keyPair?: {
|
|
187
|
+
publicKey: Buffer;
|
|
188
|
+
secretKey: Buffer;
|
|
189
|
+
};
|
|
70
190
|
/**
|
|
71
191
|
* URL path prefix the app mounts the proxy on (stripped before tunneling).
|
|
72
192
|
* Default `/api/seed-gateway`.
|
|
@@ -74,6 +194,11 @@ export type CreateGatewayProxyOptions = {
|
|
|
74
194
|
mountPath?: string;
|
|
75
195
|
/** Optional DHT client state directory */
|
|
76
196
|
storePath?: string;
|
|
197
|
+
/**
|
|
198
|
+
* HyperDHT bootstrap nodes. Defaults to the public network; set it to join a private or
|
|
199
|
+
* local one (e.g. `hyperdht/testnet` in tests).
|
|
200
|
+
*/
|
|
201
|
+
bootstrap?: DhtBootstrapNode[];
|
|
77
202
|
/** Start the Hyper session immediately (default: lazy on first request) */
|
|
78
203
|
eager?: boolean;
|
|
79
204
|
/**
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG;IACvB,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAChC,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAChC,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,sDAAsD;IACtD,QAAQ,EAAE,MAAM,CAAA;IAChB,6EAA6E;IAC7E,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,6DAA6D;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAA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@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seedprotocol/gateway-hyper",
|
|
3
|
-
"version": "0.7.10
|
|
3
|
+
"version": "0.7.10",
|
|
4
4
|
"description": "HyperDHT HTTP tunnel that exposes a Seed Protocol gateway and upload API through a local sidecar or app-server proxy",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"seed-protocol",
|