@dcl-regenesislabs/bevy-explorer-web 0.1.0-24356159502.commit-918c085 → 0.1.0-24356198542.commit-5431991

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-24356159502.commit-918c085"
1
+ PUBLIC_URL="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-24356198542.commit-5431991"
package/gpu_cache.js CHANGED
@@ -162,7 +162,13 @@ function patchWebgpuAdapter(fakeAsync) {
162
162
  pipeline: new Map(),
163
163
  };
164
164
  gpuSessionState.deviceDescriptor = jsonDescriptor;
165
- const device = await originalRequestDevice.apply(this, [descriptor]);
165
+ var device = undefined;
166
+ try {
167
+ device = await originalRequestDevice.apply(this, [descriptor]);
168
+ } catch (err) {
169
+ console.warn("Failed to request a device with descriptor, requesting device with default parameters.");
170
+ device = await originalRequestDevice.apply(this, []);
171
+ }
166
172
  gpuSessionState.device = device;
167
173
  localStorage.setItem("deviceDescriptor", jsonDescriptor);
168
174
 
package/index.html CHANGED
@@ -411,7 +411,7 @@
411
411
  }
412
412
  </style>
413
413
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
414
- <script>window.PUBLIC_URL = "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-24356159502.commit-918c085";</script>
414
+ <script>window.PUBLIC_URL = "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-24356198542.commit-5431991";</script>
415
415
  </head>
416
416
  <body>
417
417
  <div id="header" class="container">
package/main.js CHANGED
@@ -82,6 +82,7 @@ initEngine()
82
82
  // Show error state
83
83
  initButton.style.display = 'block';
84
84
  initButton.textContent = "Load Failed";
85
+ initButton.disabled = true;
85
86
  });
86
87
 
87
88
  window.addEventListener("keydown", (event) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl-regenesislabs/bevy-explorer-web",
3
- "version": "0.1.0-24356159502.commit-918c085",
3
+ "version": "0.1.0-24356198542.commit-5431991",
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-24356159502.commit-918c085",
12
- "commit": "918c0857b2721ad19f4b14be861b8c3ce725fece"
11
+ "homepage": "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-24356198542.commit-5431991",
12
+ "commit": "5431991e289d366389098857a77f16164525d5a6"
13
13
  }
package/pkg/manifest.json CHANGED
@@ -1 +1 @@
1
- {"wasmSize":118284265}
1
+ {"wasmSize":118285217}
Binary file