@loaders.gl/i3s 4.3.0-alpha.8 → 4.3.0-beta.1

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.
@@ -1 +1 @@
1
- {"version":3,"file":"arcgis-webscene-loader.d.ts","sourceRoot":"","sources":["../src/arcgis-webscene-loader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,aAAa,EAAmB,MAAM,0BAA0B,CAAC;AAC9E,OAAO,KAAK,EAAC,kBAAkB,EAAC,mBAAgB;AAQhD,MAAM,MAAM,2BAA2B,GAAG,aAAa,GAAG,EAAE,CAAC;AAE7D;;;GAGG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;CAW4D,CAAC;AAE9F;;;GAGG;AACH,iBAAe,KAAK,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAEnE"}
1
+ {"version":3,"file":"arcgis-webscene-loader.d.ts","sourceRoot":"","sources":["../src/arcgis-webscene-loader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,aAAa,EAAmB,MAAM,0BAA0B,CAAC;AAC9E,OAAO,KAAK,EAAC,kBAAkB,EAAC,mBAAgB;AAQhD,MAAM,MAAM,2BAA2B,GAAG,aAAa,GAAG,EAAE,CAAC;AAE7D;;;GAGG;AACH,eAAO,MAAM,oBAAoB;uBACF,kBAAkB;wBAC5B,KAAK;;;;;;;;;CASmE,CAAC;AAE9F;;;GAGG;AACH,iBAAe,KAAK,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAEnE"}
@@ -1,7 +1,7 @@
1
1
  import { parseWebscene } from "./lib/parsers/parse-arcgis-webscene.js";
2
2
  // __VERSION__ is injected by babel-plugin-version-inline
3
3
  // @ts-ignore TS2304: Cannot find name '__VERSION__'.
4
- const VERSION = typeof "4.3.0-alpha.7" !== 'undefined' ? "4.3.0-alpha.7" : 'latest';
4
+ const VERSION = typeof "4.3.0-alpha.8" !== 'undefined' ? "4.3.0-alpha.8" : 'latest';
5
5
  /**
6
6
  * Loader for ArcGIS WebScene
7
7
  * Spec - https://developers.arcgis.com/web-scene-specification/objects/webscene/
package/dist/dist.dev.js CHANGED
@@ -10903,10 +10903,7 @@ var __exports__ = (() => {
10903
10903
  10
10904
10904
  ];
10905
10905
  function decodeText(buffer) {
10906
- if (typeof TextDecoder !== "undefined") {
10907
- return new TextDecoder().decode(buffer);
10908
- }
10909
- return Buffer.from(buffer).toString("utf8");
10906
+ return new TextDecoder().decode(buffer);
10910
10907
  }
10911
10908
  function read(data) {
10912
10909
  const id = new Uint8Array(data.buffer, data.byteOffset, KTX2_ID.length);