payload-plugin-newsletter 0.21.3 → 0.21.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## [0.21.4] - 2025-08-07
2
+
3
+ ### Fixed
4
+ - Fixed ESLint error by prefixing unused webhookId variable with underscore
5
+
1
6
  ## [0.21.3] - 2025-08-06
2
7
 
3
8
  ### Fixed
package/dist/server.js CHANGED
@@ -2740,7 +2740,7 @@ var createBroadcastWebhookEndpoint = (config) => {
2740
2740
  const headers = req.headers;
2741
2741
  const signature = headers.get("broadcast-webhook-signature");
2742
2742
  const timestamp = headers.get("broadcast-webhook-timestamp");
2743
- const webhookId = headers.get("broadcast-webhook-id");
2743
+ const _webhookId = headers.get("broadcast-webhook-id");
2744
2744
  if (!signature || !timestamp) {
2745
2745
  console.error("[Broadcast Webhook] Missing signature or timestamp headers");
2746
2746
  return Response.json({ error: "Invalid request" }, { status: 401 });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payload-plugin-newsletter",
3
- "version": "0.21.3",
3
+ "version": "0.21.4",
4
4
  "description": "Complete newsletter management plugin for Payload CMS with subscriber management, magic link authentication, and email service integration",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",