WebhookConfig
Defined in: packages/webhook/src/types/webhook.types.ts:3
Properties
섹션 제목: “Properties”algorithm?
섹션 제목: “algorithm?”
optionalalgorithm?:"sha256"|"sha1"
Defined in: packages/webhook/src/types/webhook.types.ts:23
backoffMultiplier?
섹션 제목: “backoffMultiplier?”
optionalbackoffMultiplier?:number
Defined in: packages/webhook/src/types/webhook.types.ts:8
batchSize?
섹션 제목: “batchSize?”
optionalbatchSize?:number
Defined in: packages/webhook/src/types/webhook.types.ts:39
How many events queued by emit() go out in one batch. The emit() call
that fills a batch sends it, retries included, before it resolves, unless
another batch is still being sent: then the full batch follows that one,
or, if that one fails, goes with the timer, the next call, or flush().
Infinity leaves every event for flush() or the timer. Defaults to 10,
which also replaces a value below 1. emitSync() does not use it.
batchTimeoutMs?
섹션 제목: “batchTimeoutMs?”
optionalbatchTimeoutMs?:number
Defined in: packages/webhook/src/types/webhook.types.ts:45
With autoStart, how long in milliseconds the first event queued by
emit() waits before its batch is sent. Defaults to 5000. emitSync()
does not use it.
enabledEvents
섹션 제목: “enabledEvents”enabledEvents:
WebhookEventType[]
Defined in: packages/webhook/src/types/webhook.types.ts:28
enableSecurity
섹션 제목: “enableSecurity”enableSecurity:
boolean
Defined in: packages/webhook/src/types/webhook.types.ts:20
Signs every delivery with HMAC. While on, a delivery is never sent
unsigned: endpoints need a secret (or secretKey must be set), and a
stored endpoint without one gets a failed delivery and no request.
jitter?
섹션 제목: “jitter?”
optionaljitter?:boolean
Defined in: packages/webhook/src/types/webhook.types.ts:9
maxDelayMs?
섹션 제목: “maxDelayMs?”
optionalmaxDelayMs?:number
Defined in: packages/webhook/src/types/webhook.types.ts:7
maxRetries
섹션 제목: “maxRetries”maxRetries:
number
Defined in: packages/webhook/src/types/webhook.types.ts:5
retryDelayMs
섹션 제목: “retryDelayMs”retryDelayMs:
number
Defined in: packages/webhook/src/types/webhook.types.ts:6
secretKey?
섹션 제목: “secretKey?”
optionalsecretKey?:string
Defined in: packages/webhook/src/types/webhook.types.ts:22
Signs deliveries to endpoints that have no secret of their own.
signatureHeader?
섹션 제목: “signatureHeader?”
optionalsignatureHeader?:string
Defined in: packages/webhook/src/types/webhook.types.ts:24
signaturePrefix?
섹션 제목: “signaturePrefix?”
optionalsignaturePrefix?:string
Defined in: packages/webhook/src/types/webhook.types.ts:25
timeoutMs
섹션 제목: “timeoutMs”timeoutMs:
number
Defined in: packages/webhook/src/types/webhook.types.ts:12