@cocreate/pwa 1.15.0 → 1.16.0

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/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ # [1.16.0](https://github.com/CoCreate-app/CoCreate-pwa/compare/v1.15.0...v1.16.0) (2023-11-19)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * init() ([6b78a70](https://github.com/CoCreate-app/CoCreate-pwa/commit/6b78a70bb02bc4349886ae1ed29400b679639e6e))
7
+
8
+
9
+ ### Features
10
+
11
+ * update dependecies for th latest features and bug fixes ([7ab7547](https://github.com/CoCreate-app/CoCreate-pwa/commit/7ab754764df6bd0e3c3cee054587d27c71e7193b))
12
+
1
13
  # [1.15.0](https://github.com/CoCreate-app/CoCreate-pwa/compare/v1.14.0...v1.15.0) (2023-11-12)
2
14
 
3
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/pwa",
3
- "version": "1.15.0",
3
+ "version": "1.16.0",
4
4
  "description": "A simple pwa component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "pwa",
@@ -59,6 +59,6 @@
59
59
  "webpack-log": "^3.0.1"
60
60
  },
61
61
  "dependencies": {
62
- "@cocreate/local-storage": "^1.10.10"
62
+ "@cocreate/local-storage": "^1.10.11"
63
63
  }
64
64
  }
package/src/index.js CHANGED
@@ -121,6 +121,8 @@ function init() {
121
121
  }
122
122
  }
123
123
 
124
+ init()
125
+
124
126
  async function persistData() {
125
127
  if (navigator.storage && navigator.storage.persist) {
126
128
  const result = await navigator.storage.persist();