@toppr-engg/ask-tutor 1.2.1 → 1.2.2-alpha.10

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/lib/index.html CHANGED
@@ -1 +1,12 @@
1
- <!doctype html><html><head><meta content="initial-scale=1,width=device-width" name="viewport"/><title>Production</title><meta name="viewport" content="width=device-width,initial-scale=1"/><script src="https://cdnjs.cloudflare.com/ajax/libs/redux/4.2.0/redux.min.js"></script><script defer="defer" src="ask-tutor.umd.js"></script></head><body style="margin: 0"><div><div id="app"></div></div></body></html>
1
+ <!doctype html><html><head><meta content="initial-scale=1,width=device-width" name="viewport"/><title>Production</title><meta name="viewport" content="width=device-width,initial-scale=1"/><script src="https://cdnjs.cloudflare.com/ajax/libs/redux/4.2.0/redux.min.js"></script><link crossorigin="use-credentials" id="manifest-link" rel="manifest" href="%PUBLIC_URL%/manifest.json"/><script>if ('serviceWorker' in navigator) {
2
+ console.log('Will the service worker register?')
3
+ navigator.serviceWorker
4
+ .register('%PUBLIC_URL%/service-worker.js')
5
+ .then(function (reg) {
6
+ console.log(reg)
7
+ console.log('Yes, it did.')
8
+ })
9
+ .catch(function (err) {
10
+ console.log("No it didn't. This happened:", err)
11
+ })
12
+ }</script><script defer="defer" src="ask-tutor.umd.js"></script></head><body style="margin: 0"><div><div id="app"></div></div></body></html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toppr-engg/ask-tutor",
3
- "version": "1.2.1",
3
+ "version": "1.2.2-alpha.10",
4
4
  "description": "A React JS implementation of Ask Expert via videos",
5
5
  "author": "Toppr Engineers",
6
6
  "homepage": "https://github.com/toppr/toppr-web#readme",
@@ -55,5 +55,5 @@
55
55
  "bugs": {
56
56
  "url": "https://github.com/toppr/toppr-web/issues"
57
57
  },
58
- "gitHead": "8cda264a6295ad9901afa76fcb4aa724bc8b82cc"
58
+ "gitHead": "e89b1231a48dfb9181894cad5458bd32b3c2d298"
59
59
  }