playov2-js-utilities 0.3.27 → 0.3.29

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.
@@ -231,10 +231,10 @@ const host_booked_venue = {
231
231
  };
232
232
 
233
233
  const dm_request = {
234
- heading: 'Message request',
235
- text: 'You have a new message request from ${{user_name}}. Tap to reply',
234
+ heading: 'New message request 💭',
235
+ text: '${{user_name}} has messaged you on Playo. Tap to see.',
236
236
  buttons: [],
237
- notificationId: ''
237
+ notificationId: notificationIds.MESSAGE_REQUEST
238
238
  }
239
239
 
240
240
  module.exports = {
@@ -8,7 +8,7 @@ const notificationCategories = {
8
8
  SPLIT_PAYMENTS: 'split_payments',
9
9
  OFFERS: 'offers',
10
10
  PLAYPAL_ACTIVITY: 'playpal-activity', // activity_suggestion_from_playpals
11
- MESSAGE: 'message'
11
+ MESSAGE: 'playomessages'
12
12
  };
13
13
 
14
14
  // Android notification channels will be bound to categories
@@ -451,8 +451,8 @@ const config = {
451
451
  },
452
452
  [notificationIds.MESSAGE_REQUEST]: {
453
453
  category: notificationCategories.MESSAGE,
454
- target: "message",
455
- title: "Message request",
454
+ target: "playomessages",
455
+ title: "New message request 💭",
456
456
  type: ["push", "drawer"],
457
457
  buttons: [],
458
458
  android_channel_id: ''
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "playov2-js-utilities",
3
- "version": "0.3.27",
3
+ "version": "0.3.29",
4
4
  "description": "Private package for JS utility functions",
5
5
  "main": "index.js",
6
6
  "scripts": {