@sockethub/schemas 3.0.0-alpha.21 → 3.0.0-alpha.22

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 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.21",
16167
+ version: "3.0.0-alpha.22",
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: "683f7b2c0cda2eda05c845eb98827cf13d055eb4",
16237
+ gitHead: "1630010f605e85cc548e3323cb9694fbe3a7a18a",
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=A787C6CD928CAA0F64756E2164756E21
16988
+ //# debugId=823A605A13AB74DB64756E2164756E21