podverse-parser 5.1.20-alpha.0 → 5.1.23-alpha.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.
@@ -1 +1 @@
1
- {"version":3,"file":"sharedNotificationHelpers.d.ts","sourceRoot":"","sources":["../../../src/lib/notifications/sharedNotificationHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AAC7F,OAAO,EAML,OAAO,EACP,YAAY,EAEZ,IAAI,EACL,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAA4B,mBAAmB,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAItJ,MAAM,MAAM,gBAAgB,GAAG;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,uBAAuB,CAAC;IACrC,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAOF;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,CAAC,SAAS;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,EACzF,MAAM,EAAE,CAAC,EAAE,GACV,MAAM,GAAG,IAAI,CA8Bf;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,IAAI,EAAE,aAAa,EAAE,YAAY,EAAE,GAAG,MAAM,GAAG,IAAI,CAexF;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,4BAA4B,GAAG,oBAAoB,CAW5F;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,OAAO,EAAE,gBAAgB,EAAE,GAAG,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,oBAAoB,EAAE,MAAM,EAAE,CAAC,CAAC,CAgB7H;AAED;;GAEG;AACH,wBAAsB,iBAAiB,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC,CAUjF;AAED;;GAEG;AACH,wBAAsB,6BAA6B,CACjD,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,2BAA2B,GAC5C,OAAO,CAAC;IAAE,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAAC,oBAAoB,EAAE,GAAG,CAAC,MAAM,EAAE,mBAAmB,EAAE,CAAC,CAAC;IAAC,eAAe,EAAE,GAAG,CAAC,MAAM,EAAE,cAAc,EAAE,CAAC,CAAC;IAAC,gBAAgB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,GAAG,IAAI,CAAC,CA+FlM;AAED;;GAEG;AACH,wBAAsB,qBAAqB,CACzC,iBAAiB,EAAE,oBAAoB,EAAE,EACzC,cAAc,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,oBAAoB,EAAE,MAAM,EAAE,CAAC,CAAC,EAChE,oBAAoB,EAAE,GAAG,CAAC,MAAM,EAAE,mBAAmB,EAAE,CAAC,EACxD,eAAe,EAAE,GAAG,CAAC,MAAM,EAAE,cAAc,EAAE,CAAC,GAC7C,OAAO,CAAC,IAAI,CAAC,CAqGf"}
1
+ {"version":3,"file":"sharedNotificationHelpers.d.ts","sourceRoot":"","sources":["../../../src/lib/notifications/sharedNotificationHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AAC7F,OAAO,EAML,OAAO,EACP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F;AAED;;GAEG;AACH,wBAAsB,6BAA6B,CACjD,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,2BAA2B,GAC5C,OAAO,CAAC;IAAE,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAAC,oBAAoB,EAAE,GAAG,CAAC,MAAM,EAAE,mBAAmB,EAAE,CAAC,CAAC;IAAC,eAAe,EAAE,GAAG,CAAC,MAAM,EAAE,cAAc,EAAE,CAAC,CAAC;IAAC,gBAAgB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,GAAG,IAAI,CAAC,CA+FlM;AAED;;GAEG;AACH,wBAAsB,qBAAqB,CACzC,iBAAiB,EAAE,oBAAoB,EAAE,EACzC,cAAc,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,oBAAoB,EAAE,MAAM,EAAE,CAAC,CAAC,EAChE,oBAAoB,EAAE,GAAG,CAAC,MAAM,EAAE,mBAAmB,EAAE,CAAC,EACxD,eAAe,EAAE,GAAG,CAAC,MAAM,EAAE,cAAc,EAAE,CAAC,GAC7C,OAAO,CAAC,IAAI,CAAC,CAwGf"}
@@ -208,7 +208,7 @@ function getDevicesForNotificationType(channelIdText, notificationType) {
208
208
  function sendItemNotifications(itemNotifications, groupedDevices, webPushSubscriptions, upSubscriptions) {
209
209
  return __awaiter(this, void 0, void 0, function* () {
210
210
  for (const itemNotification of itemNotifications) {
211
- const messageText = `${itemNotification.channelTitle} - ${itemNotification.itemTitle}`;
211
+ const messageText = itemNotification.itemTitle;
212
212
  // Send to FCM devices
213
213
  for (const [locale, platformMap] of groupedDevices) {
214
214
  for (const [platform, tokens] of platformMap) {
@@ -220,7 +220,8 @@ function sendItemNotifications(itemNotifications, groupedDevices, webPushSubscri
220
220
  messageType: itemNotification.messageType,
221
221
  locale,
222
222
  platform,
223
- icon: itemNotification.imageUrl || undefined,
223
+ body: itemNotification.channelTitle,
224
+ image: itemNotification.imageUrl || undefined,
224
225
  linkIdText: itemNotification.itemIdText,
225
226
  mediumId: itemNotification.mediumId,
226
227
  data: {
@@ -246,7 +247,8 @@ function sendItemNotifications(itemNotifications, groupedDevices, webPushSubscri
246
247
  messageText,
247
248
  messageType: itemNotification.messageType,
248
249
  locale,
249
- icon: itemNotification.imageUrl || undefined,
250
+ body: itemNotification.channelTitle,
251
+ image: itemNotification.imageUrl || undefined,
250
252
  linkIdText: itemNotification.itemIdText,
251
253
  mediumId: itemNotification.mediumId,
252
254
  data: {
@@ -272,7 +274,8 @@ function sendItemNotifications(itemNotifications, groupedDevices, webPushSubscri
272
274
  messageText,
273
275
  messageType: itemNotification.messageType,
274
276
  locale,
275
- icon: itemNotification.imageUrl || undefined,
277
+ body: itemNotification.channelTitle,
278
+ image: itemNotification.imageUrl || undefined,
276
279
  linkIdText: itemNotification.itemIdText,
277
280
  mediumId: itemNotification.mediumId,
278
281
  data: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "podverse-parser",
3
- "version": "5.1.20-alpha.0",
3
+ "version": "5.1.23-alpha.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -17,10 +17,10 @@
17
17
  "license": "AGPLv3",
18
18
  "dependencies": {
19
19
  "module-alias": "^2.2.3",
20
- "podverse-external-services": "^5.1.20-alpha.0",
21
- "podverse-helpers": "^5.1.20-alpha.0",
22
- "podverse-notifications": "^5.1.20-alpha.0",
23
- "podverse-orm": "^5.1.20-alpha.0",
20
+ "podverse-external-services": "^5.1.23-alpha.0",
21
+ "podverse-helpers": "^5.1.23-alpha.0",
22
+ "podverse-notifications": "^5.1.23-alpha.0",
23
+ "podverse-orm": "^5.1.23-alpha.0",
24
24
  "podverse-partytime": "^5.0.0"
25
25
  },
26
26
  "devDependencies": {