@vitessce/vit-s 3.6.11 → 3.6.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.
Files changed (2) hide show
  1. package/dist/index.js +21 -12
  2. package/package.json +12 -12
package/dist/index.js CHANGED
@@ -32237,7 +32237,7 @@ const AUTO_INDEPENDENT_COORDINATION_TYPES = [
32237
32237
  CoordinationType$1.HIERARCHY_LEVELS
32238
32238
  ]
32239
32239
  });
32240
- const version = "3.6.11";
32240
+ const version = "3.6.13";
32241
32241
  const META_VERSION = {
32242
32242
  version
32243
32243
  };
@@ -33131,12 +33131,13 @@ class VitessceConfigDatasetFile {
33131
33131
  * which may provide additional parameters to the loader class
33132
33132
  * corresponding to the specified fileType.
33133
33133
  */
33134
- constructor(url, fileType, coordinationValues, options) {
33134
+ constructor(url, fileType, coordinationValues, options, requestInit2) {
33135
33135
  this.file = {
33136
33136
  url,
33137
33137
  fileType,
33138
33138
  ...coordinationValues ? { coordinationValues } : {},
33139
- ...options ? { options } : {}
33139
+ ...options ? { options } : {},
33140
+ ...requestInit2 ? { requestInit: requestInit2 } : {}
33140
33141
  };
33141
33142
  }
33142
33143
  /**
@@ -33177,6 +33178,7 @@ class VitessceConfigDataset {
33177
33178
  let fileType;
33178
33179
  let coordinationValues;
33179
33180
  let options;
33181
+ let requestInit2;
33180
33182
  if (args.length > 0) {
33181
33183
  url = params;
33182
33184
  let dataType;
@@ -33190,12 +33192,13 @@ class VitessceConfigDataset {
33190
33192
  url,
33191
33193
  fileType,
33192
33194
  options,
33193
- coordinationValues
33195
+ coordinationValues,
33196
+ requestInit: requestInit2
33194
33197
  } = params);
33195
33198
  } else {
33196
33199
  throw new Error("Expected addFile argument to be an object.");
33197
33200
  }
33198
- this.dataset.files.push(new VitessceConfigDatasetFile(url, fileType, coordinationValues, options));
33201
+ this.dataset.files.push(new VitessceConfigDatasetFile(url, fileType, coordinationValues, options, requestInit2));
33199
33202
  return this;
33200
33203
  }
33201
33204
  /**
@@ -33518,13 +33521,19 @@ class VitessceConfig {
33518
33521
  * Add a new view to the config.
33519
33522
  * @param {VitessceConfigDataset} dataset The dataset instance which defines the data
33520
33523
  * that will be displayed in the view.
33521
- * @param {string} component A component name, such as "scatterplot" or "spatial".
33522
- * @param {object} options Extra options for the component.
33523
- * @param {number} options.x The x-coordinate for the view in the grid layout.
33524
- * @param {number} options.y The y-coordinate for the view in the grid layout.
33525
- * @param {number} options.w The width for the view in the grid layout.
33526
- * @param {number} options.h The height for the view in the grid layout.
33527
- * @param {number} options.mapping A convenience parameter for setting the EMBEDDING_TYPE
33524
+ * @param {string} component A component name, such as "scatterplot"
33525
+ * or "spatial".
33526
+ * @param {object|undefined} options Extra options for the component.
33527
+ * @param {number|undefined} options.x The x-coordinate for the view
33528
+ * in the grid layout.
33529
+ * @param {number|undefined} options.y The y-coordinate for the view
33530
+ * in the grid layout.
33531
+ * @param {number|undefined} options.w The width for the view in the
33532
+ * grid layout.
33533
+ * @param {number|undefined} options.h The height for the view in the
33534
+ * grid layout.
33535
+ * @param {string|undefined} options.mapping A convenience parameter
33536
+ * for setting the EMBEDDING_TYPE
33528
33537
  * coordination value. Only applicable if the component is "scatterplot".
33529
33538
  * @returns {VitessceConfigView} A new view instance.
33530
33539
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/vit-s",
3
- "version": "3.6.11",
3
+ "version": "3.6.13",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -28,16 +28,16 @@
28
28
  "zustand": "^5.0.4",
29
29
  "react-aria": "^3.28.0",
30
30
  "react-error-boundary": "^5.0.0",
31
- "@vitessce/styles": "3.6.11",
32
- "@vitessce/abstract": "3.6.11",
33
- "@vitessce/error": "3.6.11",
34
- "@vitessce/constants-internal": "3.6.11",
35
- "@vitessce/plugins": "3.6.11",
36
- "@vitessce/schemas": "3.6.11",
37
- "@vitessce/utils": "3.6.11",
38
- "@vitessce/sets-utils": "3.6.11",
39
- "@vitessce/config": "3.6.11",
40
- "@vitessce/globals": "3.6.11"
31
+ "@vitessce/styles": "3.6.13",
32
+ "@vitessce/abstract": "3.6.13",
33
+ "@vitessce/error": "3.6.13",
34
+ "@vitessce/constants-internal": "3.6.13",
35
+ "@vitessce/plugins": "3.6.13",
36
+ "@vitessce/schemas": "3.6.13",
37
+ "@vitessce/utils": "3.6.13",
38
+ "@vitessce/sets-utils": "3.6.13",
39
+ "@vitessce/config": "3.6.13",
40
+ "@vitessce/globals": "3.6.13"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@testing-library/jest-dom": "^6.6.3",
@@ -46,7 +46,7 @@
46
46
  "react-dom": "^18.0.0",
47
47
  "vite": "^6.3.5",
48
48
  "vitest": "^3.1.4",
49
- "@vitessce/types": "3.6.11"
49
+ "@vitessce/types": "3.6.13"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"