twitcheasy-twitch-bottwitch-authtwitch-auth-tmitwitch-chat-clienttwitch-eventsubtwitch-pubsub-clienttwitch-webhooks
Welcome

EventSubMiddlewareConfig

The configuration of the EventSub middleware.

{
The host name the root application is available under.
hostName: string
Options to pass to the logger.
logger?: Partial<LoggerOptions>
The path your listener is mounted under.
pathPrefix?: string
Your EventSub secret.
secret: string
}

Properties

hostName

Type: string

The host name the root application is available under.

logger

Type: ?Partial<LoggerOptions>

Options to pass to the logger.

pathPrefix

Type: ?string

The path your listener is mounted under.

secret

Type: string

Your EventSub secret.

This should be a randomly generated string, but it should be the same between restarts.

WARNING: Please do not use your application's client secret!