@splnlss/3d-story-viewer 0.5.3 → 0.5.4

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/build/viewer.js CHANGED
@@ -25659,9 +25659,12 @@ class GlobeManager extends EventDispatcher {
25659
25659
  this.camera = camera;
25660
25660
  this.renderer = renderer;
25661
25661
  this.tiles = null;
25662
+ this.dracoLoader = null;
25662
25663
  this.apiToken = options.apiToken;
25663
25664
  this.googleMapsToken = options.googleMapsToken;
25664
- this.initTiles();
25665
+ if (this.googleMapsToken) {
25666
+ this.initTiles();
25667
+ }
25665
25668
  }
25666
25669
  initTiles() {
25667
25670
  if (this.tiles) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@splnlss/3d-story-viewer",
3
- "version": "0.5.3",
3
+ "version": "0.5.4",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org/"