@digipair/skill-web-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
@@ -9,7 +9,7 @@ let WebHttpNotificationService = class WebHttpNotificationService {
9
9
  return null;
10
10
  }
11
11
  try {
12
- const registration = await navigator.serviceWorker.register('/public/push-notification.worker.js');
12
+ const registration = await navigator.serviceWorker.register('/assets/push-notification.worker.js');
13
13
  return registration;
14
14
  } catch (error) {
15
15
  console.error('Error when registering the Service Worker', error);
package/index.esm.js CHANGED
@@ -5,7 +5,7 @@ let WebHttpNotificationService = class WebHttpNotificationService {
5
5
  return null;
6
6
  }
7
7
  try {
8
- const registration = await navigator.serviceWorker.register('/public/push-notification.worker.js');
8
+ const registration = await navigator.serviceWorker.register('/assets/push-notification.worker.js');
9
9
  return registration;
10
10
  } catch (error) {
11
11
  console.error('Error when registering the Service Worker', error);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-web-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"