@vitessce/launcher 3.8.9 → 3.8.13

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/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { bM, bL } from "./index-C0ug-xDn.js";
1
+ import { bN, bM } from "./index-KpGEFZxo.js";
2
2
  export {
3
- bM as ControlledLauncher,
4
- bL as UncontrolledLauncher
3
+ bN as ControlledLauncher,
4
+ bM as UncontrolledLauncher
5
5
  };
@@ -1,4 +1,4 @@
1
- import { aW as BaseDecoder } from "./index-C0ug-xDn.js";
1
+ import { aX as BaseDecoder } from "./index-KpGEFZxo.js";
2
2
  const dctZigZag = new Int32Array([
3
3
  0,
4
4
  1,
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-SxljTded.js";
2
- import { aF as getDefaultExportFromCjs, aW as BaseDecoder, aX as LercParameters, aY as LercAddCompression } from "./index-C0ug-xDn.js";
2
+ import { aG as getDefaultExportFromCjs, aX as BaseDecoder, aY as LercParameters, aZ as LercAddCompression } from "./index-KpGEFZxo.js";
3
3
  var LercDecode = { exports: {} };
4
4
  var hasRequiredLercDecode;
5
5
  function requireLercDecode() {
@@ -1,4 +1,4 @@
1
- import { aW as BaseDecoder } from "./index-C0ug-xDn.js";
1
+ import { aX as BaseDecoder } from "./index-KpGEFZxo.js";
2
2
  const MIN_BITS = 9;
3
3
  const CLEAR_CODE = 256;
4
4
  const EOI_CODE = 257;
@@ -1,4 +1,4 @@
1
- import { aW as BaseDecoder } from "./index-C0ug-xDn.js";
1
+ import { aX as BaseDecoder } from "./index-KpGEFZxo.js";
2
2
  class PackbitsDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  const dataView = new DataView(buffer);
@@ -1,4 +1,4 @@
1
- import { aW as BaseDecoder } from "./index-C0ug-xDn.js";
1
+ import { aX as BaseDecoder } from "./index-KpGEFZxo.js";
2
2
  class RawDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  return buffer;
@@ -1,4 +1,4 @@
1
- import { bG as MeshDistanceMaterial, bH as MeshDepthMaterial, bI as RGBADepthPacking, ae as UniformsUtils, bJ as ShaderChunk, a9 as InstancedBufferGeometry, a8 as Sphere, a7 as Box3, am as BackSide, u as DoubleSide, z as Mesh, a5 as FrontSide, v as MeshBasicMaterial, C as Color, e as Vector3, M as Matrix4, V as Vector2, ap as Matrix3, ag as Vector4, a1 as Texture, l as LinearFilter, aD as PlaneGeometry, x as BufferGeometry, aa as Float32BufferAttribute, bK as InstancedBufferAttribute } from "./index-C0ug-xDn.js";
1
+ import { bH as MeshDistanceMaterial, bI as MeshDepthMaterial, bJ as RGBADepthPacking, ae as UniformsUtils, bK as ShaderChunk, a9 as InstancedBufferGeometry, a8 as Sphere, a7 as Box3, am as BackSide, u as DoubleSide, z as Mesh, a5 as FrontSide, v as MeshBasicMaterial, C as Color, e as Vector3, M as Matrix4, V as Vector2, ap as Matrix3, ag as Vector4, a1 as Texture, l as LinearFilter, aD as PlaneGeometry, x as BufferGeometry, aa as Float32BufferAttribute, bL as InstancedBufferAttribute } from "./index-KpGEFZxo.js";
2
2
  function workerBootstrap() {
3
3
  var modules = /* @__PURE__ */ Object.create(null);
4
4
  function registerModule(ref, callback) {
@@ -1,4 +1,4 @@
1
- import { aW as BaseDecoder } from "./index-C0ug-xDn.js";
1
+ import { aX as BaseDecoder } from "./index-KpGEFZxo.js";
2
2
  class WebImageDecoder extends BaseDecoder {
3
3
  constructor() {
4
4
  super();
@@ -1 +1 @@
1
- {"version":3,"file":"ControlledLauncher.d.ts","sourceRoot":"","sources":["../src/ControlledLauncher.js"],"names":[],"mappings":"AA+LA,4DAgBC"}
1
+ {"version":3,"file":"ControlledLauncher.d.ts","sourceRoot":"","sources":["../src/ControlledLauncher.js"],"names":[],"mappings":"AAiMA,4DAgBC"}
@@ -4,7 +4,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
4
4
  /* eslint-disable max-len */
5
5
  /* eslint-disable no-console */
6
6
  /* eslint-disable prefer-destructuring */
7
- import React, { useMemo, useState, useEffect } from 'react';
7
+ import React, { useMemo, useState } from 'react';
8
8
  import { Vitessce } from '@vitessce/all';
9
9
  import { generateConfigAlt as generateConfig, parseUrls } from '@vitessce/config';
10
10
  import { Alert } from '@vitessce/styles';
@@ -58,6 +58,7 @@ function ControlledLauncherInner(props) {
58
58
  }
59
59
  else if (configUrlResult.isError) {
60
60
  setIsEditing(true);
61
+ console.log(configUrlResult.error);
61
62
  setLauncherError(`Error loading config from URL: ${configUrlResult.error.message}`);
62
63
  }
63
64
  }
@@ -70,6 +71,7 @@ function ControlledLauncherInner(props) {
70
71
  }
71
72
  else if (sourceUrlResult.isError) {
72
73
  setIsEditing(true);
74
+ console.log(sourceUrlResult.error);
73
75
  setLauncherError(`Error loading data/metadata from source URL(s): ${sourceUrlResult.error.message}`);
74
76
  }
75
77
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/launcher",
3
- "version": "3.8.9",
3
+ "version": "3.8.13",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -20,14 +20,14 @@
20
20
  "use-query-params": "^1.1.9",
21
21
  "react-dropzone": "^14.3.8",
22
22
  "@tanstack/react-query": "^5.80.2",
23
- "@vitessce/all": "3.8.9",
24
- "@vitessce/constants-internal": "3.8.9",
25
- "@vitessce/example-configs": "3.8.9",
26
- "@vitessce/example-plugins": "3.8.9",
27
- "@vitessce/globals": "3.8.9",
28
- "@vitessce/styles": "3.8.9",
29
- "@vitessce/vit-s": "3.8.9",
30
- "@vitessce/config": "3.8.9"
23
+ "@vitessce/all": "3.8.13",
24
+ "@vitessce/constants-internal": "3.8.13",
25
+ "@vitessce/example-configs": "3.8.13",
26
+ "@vitessce/globals": "3.8.13",
27
+ "@vitessce/styles": "3.8.13",
28
+ "@vitessce/example-plugins": "3.8.13",
29
+ "@vitessce/vit-s": "3.8.13",
30
+ "@vitessce/config": "3.8.13"
31
31
  },
32
32
  "devDependencies": {
33
33
  "react": "18.3.1",
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable max-len */
4
4
  /* eslint-disable no-console */
5
5
  /* eslint-disable prefer-destructuring */
6
- import React, { useMemo, useState, useEffect } from 'react';
6
+ import React, { useMemo, useState } from 'react';
7
7
  import { Vitessce } from '@vitessce/all';
8
8
  import { generateConfigAlt as generateConfig, parseUrls } from '@vitessce/config';
9
9
  import { Alert } from '@vitessce/styles';
@@ -75,6 +75,7 @@ function ControlledLauncherInner(props) {
75
75
  setLauncherError(null);
76
76
  } else if (configUrlResult.isError) {
77
77
  setIsEditing(true);
78
+ console.log(configUrlResult.error);
78
79
  setLauncherError(`Error loading config from URL: ${configUrlResult.error.message}`);
79
80
  }
80
81
  } else if (sourceUrlQueryEnabled) {
@@ -85,6 +86,7 @@ function ControlledLauncherInner(props) {
85
86
  setLauncherError(null);
86
87
  } else if (sourceUrlResult.isError) {
87
88
  setIsEditing(true);
89
+ console.log(sourceUrlResult.error);
88
90
  setLauncherError(`Error loading data/metadata from source URL(s): ${sourceUrlResult.error.message}`);
89
91
  }
90
92
  } else if (validConfigFromDroppedData) {