mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-29 10:50:58 +00:00
* fix(bluebubbles): throttle webhook auth guesses * test(bluebubbles): isolate attachment ssrf config * test(bluebubbles): hoist attachment mocks * docs: refresh bluebubbles config baseline * fix(bluebubbles): trust proxied webhook client IPs * fix(bluebubbles): honor trusted proxy webhook IPs * fix(bluebubbles): honor real-ip fallback for webhooks
45 lines
1.4 KiB
TypeScript
45 lines
1.4 KiB
TypeScript
export {
|
|
createBoundedCounter,
|
|
createFixedWindowRateLimiter,
|
|
createWebhookAnomalyTracker,
|
|
WEBHOOK_ANOMALY_COUNTER_DEFAULTS,
|
|
WEBHOOK_ANOMALY_STATUS_CODES,
|
|
WEBHOOK_RATE_LIMIT_DEFAULTS,
|
|
type BoundedCounter,
|
|
type FixedWindowRateLimiter,
|
|
type WebhookAnomalyTracker,
|
|
} from "./webhook-memory-guards.js";
|
|
export {
|
|
applyBasicWebhookRequestGuards,
|
|
beginWebhookRequestPipelineOrReject,
|
|
createWebhookInFlightLimiter,
|
|
isJsonContentType,
|
|
isRequestBodyLimitError,
|
|
readRequestBodyWithLimit,
|
|
readJsonWebhookBodyOrReject,
|
|
readWebhookBodyOrReject,
|
|
requestBodyErrorToText,
|
|
WEBHOOK_BODY_READ_DEFAULTS,
|
|
WEBHOOK_IN_FLIGHT_DEFAULTS,
|
|
type WebhookBodyReadProfile,
|
|
type WebhookInFlightLimiter,
|
|
} from "./webhook-request-guards.js";
|
|
export {
|
|
registerPluginHttpRoute,
|
|
registerWebhookTarget,
|
|
registerWebhookTargetWithPluginRoute,
|
|
resolveSingleWebhookTarget,
|
|
resolveSingleWebhookTargetAsync,
|
|
resolveWebhookTargetWithAuthOrReject,
|
|
resolveWebhookTargetWithAuthOrRejectSync,
|
|
resolveWebhookTargets,
|
|
withResolvedWebhookRequestPipeline,
|
|
type RegisterWebhookPluginRouteOptions,
|
|
type RegisterWebhookTargetOptions,
|
|
type RegisteredWebhookTarget,
|
|
type WebhookTargetMatchResult,
|
|
} from "./webhook-targets.js";
|
|
export { normalizeWebhookPath, resolveWebhookPath } from "./webhook-path.js";
|
|
export { resolveRequestClientIp } from "../gateway/net.js";
|
|
export { normalizePluginHttpPath } from "../plugins/http-path.js";
|