@loaders.gl/textures 3.1.1 → 3.1.5

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.
@@ -35,9 +35,8 @@
35
35
  }
36
36
 
37
37
  // ../worker-utils/src/lib/env-utils/version.ts
38
- var DEFAULT_VERSION = "latest";
39
- var VERSION = typeof __VERSION__ !== "undefined" ? __VERSION__ : DEFAULT_VERSION;
40
- if (typeof __VERSION__ === "undefined") {
38
+ var VERSION = true ? "3.1.5" : DEFAULT_VERSION;
39
+ if (false) {
41
40
  console.error("loaders.gl: The __VERSION__ variable is not injected using babel plugin. Latest unstable workers would be fetched from the CDN.");
42
41
  }
43
42
 
@@ -288,7 +287,7 @@
288
287
  }
289
288
 
290
289
  // src/lib/utils/version.ts
291
- var VERSION3 = typeof __VERSION__ !== "undefined" ? __VERSION__ : "latest";
290
+ var VERSION3 = true ? "3.1.5" : "latest";
292
291
 
293
292
  // ../../node_modules/ktx-parse/dist/ktx-parse.modern.js
294
293
  var t = new Uint8Array([0]);
@@ -876,7 +875,7 @@
876
875
  }
877
876
 
878
877
  // src/lib/parsers/basis-module-loader.ts
879
- var VERSION4 = typeof __VERSION__ !== "undefined" ? __VERSION__ : "beta";
878
+ var VERSION4 = true ? "3.1.5" : "latest";
880
879
  var BASIS_CDN_ENCODER_WASM = `https://unpkg.com/@loaders.gl/textures@${VERSION4}/dist/libs/basis_encoder.wasm`;
881
880
  var BASIS_CDN_ENCODER_JS = `https://unpkg.com/@loaders.gl/textures@${VERSION4}/dist/libs/basis_encoder.js`;
882
881
  var loadBasisTranscoderPromise;
@@ -35,9 +35,8 @@
35
35
  }
36
36
 
37
37
  // ../worker-utils/src/lib/env-utils/version.ts
38
- var DEFAULT_VERSION = "latest";
39
- var VERSION = typeof __VERSION__ !== "undefined" ? __VERSION__ : DEFAULT_VERSION;
40
- if (typeof __VERSION__ === "undefined") {
38
+ var VERSION = true ? "3.1.5" : DEFAULT_VERSION;
39
+ if (false) {
41
40
  console.error("loaders.gl: The __VERSION__ variable is not injected using babel plugin. Latest unstable workers would be fetched from the CDN.");
42
41
  }
43
42
 
@@ -288,7 +287,7 @@
288
287
  }
289
288
 
290
289
  // src/lib/utils/version.ts
291
- var VERSION3 = typeof __VERSION__ !== "undefined" ? __VERSION__ : "latest";
290
+ var VERSION3 = true ? "3.1.5" : "latest";
292
291
 
293
292
  // src/crunch-loader.ts
294
293
  var CrunchLoader = {
@@ -321,7 +320,7 @@
321
320
  return crunchModule;
322
321
  }
323
322
  let loadCrunchDecoder = await loadLibrary("crunch.js", "textures", options);
324
- loadCrunchDecoder = loadCrunchDecoder || globalThis.loadCrunchDecoder;
323
+ loadCrunchDecoder = loadCrunchDecoder || globalThis.LoadCrunchDecoder;
325
324
  crunchModule = loadCrunchDecoder();
326
325
  return crunchModule;
327
326
  }