@vitessce/json 3.4.9 → 3.4.10

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,4 +1,4 @@
1
- import { C, d, e, f, h, G, b, J, M, i, O, c, R, j } from "./index-2b48875e.js";
1
+ import { C, d, e, f, h, G, b, J, M, i, O, c, R, j } from "./index-e57214db.js";
2
2
  import "@vitessce/vit-s";
3
3
  import "react";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-2b48875e.js";
1
+ import { B as BaseDecoder } from "./index-e57214db.js";
2
2
  import "@vitessce/vit-s";
3
3
  import "react";
4
4
  const dctZigZag = new Int32Array([
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
2
- import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-2b48875e.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-e57214db.js";
3
3
  import "@vitessce/vit-s";
4
4
  import "react";
5
5
  var LercDecode = { exports: {} };
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-2b48875e.js";
1
+ import { B as BaseDecoder } from "./index-e57214db.js";
2
2
  import "@vitessce/vit-s";
3
3
  import "react";
4
4
  const MIN_BITS = 9;
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-2b48875e.js";
1
+ import { B as BaseDecoder } from "./index-e57214db.js";
2
2
  import "@vitessce/vit-s";
3
3
  import "react";
4
4
  class PackbitsDecoder extends BaseDecoder {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-2b48875e.js";
1
+ import { B as BaseDecoder } from "./index-e57214db.js";
2
2
  import "@vitessce/vit-s";
3
3
  import "react";
4
4
  class RawDecoder extends BaseDecoder {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-2b48875e.js";
1
+ import { B as BaseDecoder } from "./index-e57214db.js";
2
2
  import "@vitessce/vit-s";
3
3
  import "react";
4
4
  class WebImageDecoder extends BaseDecoder {
@@ -13,7 +13,7 @@ async function initLoader(imageData) {
13
13
  const { dimensions, isPyramid, transform, } = metadata || {};
14
14
  const labels = dimensions.map(d => d.field);
15
15
  let source;
16
- const root = await zarrOpenRoot(url, null, requestInit);
16
+ const root = await zarrOpenRoot(url, null, { requestInit });
17
17
  if (isPyramid) {
18
18
  const metadataUrl = `${url}${url.slice(-1) === '/' ? '' : '/'}.zmetadata`;
19
19
  const response = await fetch(metadataUrl);
@@ -63,7 +63,7 @@ async function initLoader(imageData) {
63
63
  // Most of the following has been copied from OmeZarrLoader.js.
64
64
  // Reference: https://github.com/vitessce/vitessce/blob/fb0e7f/packages/file-types/zarr/src/ome-loaders/OmeZarrLoader.js#L29
65
65
  const { coordinateTransformations: coordinateTransformationsFromOptions } = metadata || {};
66
- const root = await zarrOpenRoot(url, null, requestInit);
66
+ const root = await zarrOpenRoot(url, null, { requestInit });
67
67
  const loader = await loadOmeZarr(root);
68
68
  const { metadata: loaderMetadata } = loader;
69
69
  const { omero, multiscales } = loaderMetadata;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/json",
3
- "version": "3.4.9",
3
+ "version": "3.4.10",
4
4
  "author": "Gehlenborg Lab",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -18,17 +18,17 @@
18
18
  "dependencies": {
19
19
  "d3-array": "^2.4.0",
20
20
  "lodash-es": "^4.17.21",
21
- "zarrita": "0.4.0-next.10",
21
+ "zarrita": "0.4.0-next.16",
22
22
  "zod": "^3.21.4",
23
- "@vitessce/constants-internal": "3.4.9",
24
- "@vitessce/gl": "3.4.9",
25
- "@vitessce/schemas": "3.4.9",
26
- "@vitessce/sets-utils": "3.4.9",
27
- "@vitessce/spatial-utils": "3.4.9",
28
- "@vitessce/utils": "3.4.9",
29
- "@vitessce/vit-s": "3.4.9",
30
- "@vitessce/zarr-utils": "3.4.9",
31
- "@vitessce/config": "3.4.9"
23
+ "@vitessce/constants-internal": "3.4.10",
24
+ "@vitessce/gl": "3.4.10",
25
+ "@vitessce/schemas": "3.4.10",
26
+ "@vitessce/sets-utils": "3.4.10",
27
+ "@vitessce/spatial-utils": "3.4.10",
28
+ "@vitessce/utils": "3.4.10",
29
+ "@vitessce/vit-s": "3.4.10",
30
+ "@vitessce/zarr-utils": "3.4.10",
31
+ "@vitessce/config": "3.4.10"
32
32
  },
33
33
  "scripts": {
34
34
  "bundle": "pnpm exec vite build -c ../../../scripts/vite.config.js",
@@ -25,7 +25,7 @@ async function initLoader(imageData) {
25
25
  } = metadata || {};
26
26
  const labels = dimensions.map(d => d.field);
27
27
  let source;
28
- const root = await zarrOpenRoot(url, null, requestInit);
28
+ const root = await zarrOpenRoot(url, null, { requestInit });
29
29
  if (isPyramid) {
30
30
  const metadataUrl = `${url}${
31
31
  url.slice(-1) === '/' ? '' : '/'
@@ -80,7 +80,7 @@ async function initLoader(imageData) {
80
80
  // Reference: https://github.com/vitessce/vitessce/blob/fb0e7f/packages/file-types/zarr/src/ome-loaders/OmeZarrLoader.js#L29
81
81
  const { coordinateTransformations: coordinateTransformationsFromOptions } = metadata || {};
82
82
 
83
- const root = await zarrOpenRoot(url, null, requestInit);
83
+ const root = await zarrOpenRoot(url, null, { requestInit });
84
84
  const loader = await loadOmeZarr(root);
85
85
  const { metadata: loaderMetadata } = loader;
86
86