@dcl-regenesislabs/bevy-explorer-web 0.1.0-18377204006.commit-eff27b9 → 0.1.0-18403799308.commit-20d477a

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/.env CHANGED
@@ -1 +1 @@
1
- PUBLIC_URL="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-18377204006.commit-eff27b9"
1
+ PUBLIC_URL="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-18403799308.commit-20d477a"
package/index.html CHANGED
@@ -101,7 +101,7 @@
101
101
  }
102
102
  </style>
103
103
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
104
- <script>window.PUBLIC_URL = "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-18377204006.commit-eff27b9";</script>
104
+ <script>window.PUBLIC_URL = "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-18403799308.commit-20d477a";</script>
105
105
  </head>
106
106
  <body>
107
107
  <div id="header" class="container">
@@ -130,6 +130,6 @@
130
130
  </div>
131
131
  <script src="https://cdn.jsdelivr.net/npm/livekit-client/dist/livekit-client.umd.min.js"></script>
132
132
  <script src="https://cdn.jsdelivr.net/npm/hls.js@1"></script>
133
- <script type="module" src="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-18377204006.commit-eff27b9/main.js"></script>
133
+ <script type="module" src="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-18403799308.commit-20d477a/main.js"></script>
134
134
  </body>
135
135
  </html>
package/main.js CHANGED
@@ -176,8 +176,9 @@ async function initEngine() {
176
176
  window.spawn_and_init_sandbox = async () => {
177
177
  var timeoutId;
178
178
  return new Promise((resolve, _reject) => {
179
- // var sandboxWorker = new Worker(sandboxJs, { type: "module" });
180
- var sandboxWorker = new Worker("sandbox_worker.js", { type: "module" });
179
+ const basePath = window.location.pathname.replace(/\/$/, ''); // removes trailing slash if present
180
+ const sandboxWorkerPath = new URL(`${basePath}/sandbox_worker.js`, window.location.origin);
181
+ var sandboxWorker = new Worker(sandboxWorkerPath, { type: "module" });
181
182
 
182
183
  var timeoutCount = 0;
183
184
  let logTimeout = () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl-regenesislabs/bevy-explorer-web",
3
- "version": "0.1.0-18377204006.commit-eff27b9",
3
+ "version": "0.1.0-18403799308.commit-20d477a",
4
4
  "scripts": {
5
5
  "postinstall": "node ./scripts/prebuild.js"
6
6
  },
@@ -8,6 +8,6 @@
8
8
  "type": "git",
9
9
  "url": "git+https://github.com/decentraland/bevy-explorer.git"
10
10
  },
11
- "homepage": "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-18377204006.commit-eff27b9",
12
- "commit": "eff27b997d94796e20b3301416709e5b51673dc5"
11
+ "homepage": "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-18403799308.commit-20d477a",
12
+ "commit": "20d477a578aa9cfe0c8fae6219711d82d6b6f18f"
13
13
  }
Binary file