@cocreate/pwa 1.6.26 → 1.7.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 +27 -0
- package/CoCreate.config.js +2 -2
- package/LICENSE +683 -21
- package/demo/index.html +4 -3
- package/demo/{manifest.json → manifest.webmanifest} +87 -91
- package/demo/offline.html +1 -1
- package/demo/pages/test3.html +0 -1
- package/docs/index.html +9 -9
- package/package.json +7 -6
- package/src/cache.js +5 -5
- package/src/index.js +48 -18
- package/src/service-worker.js +197 -0
- package/webpack.config.js +80 -73
- package/demo/sw.js +0 -112
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,30 @@
|
|
|
1
|
+
# [1.7.0](https://github.com/CoCreate-app/CoCreate-pwa/compare/v1.6.27...v1.7.0) (2023-08-16)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* crud attributes renamed ([8a10139](https://github.com/CoCreate-app/CoCreate-pwa/commit/8a101397729dce29eaba6b2291abac729db33ec8))
|
|
7
|
+
* incorrect manifest link in test3.html ([a210ccf](https://github.com/CoCreate-app/CoCreate-pwa/commit/a210ccf184149cf4cc4dc5f605a6136a754217cb))
|
|
8
|
+
* link path to manifest.webmanifest in offline.html ([2209cbc](https://github.com/CoCreate-app/CoCreate-pwa/commit/2209cbc23e5a081bd14f29727f632e90b53a2ea1))
|
|
9
|
+
* manifest.json renamed to manifest.webmanifest ([778ac4e](https://github.com/CoCreate-app/CoCreate-pwa/commit/778ac4ed48ffceab6ab804616f3bb1b00eb0a6e4))
|
|
10
|
+
* replace -target -selector ([8e41cfd](https://github.com/CoCreate-app/CoCreate-pwa/commit/8e41cfd1a4bbc16bbc4c2ab9b1afb891afb7681b))
|
|
11
|
+
* service worker path to use `service-worker.js` if not provided. ([1369041](https://github.com/CoCreate-app/CoCreate-pwa/commit/1369041bb4dd80c96b10ebde6d1e50d120c320f5))
|
|
12
|
+
* webpack.config and package.json make use of mode=production instead of process.env ([1ec00c5](https://github.com/CoCreate-app/CoCreate-pwa/commit/1ec00c59224b8ba7815c5c7f525bdd1097feb5ea))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* add service-worker.js file and cache options using config or url encoded params. cache options: true, false, reload, prompt ([54bf9c9](https://github.com/CoCreate-app/CoCreate-pwa/commit/54bf9c9d92779edfe45175295c23625cdb62f011))
|
|
18
|
+
* name attribute and variable renamed to key ([7700476](https://github.com/CoCreate-app/CoCreate-pwa/commit/7700476a465e53bfaccafb1d4608c7b80cee5315))
|
|
19
|
+
* readFile function if server storage status is false to query indexeddb for file and send to server using header file-content. Server will respond with file as the body. Also server will send storage status to service-worker and update the variable for future requests. ([d03d392](https://github.com/CoCreate-app/CoCreate-pwa/commit/d03d39279d9b7a76703fec393975842b5776d266))
|
|
20
|
+
|
|
21
|
+
## [1.6.27](https://github.com/CoCreate-app/CoCreate-pwa/compare/v1.6.26...v1.6.27) (2023-06-14)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([7466892](https://github.com/CoCreate-app/CoCreate-pwa/commit/746689235af6ae5895c88a678c4433c78b071a1d))
|
|
27
|
+
|
|
1
28
|
## [1.6.26](https://github.com/CoCreate-app/CoCreate-pwa/compare/v1.6.25...v1.6.26) (2023-06-11)
|
|
2
29
|
|
|
3
30
|
|