payload-plugin-newsletter 0.21.0 → 0.21.1

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,12 @@
1
+ ## [0.21.1] - 2025-08-06
2
+
3
+ ### Fixed
4
+ - Fixed TypeScript and ESLint errors in webhook implementation
5
+ - Removed unused import (BroadcastQueueingEvent)
6
+ - Fixed unused parameter warnings with underscore prefix
7
+ - Added block scopes to switch cases for ESLint compliance
8
+ - Fixed unused error variable in catch blocks
9
+
1
10
  ## [0.21.0] - 2025-01-31
2
11
 
3
12
  ### Added
package/dist/admin.js CHANGED
@@ -218,7 +218,7 @@ var WebhookConfiguration = () => {
218
218
  } else {
219
219
  toast.error(data.error || "Verification failed");
220
220
  }
221
- } catch (error) {
221
+ } catch {
222
222
  toast.error("Failed to verify webhook");
223
223
  } finally {
224
224
  setVerifying(false);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payload-plugin-newsletter",
3
- "version": "0.21.0",
3
+ "version": "0.21.1",
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",