@loaders.gl/i3s 3.1.0 → 3.1.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.
package/dist/bundle.js CHANGED
@@ -1,5 +1,10 @@
1
1
  (() => {
2
+ var __create = Object.create;
2
3
  var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
3
8
  var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
4
9
  var __esm = (fn, res) => function __init() {
5
10
  return fn && (res = (0, fn[Object.keys(fn)[0]])(fn = 0)), res;
@@ -12,6 +17,17 @@
12
17
  for (var name in all)
13
18
  __defProp(target, name, { get: all[name], enumerable: true });
14
19
  };
20
+ var __reExport = (target, module2, desc) => {
21
+ if (module2 && typeof module2 === "object" || typeof module2 === "function") {
22
+ for (let key of __getOwnPropNames(module2))
23
+ if (!__hasOwnProp.call(target, key) && key !== "default")
24
+ __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
25
+ }
26
+ return target;
27
+ };
28
+ var __toModule = (module2) => {
29
+ return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
30
+ };
15
31
 
16
32
  // ../loader-utils/src/lib/env-utils/assert.ts
17
33
  function assert(condition, message) {
@@ -48,7 +64,7 @@
48
64
  var DEFAULT_VERSION, VERSION;
49
65
  var init_version = __esm({
50
66
  "../worker-utils/src/lib/env-utils/version.ts"() {
51
- DEFAULT_VERSION = "beta";
67
+ DEFAULT_VERSION = "latest";
52
68
  VERSION = typeof __VERSION__ !== "undefined" ? __VERSION__ : DEFAULT_VERSION;
53
69
  if (typeof __VERSION__ === "undefined") {
54
70
  console.error("loaders.gl: The __VERSION__ variable is not injected using babel plugin. Latest unstable workers would be fetched from the CDN.");
@@ -484,7 +500,7 @@
484
500
  var init_get_worker_url = __esm({
485
501
  "../worker-utils/src/lib/worker-api/get-worker-url.ts"() {
486
502
  init_assert2();
487
- NPM_TAG = "beta";
503
+ NPM_TAG = "latest";
488
504
  }
489
505
  });
490
506
 
@@ -505,7 +521,7 @@
505
521
  });
506
522
 
507
523
  // (disabled):../worker-utils/src/lib/node/require-utils.node
508
- var init_require_utils = __esm({
524
+ var require_require_utils = __commonJS({
509
525
  "(disabled):../worker-utils/src/lib/node/require-utils.node"() {
510
526
  }
511
527
  });
@@ -544,7 +560,11 @@
544
560
  return await response2.arrayBuffer();
545
561
  }
546
562
  if (!isBrowser2) {
547
- return node.requireFromFile && await node.requireFromFile(libraryUrl);
563
+ try {
564
+ return node && node.requireFromFile && await node.requireFromFile(libraryUrl);
565
+ } catch {
566
+ return null;
567
+ }
548
568
  }
549
569
  if (isWorker) {
550
570
  return importScripts(libraryUrl);
@@ -571,14 +591,14 @@
571
591
  document.body.appendChild(script);
572
592
  return null;
573
593
  }
574
- var LATEST, VERSION2, loadLibraryPromises;
594
+ var node, LATEST, VERSION2, loadLibraryPromises;
575
595
  var init_library_utils = __esm({
576
596
  "../worker-utils/src/lib/library-utils/library-utils.ts"() {
577
597
  init_globals2();
578
- init_require_utils();
598
+ node = __toModule(require_require_utils());
579
599
  init_assert2();
580
600
  init_version();
581
- LATEST = "beta";
601
+ LATEST = "latest";
582
602
  VERSION2 = typeof VERSION !== "undefined" ? VERSION : LATEST;
583
603
  loadLibraryPromises = {};
584
604
  }
@@ -729,35 +749,6 @@
729
749
  }
730
750
  });
731
751
 
732
- // ../../node_modules/@probe.gl/stats/dist/esm/utils/hi-res-timestamp.js
733
- var init_hi_res_timestamp = __esm({
734
- "../../node_modules/@probe.gl/stats/dist/esm/utils/hi-res-timestamp.js"() {
735
- }
736
- });
737
-
738
- // ../../node_modules/@probe.gl/stats/dist/esm/lib/stat.js
739
- var init_stat = __esm({
740
- "../../node_modules/@probe.gl/stats/dist/esm/lib/stat.js"() {
741
- init_hi_res_timestamp();
742
- }
743
- });
744
-
745
- // ../../node_modules/@probe.gl/stats/dist/esm/lib/stats.js
746
- var init_stats = __esm({
747
- "../../node_modules/@probe.gl/stats/dist/esm/lib/stats.js"() {
748
- init_stat();
749
- }
750
- });
751
-
752
- // ../../node_modules/@probe.gl/stats/dist/esm/index.js
753
- var init_esm = __esm({
754
- "../../node_modules/@probe.gl/stats/dist/esm/index.js"() {
755
- init_stats();
756
- init_stat();
757
- init_hi_res_timestamp();
758
- }
759
- });
760
-
761
752
  // ../loader-utils/src/lib/path-utils/file-aliases.ts
762
753
  function resolvePath(filename2) {
763
754
  for (const alias in fileAliases) {
@@ -1239,7 +1230,7 @@
1239
1230
  });
1240
1231
 
1241
1232
  // ../../node_modules/probe.gl/dist/esm/utils/hi-res-timestamp.js
1242
- function getHiResTimestamp2() {
1233
+ function getHiResTimestamp() {
1243
1234
  let timestamp;
1244
1235
  if (isBrowser4 && window_3.performance) {
1245
1236
  timestamp = window_3.performance.now();
@@ -1251,7 +1242,7 @@
1251
1242
  }
1252
1243
  return timestamp;
1253
1244
  }
1254
- var init_hi_res_timestamp2 = __esm({
1245
+ var init_hi_res_timestamp = __esm({
1255
1246
  "../../node_modules/probe.gl/dist/esm/utils/hi-res-timestamp.js"() {
1256
1247
  init_globals4();
1257
1248
  }
@@ -1378,7 +1369,7 @@
1378
1369
  init_color();
1379
1370
  init_autobind();
1380
1371
  init_assert3();
1381
- init_hi_res_timestamp2();
1372
+ init_hi_res_timestamp();
1382
1373
  originalConsole = {
1383
1374
  debug: isBrowser4 ? console.debug || console.log : console.log,
1384
1375
  log: console.log,
@@ -1402,8 +1393,8 @@
1402
1393
  }) {
1403
1394
  this.id = id;
1404
1395
  this.VERSION = VERSION3;
1405
- this._startTs = getHiResTimestamp2();
1406
- this._deltaTs = getHiResTimestamp2();
1396
+ this._startTs = getHiResTimestamp();
1397
+ this._deltaTs = getHiResTimestamp();
1407
1398
  this.LOG_THROTTLE_TIMEOUT = 0;
1408
1399
  this._storage = new LocalStorage("__probe-".concat(this.id, "__"), DEFAULT_SETTINGS);
1409
1400
  this.userData = {};
@@ -1424,10 +1415,10 @@
1424
1415
  return this._storage.config.level;
1425
1416
  }
1426
1417
  getTotal() {
1427
- return Number((getHiResTimestamp2() - this._startTs).toPrecision(10));
1418
+ return Number((getHiResTimestamp() - this._startTs).toPrecision(10));
1428
1419
  }
1429
1420
  getDelta() {
1430
- return Number((getHiResTimestamp2() - this._deltaTs).toPrecision(10));
1421
+ return Number((getHiResTimestamp() - this._deltaTs).toPrecision(10));
1431
1422
  }
1432
1423
  set priority(newPriority) {
1433
1424
  this.level = newPriority;
@@ -1582,11 +1573,11 @@
1582
1573
  assert3(method);
1583
1574
  opts.total = this.getTotal();
1584
1575
  opts.delta = this.getDelta();
1585
- this._deltaTs = getHiResTimestamp2();
1576
+ this._deltaTs = getHiResTimestamp();
1586
1577
  const tag = opts.tag || opts.message;
1587
1578
  if (opts.once) {
1588
1579
  if (!cache[tag]) {
1589
- cache[tag] = getHiResTimestamp2();
1580
+ cache[tag] = getHiResTimestamp();
1590
1581
  } else {
1591
1582
  return noop;
1592
1583
  }
@@ -1601,6 +1592,35 @@
1601
1592
  }
1602
1593
  });
1603
1594
 
1595
+ // ../../node_modules/@probe.gl/stats/dist/esm/utils/hi-res-timestamp.js
1596
+ var init_hi_res_timestamp2 = __esm({
1597
+ "../../node_modules/@probe.gl/stats/dist/esm/utils/hi-res-timestamp.js"() {
1598
+ }
1599
+ });
1600
+
1601
+ // ../../node_modules/@probe.gl/stats/dist/esm/lib/stat.js
1602
+ var init_stat = __esm({
1603
+ "../../node_modules/@probe.gl/stats/dist/esm/lib/stat.js"() {
1604
+ init_hi_res_timestamp2();
1605
+ }
1606
+ });
1607
+
1608
+ // ../../node_modules/@probe.gl/stats/dist/esm/lib/stats.js
1609
+ var init_stats = __esm({
1610
+ "../../node_modules/@probe.gl/stats/dist/esm/lib/stats.js"() {
1611
+ init_stat();
1612
+ }
1613
+ });
1614
+
1615
+ // ../../node_modules/@probe.gl/stats/dist/esm/index.js
1616
+ var init_esm = __esm({
1617
+ "../../node_modules/@probe.gl/stats/dist/esm/index.js"() {
1618
+ init_stats();
1619
+ init_stat();
1620
+ init_hi_res_timestamp2();
1621
+ }
1622
+ });
1623
+
1604
1624
  // ../../node_modules/probe.gl/dist/esm/index.js
1605
1625
  var esm_default;
1606
1626
  var init_esm2 = __esm({
@@ -7040,7 +7060,7 @@
7040
7060
  var VERSION6;
7041
7061
  var init_version4 = __esm({
7042
7062
  "../textures/src/lib/utils/version.ts"() {
7043
- VERSION6 = typeof __VERSION__ !== "undefined" ? __VERSION__ : "beta";
7063
+ VERSION6 = typeof __VERSION__ !== "undefined" ? __VERSION__ : "latest";
7044
7064
  }
7045
7065
  });
7046
7066
 
@@ -9196,7 +9216,7 @@
9196
9216
  var init_i3s_content_loader = __esm({
9197
9217
  "src/i3s-content-loader.ts"() {
9198
9218
  init_parse_i3s_tile_content();
9199
- VERSION8 = typeof __VERSION__ !== "undefined" ? __VERSION__ : "beta";
9219
+ VERSION8 = typeof __VERSION__ !== "undefined" ? __VERSION__ : "latest";
9200
9220
  I3SContentLoader = {
9201
9221
  name: "I3S Content (Indexed Scene Layers)",
9202
9222
  id: "i3s-content",
@@ -10305,7 +10325,7 @@
10305
10325
  var init_i3s_building_scene_layer_loader = __esm({
10306
10326
  "src/i3s-building-scene-layer-loader.ts"() {
10307
10327
  init_parse_i3s_building_scene_layer();
10308
- VERSION12 = typeof __VERSION__ !== "undefined" ? __VERSION__ : "beta";
10328
+ VERSION12 = typeof __VERSION__ !== "undefined" ? __VERSION__ : "latest";
10309
10329
  I3SBuildingSceneLayerLoader = {
10310
10330
  name: "I3S Building Scene Layer",
10311
10331
  id: "i3s-building-scene-layer",
@@ -24,7 +24,7 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
24
24
 
25
25
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
26
26
 
27
- var VERSION = typeof "3.1.0" !== 'undefined' ? "3.1.0" : 'latest';
27
+ var VERSION = typeof "3.1.1" !== 'undefined' ? "3.1.1" : 'latest';
28
28
  var EMPTY_VALUE = '';
29
29
  var REJECTED_STATUS = 'rejected';
30
30
  var I3SAttributeLoader = {
@@ -13,7 +13,7 @@ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/
13
13
 
14
14
  var _parseI3sBuildingSceneLayer = require("./lib/parsers/parse-i3s-building-scene-layer");
15
15
 
16
- var VERSION = typeof "3.1.0" !== 'undefined' ? "3.1.0" : 'beta';
16
+ var VERSION = typeof "3.1.1" !== 'undefined' ? "3.1.1" : 'latest';
17
17
  var I3SBuildingSceneLayerLoader = {
18
18
  name: 'I3S Building Scene Layer',
19
19
  id: 'i3s-building-scene-layer',
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/i3s-building-scene-layer-loader.ts"],"names":["VERSION","I3SBuildingSceneLayerLoader","name","id","module","version","mimeTypes","parse","extensions","options","data","context","url","Error"],"mappings":";;;;;;;;;;;;;AAGA;;AAKA,IAAMA,OAAO,GAAG,mBAAuB,WAAvB,aAAmD,MAAnE;AAIO,IAAMC,2BAA6C,GAAG;AAC3DC,EAAAA,IAAI,EAAE,0BADqD;AAE3DC,EAAAA,EAAE,EAAE,0BAFuD;AAG3DC,EAAAA,MAAM,EAAE,KAHmD;AAI3DC,EAAAA,OAAO,EAAEL,OAJkD;AAK3DM,EAAAA,SAAS,EAAE,CAAC,kBAAD,CALgD;AAM3DC,EAAAA,KAAK,EAALA,KAN2D;AAO3DC,EAAAA,UAAU,EAAE,CAAC,MAAD,CAP+C;AAQ3DC,EAAAA,OAAO,EAAE;AARkD,CAAtD;;;SAWQF,K;;;;;qEAAf,iBACEG,IADF,EAEED,OAFF,EAGEE,OAHF;AAAA;AAAA;AAAA;AAAA;AAAA,gBAKOA,OALP,aAKOA,OALP,eAKOA,OAAO,CAAEC,GALhB;AAAA;AAAA;AAAA;;AAAA,kBAMU,IAAIC,KAAJ,CAAU,qBAAV,CANV;;AAAA;AAAA,6CASS,yDAAwBH,IAAxB,EAA8BC,OAAO,CAACC,GAAtC,CATT;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,G","sourcesContent":["import type {LoaderWithParser, LoaderOptions, LoaderContext} from '@loaders.gl/loader-utils';\nimport type {BuildingSceneLayerTileset} from './types';\n\nimport {parseBuildingSceneLayer} from './lib/parsers/parse-i3s-building-scene-layer';\n\n// __VERSION__ is injected by babel-plugin-version-inline\n// @ts-ignore TS2304: Cannot find name '__VERSION__'.\n\nconst VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'beta';\n/**\n * Loader for I3S - Building Scene Layer\n */\nexport const I3SBuildingSceneLayerLoader: LoaderWithParser = {\n name: 'I3S Building Scene Layer',\n id: 'i3s-building-scene-layer',\n module: 'i3s',\n version: VERSION,\n mimeTypes: ['application/json'],\n parse,\n extensions: ['json'],\n options: {}\n};\n\nasync function parse(\n data: ArrayBuffer,\n options?: LoaderOptions,\n context?: LoaderContext\n): Promise<BuildingSceneLayerTileset> {\n if (!context?.url) {\n throw new Error('Url is not provided');\n }\n\n return parseBuildingSceneLayer(data, context.url);\n}\n"],"file":"i3s-building-scene-layer-loader.js"}
1
+ {"version":3,"sources":["../../src/i3s-building-scene-layer-loader.ts"],"names":["VERSION","I3SBuildingSceneLayerLoader","name","id","module","version","mimeTypes","parse","extensions","options","data","context","url","Error"],"mappings":";;;;;;;;;;;;;AAGA;;AAKA,IAAMA,OAAO,GAAG,mBAAuB,WAAvB,aAAmD,QAAnE;AAIO,IAAMC,2BAA6C,GAAG;AAC3DC,EAAAA,IAAI,EAAE,0BADqD;AAE3DC,EAAAA,EAAE,EAAE,0BAFuD;AAG3DC,EAAAA,MAAM,EAAE,KAHmD;AAI3DC,EAAAA,OAAO,EAAEL,OAJkD;AAK3DM,EAAAA,SAAS,EAAE,CAAC,kBAAD,CALgD;AAM3DC,EAAAA,KAAK,EAALA,KAN2D;AAO3DC,EAAAA,UAAU,EAAE,CAAC,MAAD,CAP+C;AAQ3DC,EAAAA,OAAO,EAAE;AARkD,CAAtD;;;SAWQF,K;;;;;qEAAf,iBACEG,IADF,EAEED,OAFF,EAGEE,OAHF;AAAA;AAAA;AAAA;AAAA;AAAA,gBAKOA,OALP,aAKOA,OALP,eAKOA,OAAO,CAAEC,GALhB;AAAA;AAAA;AAAA;;AAAA,kBAMU,IAAIC,KAAJ,CAAU,qBAAV,CANV;;AAAA;AAAA,6CASS,yDAAwBH,IAAxB,EAA8BC,OAAO,CAACC,GAAtC,CATT;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,G","sourcesContent":["import type {LoaderWithParser, LoaderOptions, LoaderContext} from '@loaders.gl/loader-utils';\nimport type {BuildingSceneLayerTileset} from './types';\n\nimport {parseBuildingSceneLayer} from './lib/parsers/parse-i3s-building-scene-layer';\n\n// __VERSION__ is injected by babel-plugin-version-inline\n// @ts-ignore TS2304: Cannot find name '__VERSION__'.\n\nconst VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'latest';\n/**\n * Loader for I3S - Building Scene Layer\n */\nexport const I3SBuildingSceneLayerLoader: LoaderWithParser = {\n name: 'I3S Building Scene Layer',\n id: 'i3s-building-scene-layer',\n module: 'i3s',\n version: VERSION,\n mimeTypes: ['application/json'],\n parse,\n extensions: ['json'],\n options: {}\n};\n\nasync function parse(\n data: ArrayBuffer,\n options?: LoaderOptions,\n context?: LoaderContext\n): Promise<BuildingSceneLayerTileset> {\n if (!context?.url) {\n throw new Error('Url is not provided');\n }\n\n return parseBuildingSceneLayer(data, context.url);\n}\n"],"file":"i3s-building-scene-layer-loader.js"}
@@ -13,7 +13,7 @@ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/
13
13
 
14
14
  var _parseI3sTileContent = require("./lib/parsers/parse-i3s-tile-content");
15
15
 
16
- var VERSION = typeof "3.1.0" !== 'undefined' ? "3.1.0" : 'beta';
16
+ var VERSION = typeof "3.1.1" !== 'undefined' ? "3.1.1" : 'latest';
17
17
  var I3SContentLoader = {
18
18
  name: 'I3S Content (Indexed Scene Layers)',
19
19
  id: 'i3s-content',
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/i3s-content-loader.ts"],"names":["VERSION","I3SContentLoader","name","id","module","worker","version","mimeTypes","parse","extensions","options","data","context","i3s","tile","tileset","content"],"mappings":";;;;;;;;;;;;;AACA;;AAKA,IAAMA,OAAO,GAAG,mBAAuB,WAAvB,aAAmD,MAAnE;AAIO,IAAMC,gBAAkC,GAAG;AAChDC,EAAAA,IAAI,EAAE,oCAD0C;AAEhDC,EAAAA,EAAE,EAAE,aAF4C;AAGhDC,EAAAA,MAAM,EAAE,KAHwC;AAIhDC,EAAAA,MAAM,EAAE,IAJwC;AAKhDC,EAAAA,OAAO,EAAEN,OALuC;AAMhDO,EAAAA,SAAS,EAAE,CAAC,0BAAD,CANqC;AAOhDC,EAAAA,KAAK,EAALA,KAPgD;AAQhDC,EAAAA,UAAU,EAAE,CAAC,KAAD,CARoC;AAShDC,EAAAA,OAAO,EAAE;AACP,mBAAe;AADR;AATuC,CAA3C;;;SAcQF,K;;;;;qEAAf,iBAAqBG,IAArB,EAA2BD,OAA3B,EAAoDE,OAApD;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA,mBAC0B,CAAAF,OAAO,SAAP,IAAAA,OAAO,WAAP,YAAAA,OAAO,CAAEG,GAAT,KAAgB,EAD1C,EACSC,IADT,QACSA,IADT,EACeC,OADf,QACeA,OADf;AAAA;AAAA,mBAEQ,8CAAoBJ,IAApB,EAA0BG,IAA1B,EAAgCC,OAAhC,EAAyCL,OAAzC,EAAkDE,OAAlD,CAFR;;AAAA;AAAA,6CAGSE,IAAI,CAACE,OAHd;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,G","sourcesContent":["import type {LoaderWithParser, LoaderOptions, LoaderContext} from '@loaders.gl/loader-utils';\nimport {parseI3STileContent} from './lib/parsers/parse-i3s-tile-content';\n\n// __VERSION__ is injected by babel-plugin-version-inline\n// @ts-ignore TS2304: Cannot find name '__VERSION__'.\n\nconst VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'beta';\n/**\n * Loader for I3S - Indexed 3D Scene Layer\n */\nexport const I3SContentLoader: LoaderWithParser = {\n name: 'I3S Content (Indexed Scene Layers)',\n id: 'i3s-content',\n module: 'i3s',\n worker: true,\n version: VERSION,\n mimeTypes: ['application/octet-stream'],\n parse,\n extensions: ['bin'],\n options: {\n 'i3s-content': {}\n }\n};\n\nasync function parse(data, options?: LoaderOptions, context?: LoaderContext) {\n const {tile, tileset} = options?.i3s || {};\n await parseI3STileContent(data, tile, tileset, options, context);\n return tile.content;\n}\n"],"file":"i3s-content-loader.js"}
1
+ {"version":3,"sources":["../../src/i3s-content-loader.ts"],"names":["VERSION","I3SContentLoader","name","id","module","worker","version","mimeTypes","parse","extensions","options","data","context","i3s","tile","tileset","content"],"mappings":";;;;;;;;;;;;;AACA;;AAKA,IAAMA,OAAO,GAAG,mBAAuB,WAAvB,aAAmD,QAAnE;AAIO,IAAMC,gBAAkC,GAAG;AAChDC,EAAAA,IAAI,EAAE,oCAD0C;AAEhDC,EAAAA,EAAE,EAAE,aAF4C;AAGhDC,EAAAA,MAAM,EAAE,KAHwC;AAIhDC,EAAAA,MAAM,EAAE,IAJwC;AAKhDC,EAAAA,OAAO,EAAEN,OALuC;AAMhDO,EAAAA,SAAS,EAAE,CAAC,0BAAD,CANqC;AAOhDC,EAAAA,KAAK,EAALA,KAPgD;AAQhDC,EAAAA,UAAU,EAAE,CAAC,KAAD,CARoC;AAShDC,EAAAA,OAAO,EAAE;AACP,mBAAe;AADR;AATuC,CAA3C;;;SAcQF,K;;;;;qEAAf,iBAAqBG,IAArB,EAA2BD,OAA3B,EAAoDE,OAApD;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA,mBAC0B,CAAAF,OAAO,SAAP,IAAAA,OAAO,WAAP,YAAAA,OAAO,CAAEG,GAAT,KAAgB,EAD1C,EACSC,IADT,QACSA,IADT,EACeC,OADf,QACeA,OADf;AAAA;AAAA,mBAEQ,8CAAoBJ,IAApB,EAA0BG,IAA1B,EAAgCC,OAAhC,EAAyCL,OAAzC,EAAkDE,OAAlD,CAFR;;AAAA;AAAA,6CAGSE,IAAI,CAACE,OAHd;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,G","sourcesContent":["import type {LoaderWithParser, LoaderOptions, LoaderContext} from '@loaders.gl/loader-utils';\nimport {parseI3STileContent} from './lib/parsers/parse-i3s-tile-content';\n\n// __VERSION__ is injected by babel-plugin-version-inline\n// @ts-ignore TS2304: Cannot find name '__VERSION__'.\n\nconst VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'latest';\n/**\n * Loader for I3S - Indexed 3D Scene Layer\n */\nexport const I3SContentLoader: LoaderWithParser = {\n name: 'I3S Content (Indexed Scene Layers)',\n id: 'i3s-content',\n module: 'i3s',\n worker: true,\n version: VERSION,\n mimeTypes: ['application/octet-stream'],\n parse,\n extensions: ['bin'],\n options: {\n 'i3s-content': {}\n }\n};\n\nasync function parse(data, options?: LoaderOptions, context?: LoaderContext) {\n const {tile, tileset} = options?.i3s || {};\n await parseI3STileContent(data, tile, tileset, options, context);\n return tile.content;\n}\n"],"file":"i3s-content-loader.js"}
@@ -21,7 +21,7 @@ var _parseI3s = require("./lib/parsers/parse-i3s");
21
21
 
22
22
  var _constants = require("./lib/parsers/constants");
23
23
 
24
- var VERSION = typeof "3.1.0" !== 'undefined' ? "3.1.0" : 'latest';
24
+ var VERSION = typeof "3.1.1" !== 'undefined' ? "3.1.1" : 'latest';
25
25
  var TILESET_REGEX = /layers\/[0-9]+$/;
26
26
  var TILE_HEADER_REGEX = /nodes\/([0-9-]+|root)$/;
27
27
  var SLPK_HEX = '504b0304';
@@ -11,7 +11,7 @@ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"))
11
11
 
12
12
  var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
13
13
 
14
- var VERSION = typeof "3.1.0" !== 'undefined' ? "3.1.0" : 'latest';
14
+ var VERSION = typeof "3.1.1" !== 'undefined' ? "3.1.1" : 'latest';
15
15
 
16
16
  function parseNodePage(_x) {
17
17
  return _parseNodePage.apply(this, arguments);
@@ -1,7 +1,7 @@
1
1
  import { load } from '@loaders.gl/core';
2
2
  import { parseI3STileAttribute } from './lib/parsers/parse-i3s-attribute';
3
3
  import { getUrlWithToken } from './lib/utils/url-utils';
4
- const VERSION = typeof "3.1.0" !== 'undefined' ? "3.1.0" : 'latest';
4
+ const VERSION = typeof "3.1.1" !== 'undefined' ? "3.1.1" : 'latest';
5
5
  const EMPTY_VALUE = '';
6
6
  const REJECTED_STATUS = 'rejected';
7
7
  export const I3SAttributeLoader = {
@@ -1,5 +1,5 @@
1
1
  import { parseBuildingSceneLayer } from './lib/parsers/parse-i3s-building-scene-layer';
2
- const VERSION = typeof "3.1.0" !== 'undefined' ? "3.1.0" : 'beta';
2
+ const VERSION = typeof "3.1.1" !== 'undefined' ? "3.1.1" : 'latest';
3
3
  export const I3SBuildingSceneLayerLoader = {
4
4
  name: 'I3S Building Scene Layer',
5
5
  id: 'i3s-building-scene-layer',
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/i3s-building-scene-layer-loader.ts"],"names":["parseBuildingSceneLayer","VERSION","I3SBuildingSceneLayerLoader","name","id","module","version","mimeTypes","parse","extensions","options","data","context","url","Error"],"mappings":"AAGA,SAAQA,uBAAR,QAAsC,8CAAtC;AAKA,MAAMC,OAAO,GAAG,mBAAuB,WAAvB,aAAmD,MAAnE;AAIA,OAAO,MAAMC,2BAA6C,GAAG;AAC3DC,EAAAA,IAAI,EAAE,0BADqD;AAE3DC,EAAAA,EAAE,EAAE,0BAFuD;AAG3DC,EAAAA,MAAM,EAAE,KAHmD;AAI3DC,EAAAA,OAAO,EAAEL,OAJkD;AAK3DM,EAAAA,SAAS,EAAE,CAAC,kBAAD,CALgD;AAM3DC,EAAAA,KAN2D;AAO3DC,EAAAA,UAAU,EAAE,CAAC,MAAD,CAP+C;AAQ3DC,EAAAA,OAAO,EAAE;AARkD,CAAtD;;AAWP,eAAeF,KAAf,CACEG,IADF,EAEED,OAFF,EAGEE,OAHF,EAIsC;AACpC,MAAI,EAACA,OAAD,aAACA,OAAD,eAACA,OAAO,CAAEC,GAAV,CAAJ,EAAmB;AACjB,UAAM,IAAIC,KAAJ,CAAU,qBAAV,CAAN;AACD;;AAED,SAAOd,uBAAuB,CAACW,IAAD,EAAOC,OAAO,CAACC,GAAf,CAA9B;AACD","sourcesContent":["import type {LoaderWithParser, LoaderOptions, LoaderContext} from '@loaders.gl/loader-utils';\nimport type {BuildingSceneLayerTileset} from './types';\n\nimport {parseBuildingSceneLayer} from './lib/parsers/parse-i3s-building-scene-layer';\n\n// __VERSION__ is injected by babel-plugin-version-inline\n// @ts-ignore TS2304: Cannot find name '__VERSION__'.\n\nconst VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'beta';\n/**\n * Loader for I3S - Building Scene Layer\n */\nexport const I3SBuildingSceneLayerLoader: LoaderWithParser = {\n name: 'I3S Building Scene Layer',\n id: 'i3s-building-scene-layer',\n module: 'i3s',\n version: VERSION,\n mimeTypes: ['application/json'],\n parse,\n extensions: ['json'],\n options: {}\n};\n\nasync function parse(\n data: ArrayBuffer,\n options?: LoaderOptions,\n context?: LoaderContext\n): Promise<BuildingSceneLayerTileset> {\n if (!context?.url) {\n throw new Error('Url is not provided');\n }\n\n return parseBuildingSceneLayer(data, context.url);\n}\n"],"file":"i3s-building-scene-layer-loader.js"}
1
+ {"version":3,"sources":["../../src/i3s-building-scene-layer-loader.ts"],"names":["parseBuildingSceneLayer","VERSION","I3SBuildingSceneLayerLoader","name","id","module","version","mimeTypes","parse","extensions","options","data","context","url","Error"],"mappings":"AAGA,SAAQA,uBAAR,QAAsC,8CAAtC;AAKA,MAAMC,OAAO,GAAG,mBAAuB,WAAvB,aAAmD,QAAnE;AAIA,OAAO,MAAMC,2BAA6C,GAAG;AAC3DC,EAAAA,IAAI,EAAE,0BADqD;AAE3DC,EAAAA,EAAE,EAAE,0BAFuD;AAG3DC,EAAAA,MAAM,EAAE,KAHmD;AAI3DC,EAAAA,OAAO,EAAEL,OAJkD;AAK3DM,EAAAA,SAAS,EAAE,CAAC,kBAAD,CALgD;AAM3DC,EAAAA,KAN2D;AAO3DC,EAAAA,UAAU,EAAE,CAAC,MAAD,CAP+C;AAQ3DC,EAAAA,OAAO,EAAE;AARkD,CAAtD;;AAWP,eAAeF,KAAf,CACEG,IADF,EAEED,OAFF,EAGEE,OAHF,EAIsC;AACpC,MAAI,EAACA,OAAD,aAACA,OAAD,eAACA,OAAO,CAAEC,GAAV,CAAJ,EAAmB;AACjB,UAAM,IAAIC,KAAJ,CAAU,qBAAV,CAAN;AACD;;AAED,SAAOd,uBAAuB,CAACW,IAAD,EAAOC,OAAO,CAACC,GAAf,CAA9B;AACD","sourcesContent":["import type {LoaderWithParser, LoaderOptions, LoaderContext} from '@loaders.gl/loader-utils';\nimport type {BuildingSceneLayerTileset} from './types';\n\nimport {parseBuildingSceneLayer} from './lib/parsers/parse-i3s-building-scene-layer';\n\n// __VERSION__ is injected by babel-plugin-version-inline\n// @ts-ignore TS2304: Cannot find name '__VERSION__'.\n\nconst VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'latest';\n/**\n * Loader for I3S - Building Scene Layer\n */\nexport const I3SBuildingSceneLayerLoader: LoaderWithParser = {\n name: 'I3S Building Scene Layer',\n id: 'i3s-building-scene-layer',\n module: 'i3s',\n version: VERSION,\n mimeTypes: ['application/json'],\n parse,\n extensions: ['json'],\n options: {}\n};\n\nasync function parse(\n data: ArrayBuffer,\n options?: LoaderOptions,\n context?: LoaderContext\n): Promise<BuildingSceneLayerTileset> {\n if (!context?.url) {\n throw new Error('Url is not provided');\n }\n\n return parseBuildingSceneLayer(data, context.url);\n}\n"],"file":"i3s-building-scene-layer-loader.js"}
@@ -1,5 +1,5 @@
1
1
  import { parseI3STileContent } from './lib/parsers/parse-i3s-tile-content';
2
- const VERSION = typeof "3.1.0" !== 'undefined' ? "3.1.0" : 'beta';
2
+ const VERSION = typeof "3.1.1" !== 'undefined' ? "3.1.1" : 'latest';
3
3
  export const I3SContentLoader = {
4
4
  name: 'I3S Content (Indexed Scene Layers)',
5
5
  id: 'i3s-content',
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/i3s-content-loader.ts"],"names":["parseI3STileContent","VERSION","I3SContentLoader","name","id","module","worker","version","mimeTypes","parse","extensions","options","data","context","tile","tileset","i3s","content"],"mappings":"AACA,SAAQA,mBAAR,QAAkC,sCAAlC;AAKA,MAAMC,OAAO,GAAG,mBAAuB,WAAvB,aAAmD,MAAnE;AAIA,OAAO,MAAMC,gBAAkC,GAAG;AAChDC,EAAAA,IAAI,EAAE,oCAD0C;AAEhDC,EAAAA,EAAE,EAAE,aAF4C;AAGhDC,EAAAA,MAAM,EAAE,KAHwC;AAIhDC,EAAAA,MAAM,EAAE,IAJwC;AAKhDC,EAAAA,OAAO,EAAEN,OALuC;AAMhDO,EAAAA,SAAS,EAAE,CAAC,0BAAD,CANqC;AAOhDC,EAAAA,KAPgD;AAQhDC,EAAAA,UAAU,EAAE,CAAC,KAAD,CARoC;AAShDC,EAAAA,OAAO,EAAE;AACP,mBAAe;AADR;AATuC,CAA3C;;AAcP,eAAeF,KAAf,CAAqBG,IAArB,EAA2BD,OAA3B,EAAoDE,OAApD,EAA6E;AAC3E,QAAM;AAACC,IAAAA,IAAD;AAAOC,IAAAA;AAAP,MAAkB,CAAAJ,OAAO,SAAP,IAAAA,OAAO,WAAP,YAAAA,OAAO,CAAEK,GAAT,KAAgB,EAAxC;AACA,QAAMhB,mBAAmB,CAACY,IAAD,EAAOE,IAAP,EAAaC,OAAb,EAAsBJ,OAAtB,EAA+BE,OAA/B,CAAzB;AACA,SAAOC,IAAI,CAACG,OAAZ;AACD","sourcesContent":["import type {LoaderWithParser, LoaderOptions, LoaderContext} from '@loaders.gl/loader-utils';\nimport {parseI3STileContent} from './lib/parsers/parse-i3s-tile-content';\n\n// __VERSION__ is injected by babel-plugin-version-inline\n// @ts-ignore TS2304: Cannot find name '__VERSION__'.\n\nconst VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'beta';\n/**\n * Loader for I3S - Indexed 3D Scene Layer\n */\nexport const I3SContentLoader: LoaderWithParser = {\n name: 'I3S Content (Indexed Scene Layers)',\n id: 'i3s-content',\n module: 'i3s',\n worker: true,\n version: VERSION,\n mimeTypes: ['application/octet-stream'],\n parse,\n extensions: ['bin'],\n options: {\n 'i3s-content': {}\n }\n};\n\nasync function parse(data, options?: LoaderOptions, context?: LoaderContext) {\n const {tile, tileset} = options?.i3s || {};\n await parseI3STileContent(data, tile, tileset, options, context);\n return tile.content;\n}\n"],"file":"i3s-content-loader.js"}
1
+ {"version":3,"sources":["../../src/i3s-content-loader.ts"],"names":["parseI3STileContent","VERSION","I3SContentLoader","name","id","module","worker","version","mimeTypes","parse","extensions","options","data","context","tile","tileset","i3s","content"],"mappings":"AACA,SAAQA,mBAAR,QAAkC,sCAAlC;AAKA,MAAMC,OAAO,GAAG,mBAAuB,WAAvB,aAAmD,QAAnE;AAIA,OAAO,MAAMC,gBAAkC,GAAG;AAChDC,EAAAA,IAAI,EAAE,oCAD0C;AAEhDC,EAAAA,EAAE,EAAE,aAF4C;AAGhDC,EAAAA,MAAM,EAAE,KAHwC;AAIhDC,EAAAA,MAAM,EAAE,IAJwC;AAKhDC,EAAAA,OAAO,EAAEN,OALuC;AAMhDO,EAAAA,SAAS,EAAE,CAAC,0BAAD,CANqC;AAOhDC,EAAAA,KAPgD;AAQhDC,EAAAA,UAAU,EAAE,CAAC,KAAD,CARoC;AAShDC,EAAAA,OAAO,EAAE;AACP,mBAAe;AADR;AATuC,CAA3C;;AAcP,eAAeF,KAAf,CAAqBG,IAArB,EAA2BD,OAA3B,EAAoDE,OAApD,EAA6E;AAC3E,QAAM;AAACC,IAAAA,IAAD;AAAOC,IAAAA;AAAP,MAAkB,CAAAJ,OAAO,SAAP,IAAAA,OAAO,WAAP,YAAAA,OAAO,CAAEK,GAAT,KAAgB,EAAxC;AACA,QAAMhB,mBAAmB,CAACY,IAAD,EAAOE,IAAP,EAAaC,OAAb,EAAsBJ,OAAtB,EAA+BE,OAA/B,CAAzB;AACA,SAAOC,IAAI,CAACG,OAAZ;AACD","sourcesContent":["import type {LoaderWithParser, LoaderOptions, LoaderContext} from '@loaders.gl/loader-utils';\nimport {parseI3STileContent} from './lib/parsers/parse-i3s-tile-content';\n\n// __VERSION__ is injected by babel-plugin-version-inline\n// @ts-ignore TS2304: Cannot find name '__VERSION__'.\n\nconst VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'latest';\n/**\n * Loader for I3S - Indexed 3D Scene Layer\n */\nexport const I3SContentLoader: LoaderWithParser = {\n name: 'I3S Content (Indexed Scene Layers)',\n id: 'i3s-content',\n module: 'i3s',\n worker: true,\n version: VERSION,\n mimeTypes: ['application/octet-stream'],\n parse,\n extensions: ['bin'],\n options: {\n 'i3s-content': {}\n }\n};\n\nasync function parse(data, options?: LoaderOptions, context?: LoaderContext) {\n const {tile, tileset} = options?.i3s || {};\n await parseI3STileContent(data, tile, tileset, options, context);\n return tile.content;\n}\n"],"file":"i3s-content-loader.js"}
@@ -2,7 +2,7 @@ import { load, parse } from '@loaders.gl/core';
2
2
  import { I3SContentLoader } from './i3s-content-loader';
3
3
  import { normalizeTileData, normalizeTilesetData } from './lib/parsers/parse-i3s';
4
4
  import { COORDINATE_SYSTEM } from './lib/parsers/constants';
5
- const VERSION = typeof "3.1.0" !== 'undefined' ? "3.1.0" : 'latest';
5
+ const VERSION = typeof "3.1.1" !== 'undefined' ? "3.1.1" : 'latest';
6
6
  const TILESET_REGEX = /layers\/[0-9]+$/;
7
7
  const TILE_HEADER_REGEX = /nodes\/([0-9-]+|root)$/;
8
8
  const SLPK_HEX = '504b0304';
@@ -1,4 +1,4 @@
1
- const VERSION = typeof "3.1.0" !== 'undefined' ? "3.1.0" : 'latest';
1
+ const VERSION = typeof "3.1.1" !== 'undefined' ? "3.1.1" : 'latest';
2
2
 
3
3
  async function parseNodePage(data) {
4
4
  return JSON.parse(new TextDecoder().decode(data));
@@ -4,7 +4,7 @@ exports.I3SBuildingSceneLayerLoader = void 0;
4
4
  const parse_i3s_building_scene_layer_1 = require("./lib/parsers/parse-i3s-building-scene-layer");
5
5
  // __VERSION__ is injected by babel-plugin-version-inline
6
6
  // @ts-ignore TS2304: Cannot find name '__VERSION__'.
7
- const VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'beta';
7
+ const VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'latest';
8
8
  /**
9
9
  * Loader for I3S - Building Scene Layer
10
10
  */
@@ -4,7 +4,7 @@ exports.I3SContentLoader = void 0;
4
4
  const parse_i3s_tile_content_1 = require("./lib/parsers/parse-i3s-tile-content");
5
5
  // __VERSION__ is injected by babel-plugin-version-inline
6
6
  // @ts-ignore TS2304: Cannot find name '__VERSION__'.
7
- const VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'beta';
7
+ const VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'latest';
8
8
  /**
9
9
  * Loader for I3S - Indexed 3D Scene Layer
10
10
  */
@@ -1,11 +1,36 @@
1
1
  (() => {
2
+ var __create = Object.create;
2
3
  var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
3
8
  var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
9
+ var __commonJS = (cb, mod) => function __require() {
10
+ return mod || (0, cb[Object.keys(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
11
+ };
4
12
  var __export = (target, all) => {
5
13
  __markAsModule(target);
6
14
  for (var name in all)
7
15
  __defProp(target, name, { get: all[name], enumerable: true });
8
16
  };
17
+ var __reExport = (target, module2, desc) => {
18
+ if (module2 && typeof module2 === "object" || typeof module2 === "function") {
19
+ for (let key of __getOwnPropNames(module2))
20
+ if (!__hasOwnProp.call(target, key) && key !== "default")
21
+ __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
22
+ }
23
+ return target;
24
+ };
25
+ var __toModule = (module2) => {
26
+ return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
27
+ };
28
+
29
+ // (disabled):../worker-utils/src/lib/node/require-utils.node
30
+ var require_require_utils = __commonJS({
31
+ "(disabled):../worker-utils/src/lib/node/require-utils.node"() {
32
+ }
33
+ });
9
34
 
10
35
  // ../loader-utils/src/lib/env-utils/assert.ts
11
36
  function assert(condition, message) {
@@ -30,7 +55,7 @@
30
55
  var nodeVersion = matches && parseFloat(matches[1]) || 0;
31
56
 
32
57
  // ../worker-utils/src/lib/env-utils/version.ts
33
- var DEFAULT_VERSION = "beta";
58
+ var DEFAULT_VERSION = "latest";
34
59
  var VERSION = typeof __VERSION__ !== "undefined" ? __VERSION__ : DEFAULT_VERSION;
35
60
  if (typeof __VERSION__ === "undefined") {
36
61
  console.error("loaders.gl: The __VERSION__ variable is not injected using babel plugin. Latest unstable workers would be fetched from the CDN.");
@@ -434,7 +459,7 @@
434
459
  }
435
460
 
436
461
  // ../worker-utils/src/lib/worker-api/get-worker-url.ts
437
- var NPM_TAG = "beta";
462
+ var NPM_TAG = "latest";
438
463
  function getWorkerURL(worker, options = {}) {
439
464
  const workerOptions = options[worker.id] || {};
440
465
  const workerFile = `${worker.id}-worker.js`;
@@ -468,7 +493,8 @@
468
493
  }
469
494
 
470
495
  // ../worker-utils/src/lib/library-utils/library-utils.ts
471
- var LATEST = "beta";
496
+ var node = __toModule(require_require_utils());
497
+ var LATEST = "latest";
472
498
  var VERSION2 = typeof VERSION !== "undefined" ? VERSION : LATEST;
473
499
  var loadLibraryPromises = {};
474
500
  async function loadLibrary(libraryUrl, moduleName = null, options = {}) {
@@ -504,7 +530,11 @@
504
530
  return await response2.arrayBuffer();
505
531
  }
506
532
  if (!isBrowser2) {
507
- return node.requireFromFile && await node.requireFromFile(libraryUrl);
533
+ try {
534
+ return node && node.requireFromFile && await node.requireFromFile(libraryUrl);
535
+ } catch {
536
+ return null;
537
+ }
508
538
  }
509
539
  if (isWorker) {
510
540
  return importScripts(libraryUrl);
@@ -1107,7 +1137,7 @@
1107
1137
  }
1108
1138
 
1109
1139
  // ../../node_modules/probe.gl/dist/esm/utils/hi-res-timestamp.js
1110
- function getHiResTimestamp2() {
1140
+ function getHiResTimestamp() {
1111
1141
  let timestamp;
1112
1142
  if (isBrowser4 && window_3.performance) {
1113
1143
  timestamp = window_3.performance.now();
@@ -1154,8 +1184,8 @@
1154
1184
  }) {
1155
1185
  this.id = id;
1156
1186
  this.VERSION = VERSION3;
1157
- this._startTs = getHiResTimestamp2();
1158
- this._deltaTs = getHiResTimestamp2();
1187
+ this._startTs = getHiResTimestamp();
1188
+ this._deltaTs = getHiResTimestamp();
1159
1189
  this.LOG_THROTTLE_TIMEOUT = 0;
1160
1190
  this._storage = new LocalStorage("__probe-".concat(this.id, "__"), DEFAULT_SETTINGS);
1161
1191
  this.userData = {};
@@ -1176,10 +1206,10 @@
1176
1206
  return this._storage.config.level;
1177
1207
  }
1178
1208
  getTotal() {
1179
- return Number((getHiResTimestamp2() - this._startTs).toPrecision(10));
1209
+ return Number((getHiResTimestamp() - this._startTs).toPrecision(10));
1180
1210
  }
1181
1211
  getDelta() {
1182
- return Number((getHiResTimestamp2() - this._deltaTs).toPrecision(10));
1212
+ return Number((getHiResTimestamp() - this._deltaTs).toPrecision(10));
1183
1213
  }
1184
1214
  set priority(newPriority) {
1185
1215
  this.level = newPriority;
@@ -1334,11 +1364,11 @@
1334
1364
  assert3(method);
1335
1365
  opts.total = this.getTotal();
1336
1366
  opts.delta = this.getDelta();
1337
- this._deltaTs = getHiResTimestamp2();
1367
+ this._deltaTs = getHiResTimestamp();
1338
1368
  const tag = opts.tag || opts.message;
1339
1369
  if (opts.once) {
1340
1370
  if (!cache[tag]) {
1341
- cache[tag] = getHiResTimestamp2();
1371
+ cache[tag] = getHiResTimestamp();
1342
1372
  } else {
1343
1373
  return noop;
1344
1374
  }
@@ -5607,7 +5637,7 @@
5607
5637
  }
5608
5638
 
5609
5639
  // ../textures/src/lib/utils/version.ts
5610
- var VERSION6 = typeof __VERSION__ !== "undefined" ? __VERSION__ : "beta";
5640
+ var VERSION6 = typeof __VERSION__ !== "undefined" ? __VERSION__ : "latest";
5611
5641
 
5612
5642
  // ../textures/src/lib/parsers/basis-module-loader.ts
5613
5643
  var VERSION7 = typeof __VERSION__ !== "undefined" ? __VERSION__ : "beta";
@@ -7613,7 +7643,7 @@
7613
7643
  }
7614
7644
 
7615
7645
  // src/i3s-content-loader.ts
7616
- var VERSION8 = typeof __VERSION__ !== "undefined" ? __VERSION__ : "beta";
7646
+ var VERSION8 = typeof __VERSION__ !== "undefined" ? __VERSION__ : "latest";
7617
7647
  var I3SContentLoader = {
7618
7648
  name: "I3S Content (Indexed Scene Layers)",
7619
7649
  id: "i3s-content",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loaders.gl/i3s",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "description": "i3s .",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -32,12 +32,12 @@
32
32
  "build-worker": "esbuild src/workers/i3s-content-worker.ts --bundle --outfile=dist/i3s-content-worker.js"
33
33
  },
34
34
  "dependencies": {
35
- "@loaders.gl/draco": "3.1.0",
36
- "@loaders.gl/images": "3.1.0",
37
- "@loaders.gl/loader-utils": "3.1.0",
38
- "@loaders.gl/schema": "3.1.0",
39
- "@loaders.gl/textures": "3.1.0",
40
- "@loaders.gl/tiles": "3.1.0",
35
+ "@loaders.gl/draco": "3.1.1",
36
+ "@loaders.gl/images": "3.1.1",
37
+ "@loaders.gl/loader-utils": "3.1.1",
38
+ "@loaders.gl/schema": "3.1.1",
39
+ "@loaders.gl/textures": "3.1.1",
40
+ "@loaders.gl/tiles": "3.1.1",
41
41
  "@luma.gl/constants": "^8.5.4",
42
42
  "@math.gl/core": "^3.5.1",
43
43
  "@math.gl/culling": "^3.5.1",
@@ -45,7 +45,7 @@
45
45
  "probe.gl": "^3.4.0"
46
46
  },
47
47
  "peerDependencies": {
48
- "@loaders.gl/core": "3.1.0-beta.1"
48
+ "@loaders.gl/core": "3.1.0"
49
49
  },
50
- "gitHead": "b02a011b5a6d6aa6c5870819045c70db168cb930"
50
+ "gitHead": "ed3c238bcb68ab5a2d4ddc64319f6f4c02a20df7"
51
51
  }
@@ -6,7 +6,7 @@ import {parseBuildingSceneLayer} from './lib/parsers/parse-i3s-building-scene-la
6
6
  // __VERSION__ is injected by babel-plugin-version-inline
7
7
  // @ts-ignore TS2304: Cannot find name '__VERSION__'.
8
8
 
9
- const VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'beta';
9
+ const VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'latest';
10
10
  /**
11
11
  * Loader for I3S - Building Scene Layer
12
12
  */
@@ -4,7 +4,7 @@ import {parseI3STileContent} from './lib/parsers/parse-i3s-tile-content';
4
4
  // __VERSION__ is injected by babel-plugin-version-inline
5
5
  // @ts-ignore TS2304: Cannot find name '__VERSION__'.
6
6
 
7
- const VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'beta';
7
+ const VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'latest';
8
8
  /**
9
9
  * Loader for I3S - Indexed 3D Scene Layer
10
10
  */