@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
package/dist/index.js
CHANGED
|
@@ -16164,7 +16164,7 @@ var PlatformSchema = {
|
|
|
16164
16164
|
var package_default = {
|
|
16165
16165
|
name: "@sockethub/schemas",
|
|
16166
16166
|
description: "JSON schema files for validating Sockethub Activity Streams",
|
|
16167
|
-
version: "3.0.0-alpha.
|
|
16167
|
+
version: "3.0.0-alpha.23",
|
|
16168
16168
|
type: "module",
|
|
16169
16169
|
private: false,
|
|
16170
16170
|
author: "Nick Jennings <nick@silverbucket.net>",
|
|
@@ -16234,7 +16234,7 @@ var package_default = {
|
|
|
16234
16234
|
"ajv-formats": "^2.1.1",
|
|
16235
16235
|
"ajv-formats-draft2019": "^1.6.1"
|
|
16236
16236
|
},
|
|
16237
|
-
gitHead: "
|
|
16237
|
+
gitHead: "a6d303097640e82c7d1a7cef6dea2e6dae5f2cac",
|
|
16238
16238
|
types: "./dist/index.d.ts"
|
|
16239
16239
|
};
|
|
16240
16240
|
|
|
@@ -16547,6 +16547,11 @@ var SockethubConfigSchema = {
|
|
|
16547
16547
|
default: 262144,
|
|
16548
16548
|
description: "Maximum size in bytes of a single Socket.IO message."
|
|
16549
16549
|
},
|
|
16550
|
+
trustProxy: {
|
|
16551
|
+
type: ["boolean", "number", "string"],
|
|
16552
|
+
default: false,
|
|
16553
|
+
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."
|
|
16554
|
+
},
|
|
16550
16555
|
cors: {
|
|
16551
16556
|
type: "object",
|
|
16552
16557
|
additionalProperties: false,
|
|
@@ -16980,4 +16985,4 @@ export {
|
|
|
16980
16985
|
validateSockethubConfig
|
|
16981
16986
|
};
|
|
16982
16987
|
|
|
16983
|
-
//# debugId=
|
|
16988
|
+
//# debugId=0A15AEF08FF21A5C64756E2164756E21
|