Skip to main content
The SDK reads the following environment variables at runtime. None are required at import time; they are checked when the relevant feature is used.

Authentication

Logging

By default the SDK is silent. Set one of these to enable internal logs (prefixed [waniwani:*]): If both are set, WANIWANI_LOG_LEVEL takes precedence.
.env
The chat server adapters (toNextJsHandler, toExpressJsHandler) also accept a debug option that overrides the env var for that handler only.

Encryption