@digipair/skill-push-notification 0.43.2 → 0.43.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/index.cjs.js CHANGED
@@ -8807,7 +8807,7 @@ var src = {
8807
8807
 
8808
8808
  let PushNotificationService = class PushNotificationService {
8809
8809
  async sendPush(params, _pinsSettingsList, context) {
8810
- const { payload, subscription, mailto = context.privates.PUSH_NOTIFICATION_MAILTO, privateKey = context.variables.PUSH_NOTIFICATION_PUBLIC_KEY || context.privates.PUSH_NOTIFICATION_PUBLIC_KEY, publicKey = context.privates.PUSH_NOTIFICATION_PRIVATE_KEY } = params;
8810
+ const { payload, subscription, mailto = context.privates.PUSH_NOTIFICATION_MAILTO, publicKey = context.variables.PUSH_NOTIFICATION_PUBLIC_KEY || context.privates.PUSH_NOTIFICATION_PUBLIC_KEY, privateKey = context.privates.PUSH_NOTIFICATION_PRIVATE_KEY } = params;
8811
8811
  src.setVapidDetails(`mailto:${mailto}`, publicKey, privateKey);
8812
8812
  try {
8813
8813
  const response = await src.sendNotification(subscription, payload);
package/index.esm.js CHANGED
@@ -8788,7 +8788,7 @@ var src = {
8788
8788
 
8789
8789
  let PushNotificationService = class PushNotificationService {
8790
8790
  async sendPush(params, _pinsSettingsList, context) {
8791
- const { payload, subscription, mailto = context.privates.PUSH_NOTIFICATION_MAILTO, privateKey = context.variables.PUSH_NOTIFICATION_PUBLIC_KEY || context.privates.PUSH_NOTIFICATION_PUBLIC_KEY, publicKey = context.privates.PUSH_NOTIFICATION_PRIVATE_KEY } = params;
8791
+ const { payload, subscription, mailto = context.privates.PUSH_NOTIFICATION_MAILTO, publicKey = context.variables.PUSH_NOTIFICATION_PUBLIC_KEY || context.privates.PUSH_NOTIFICATION_PUBLIC_KEY, privateKey = context.privates.PUSH_NOTIFICATION_PRIVATE_KEY } = params;
8792
8792
  src.setVapidDetails(`mailto:${mailto}`, publicKey, privateKey);
8793
8793
  try {
8794
8794
  const response = await src.sendNotification(subscription, payload);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-push-notification",
3
- "version": "0.43.2",
3
+ "version": "0.43.4",
4
4
  "dependencies": {},
5
5
  "main": "./index.cjs.js",
6
6
  "module": "./index.esm.js"