surflion-service 1.2.5 → 1.2.6

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/surflion.js +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "surflion-service",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "description": "",
5
5
  "main": "surflion.js",
6
6
  "scripts": {
package/surflion.js CHANGED
@@ -1738,6 +1738,7 @@ var SurfLion = {
1738
1738
  },
1739
1739
  initSharework: function(address) {
1740
1740
  let useAddress = address ? address : new URL('./shareWork.js',import.meta.url)
1741
+ console.log("new URL('./shareWork.js',import.meta.url)", new URL('./shareWork.js',import.meta.url))
1741
1742
  SurfLion.worker = new SharedWorker(useAddress);
1742
1743
  document.addEventListener("visibilitychange", () => SurfLion.visibilityListen(useAddress));
1743
1744
  SurfLion.worker.port.addEventListener("message", (event) => {