payload-plugin-newsletter 0.25.3 → 0.25.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/dist/server.js CHANGED
@@ -4878,6 +4878,8 @@ var createBroadcastsCollection = (pluginConfig) => {
4878
4878
  id: doc.id,
4879
4879
  data: {
4880
4880
  providerId: providerBroadcast.id,
4881
+ externalId: providerBroadcast.id,
4882
+ // Set externalId to match providerId for webhook lookup
4881
4883
  providerData: providerBroadcast.providerData
4882
4884
  },
4883
4885
  req
@@ -4886,6 +4888,8 @@ var createBroadcastsCollection = (pluginConfig) => {
4886
4888
  return {
4887
4889
  ...doc,
4888
4890
  providerId: providerBroadcast.id,
4891
+ externalId: providerBroadcast.id,
4892
+ // Include externalId in return value
4889
4893
  providerData: providerBroadcast.providerData
4890
4894
  };
4891
4895
  } catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payload-plugin-newsletter",
3
- "version": "0.25.3",
3
+ "version": "0.25.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",