@digipair/skill-push-notification 0.43.0 → 0.43.2

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
@@ -8805,7 +8805,6 @@ var src = {
8805
8805
  sendNotification: webPush.sendNotification.bind(webPush)
8806
8806
  };
8807
8807
 
8808
- //import { PinsSettings } from '@digipair/engine';
8809
8808
  let PushNotificationService = class PushNotificationService {
8810
8809
  async sendPush(params, _pinsSettingsList, context) {
8811
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;
package/index.esm.js CHANGED
@@ -8786,7 +8786,6 @@ var src = {
8786
8786
  sendNotification: webPush.sendNotification.bind(webPush)
8787
8787
  };
8788
8788
 
8789
- //import { PinsSettings } from '@digipair/engine';
8790
8789
  let PushNotificationService = class PushNotificationService {
8791
8790
  async sendPush(params, _pinsSettingsList, context) {
8792
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-push-notification",
3
- "version": "0.43.0",
3
+ "version": "0.43.2",
4
4
  "dependencies": {},
5
5
  "main": "./index.cjs.js",
6
6
  "module": "./index.esm.js"
@@ -1,4 +1,3 @@
1
+ import { PinsSettings } from '@digipair/engine';
1
2
  import * as webPush from 'web-push';
2
- type PinsSettings = any;
3
3
  export declare const sendPush: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<webPush.SendResult | null>;
4
- export {};