@sockethub/schemas 3.0.0-alpha.13 → 3.0.0-alpha.15

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
@@ -16165,6 +16165,18 @@ var SockethubConfigSchema = {
16165
16165
  }
16166
16166
  }
16167
16167
  },
16168
+ credentials: {
16169
+ type: "object",
16170
+ additionalProperties: false,
16171
+ properties: {
16172
+ ttlMs: {
16173
+ type: "number",
16174
+ minimum: 0,
16175
+ default: 604800000,
16176
+ description: "Sliding TTL in milliseconds for per-session encrypted " + "credential keys in Redis, refreshed on every save and " + "read. A backstop against keys orphaned by crashes; " + "sessions normally delete their key on disconnect. " + "Size generously — idle sessions do not refresh it. " + "0 disables expiry."
16177
+ }
16178
+ }
16179
+ },
16168
16180
  credentialCheck: {
16169
16181
  type: "object",
16170
16182
  additionalProperties: false,
@@ -16303,6 +16315,49 @@ var SockethubConfigSchema = {
16303
16315
  }
16304
16316
  }
16305
16317
  },
16318
+ httpActions: {
16319
+ type: "object",
16320
+ additionalProperties: false,
16321
+ properties: {
16322
+ enabled: {
16323
+ type: "boolean",
16324
+ default: false
16325
+ },
16326
+ path: {
16327
+ type: "string",
16328
+ default: "/sockethub-http"
16329
+ },
16330
+ requireRequestId: {
16331
+ type: "boolean",
16332
+ default: true
16333
+ },
16334
+ maxMessagesPerRequest: {
16335
+ type: "number",
16336
+ minimum: 1,
16337
+ default: 20
16338
+ },
16339
+ maxPayloadBytes: {
16340
+ type: "number",
16341
+ minimum: 1,
16342
+ default: 262144
16343
+ },
16344
+ idempotencyTtlMs: {
16345
+ type: "number",
16346
+ minimum: 0,
16347
+ default: 300000
16348
+ },
16349
+ requestTimeoutMs: {
16350
+ type: "number",
16351
+ minimum: 0,
16352
+ default: 30000
16353
+ },
16354
+ idleTimeoutMs: {
16355
+ type: "number",
16356
+ minimum: 0,
16357
+ default: 15000
16358
+ }
16359
+ }
16360
+ },
16306
16361
  platformHeartbeat: {
16307
16362
  type: "object",
16308
16363
  additionalProperties: false,
@@ -16638,4 +16693,4 @@ export {
16638
16693
  AS2_BASE_CONTEXT_URL
16639
16694
  };
16640
16695
 
16641
- //# debugId=E0C024B0EB3D053564756E2164756E21
16696
+ //# debugId=9992B63BF86F71E964756E2164756E21