swpp-backends 2.3.10 → 2.3.11

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.
@@ -25,7 +25,7 @@ function buildDomJs() {
25
25
  template = template.replaceAll(key, `const onSuccess = ${config.onsuccess.toString()};`);
26
26
  }
27
27
  else {
28
- template = template.replaceAll(key, '');
28
+ template = template.replaceAll(key, 'const onSuccess = () => {}');
29
29
  }
30
30
  return template;
31
31
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swpp-backends",
3
- "version": "2.3.10",
3
+ "version": "2.3.11",
4
4
  "main": "dist/index.js",
5
5
  "typings": "types/index.d.ts",
6
6
  "description": "Generate a powerful ServiceWorker for your website.",