payload-plugin-newsletter 0.13.3 → 0.14.0

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/dist/types.d.cts CHANGED
@@ -548,6 +548,16 @@ interface NewsletterPluginConfig {
548
548
  * @default '/newsletter/verify'
549
549
  */
550
550
  magicLinkPath?: string;
551
+ /**
552
+ * Allow unsubscribed users to sign in
553
+ * @default false
554
+ */
555
+ allowUnsubscribedSignin?: boolean;
556
+ /**
557
+ * Allow unsubscribed users to resubscribe
558
+ * @default false
559
+ */
560
+ allowResubscribe?: boolean;
551
561
  };
552
562
  /**
553
563
  * Access control configuration
package/dist/types.d.ts CHANGED
@@ -548,6 +548,16 @@ interface NewsletterPluginConfig {
548
548
  * @default '/newsletter/verify'
549
549
  */
550
550
  magicLinkPath?: string;
551
+ /**
552
+ * Allow unsubscribed users to sign in
553
+ * @default false
554
+ */
555
+ allowUnsubscribedSignin?: boolean;
556
+ /**
557
+ * Allow unsubscribed users to resubscribe
558
+ * @default false
559
+ */
560
+ allowResubscribe?: boolean;
551
561
  };
552
562
  /**
553
563
  * Access control configuration
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payload-plugin-newsletter",
3
- "version": "0.13.3",
3
+ "version": "0.14.0",
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",