@optimiser/common 1.0.369 → 1.0.370

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/lib/event.js CHANGED
@@ -119,7 +119,7 @@ var Event = /** @class */ (function () {
119
119
  }
120
120
  }
121
121
  },
122
- data: JSON.stringify(notificationDataObj) // changes done by komal, to get data attr val in notification
122
+ data: { data: JSON.stringify(notificationDataObj) } // changes done by komal, to get data attr val in notification
123
123
  };
124
124
  console.log("FCM message payload------>", message);
125
125
  console.log("notificationDataObj inside if condition------>", JSON.stringify(notificationDataObj));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optimiser/common",
3
- "version": "1.0.369",
3
+ "version": "1.0.370",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {