mirror of
https://github.com/vercel/chat.git
synced 2026-09-14 18:32:29 +08:00
0f0c203165
* fix(slack): prefer webhookVerifier over signingSecret and SLACK_SIGNING_SECRET
When `webhookVerifier` is configured, ignore both `config.signingSecret`
and the `SLACK_SIGNING_SECRET` env var. Previously a configured
`signingSecret` (or env var) would shadow the verifier the caller wired
up, which is the opposite of the intended override behavior.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* docs(slack): update README to match new webhookVerifier precedence
Mirror the JSDoc/changeset wording: webhookVerifier wins over both
signingSecret and SLACK_SIGNING_SECRET. The previous note still claimed
signingSecret won, contradicting the behavior fixed in e77359b.
---------
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Co-authored-by: Ben Sabic <bensabic@users.noreply.github.com>
352 B
352 B
@chat-adapter/slack
| @chat-adapter/slack |
|---|
| patch |
fix(slack): prefer webhookVerifier over signingSecret and SLACK_SIGNING_SECRET
When a webhookVerifier is configured, it now takes precedence over both the
signingSecret config field and the SLACK_SIGNING_SECRET env var. Previously,
a configured signingSecret (or env var) would shadow the verifier.