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/CHANGELOG.md +8 -0
- package/dist/collections.cjs +4 -0
- package/dist/collections.cjs.map +1 -1
- package/dist/collections.js +4 -0
- package/dist/collections.js.map +1 -1
- package/dist/server.js +4 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [0.25.4] - 2025-08-18
|
|
2
|
+
|
|
3
|
+
### Fixed
|
|
4
|
+
- Fixed External ID not being populated when creating broadcasts, preventing webhook updates from syncing
|
|
5
|
+
- Both `providerId` and `externalId` are now set when creating broadcasts in the provider
|
|
6
|
+
- Webhooks can now properly find and update broadcasts by External ID
|
|
7
|
+
- Ensures full bidirectional sync between Payload CMS and Broadcast software
|
|
8
|
+
|
|
1
9
|
## [0.25.3] - 2025-08-16
|
|
2
10
|
|
|
3
11
|
### Added
|
package/dist/collections.cjs
CHANGED
|
@@ -2334,6 +2334,8 @@ var createBroadcastsCollection = (pluginConfig) => {
|
|
|
2334
2334
|
id: doc.id,
|
|
2335
2335
|
data: {
|
|
2336
2336
|
providerId: providerBroadcast.id,
|
|
2337
|
+
externalId: providerBroadcast.id,
|
|
2338
|
+
// Set externalId to match providerId for webhook lookup
|
|
2337
2339
|
providerData: providerBroadcast.providerData
|
|
2338
2340
|
},
|
|
2339
2341
|
req
|
|
@@ -2342,6 +2344,8 @@ var createBroadcastsCollection = (pluginConfig) => {
|
|
|
2342
2344
|
return {
|
|
2343
2345
|
...doc,
|
|
2344
2346
|
providerId: providerBroadcast.id,
|
|
2347
|
+
externalId: providerBroadcast.id,
|
|
2348
|
+
// Include externalId in return value
|
|
2345
2349
|
providerData: providerBroadcast.providerData
|
|
2346
2350
|
};
|
|
2347
2351
|
} catch (error) {
|