@sockethub/schemas 3.0.0-alpha.21 → 3.0.0-alpha.23
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/dist/index.js +8 -3
- package/dist/index.js.map +3 -3
- package/dist/maps/context-map.json +2 -2
- package/dist/schemas/json/activity-stream.json +1 -1
- package/dist/schemas/json/examples-config.json +1 -1
- package/dist/schemas/json/platform.json +1 -1
- package/dist/schemas/json/sockethub-config.json +10 -1
- package/dist/schemas/sockethub-config.d.ts +5 -0
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"schemaVersion": "3.0.0-alpha.
|
|
3
|
-
"generatedAt": "2026-08-
|
|
2
|
+
"schemaVersion": "3.0.0-alpha.23",
|
|
3
|
+
"generatedAt": "2026-08-26T08:04:17.382Z",
|
|
4
4
|
"contextToPlatformId": {
|
|
5
5
|
"https://sockethub.org/ns/context/platform/caldav/v1.jsonld": "caldav",
|
|
6
6
|
"https://sockethub.org/ns/context/platform/carddav/v1.jsonld": "carddav",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://sockethub.org/schemas/3.0.0-alpha.
|
|
2
|
+
"$id": "https://sockethub.org/schemas/3.0.0-alpha.23/sockethub-config.json",
|
|
3
3
|
"description": "Sockethub Config Schema",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"required": [
|
|
@@ -366,6 +366,15 @@
|
|
|
366
366
|
"default": 262144,
|
|
367
367
|
"description": "Maximum size in bytes of a single Socket.IO message."
|
|
368
368
|
},
|
|
369
|
+
"trustProxy": {
|
|
370
|
+
"type": [
|
|
371
|
+
"boolean",
|
|
372
|
+
"number",
|
|
373
|
+
"string"
|
|
374
|
+
],
|
|
375
|
+
"default": false,
|
|
376
|
+
"description": "Express 'trust proxy' setting, deciding whether 'x-forwarded-for' is believed when determining a client's IP for HTTP rate limiting. false trusts no proxy; a number trusts that many hops; a string takes an address, subnet or preset ('loopback'). Only enable behind a reverse proxy that overwrites the header. When left false while credentialCheck.reconnectIpSource is 'proxy' and credentialCheck.proxyHeader is 'x-forwarded-for', one hop is trusted so both paths agree; a custom proxyHeader requires setting this explicitly."
|
|
377
|
+
},
|
|
369
378
|
"cors": {
|
|
370
379
|
"type": "object",
|
|
371
380
|
"additionalProperties": false,
|
|
@@ -332,6 +332,11 @@ export declare const SockethubConfigSchema: {
|
|
|
332
332
|
default: number;
|
|
333
333
|
description: string;
|
|
334
334
|
};
|
|
335
|
+
trustProxy: {
|
|
336
|
+
type: string[];
|
|
337
|
+
default: boolean;
|
|
338
|
+
description: string;
|
|
339
|
+
};
|
|
335
340
|
cors: {
|
|
336
341
|
type: string;
|
|
337
342
|
additionalProperties: boolean;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sockethub/schemas",
|
|
3
3
|
"description": "JSON schema files for validating Sockethub Activity Streams",
|
|
4
|
-
"version": "3.0.0-alpha.
|
|
4
|
+
"version": "3.0.0-alpha.23",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
7
7
|
"author": "Nick Jennings <nick@silverbucket.net>",
|
|
@@ -71,6 +71,6 @@
|
|
|
71
71
|
"ajv-formats": "^2.1.1",
|
|
72
72
|
"ajv-formats-draft2019": "^1.6.1"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "bb922fbb85f1f4c1c0120e2b0ac871e648e0074c",
|
|
75
75
|
"types": "./dist/index.d.ts"
|
|
76
76
|
}
|