@jbrowse/plugin-arc 3.4.0 → 3.5.0

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.
@@ -191,7 +191,7 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
191
191
  } & {
192
192
  addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
193
193
  deleteBlock(key: string): void;
194
- selectFeature(feature: import("@jbrowse/core/util").Feature): Promise<void>;
194
+ selectFeature(feature: import("@jbrowse/core/util").Feature): void;
195
195
  navToFeature(feature: import("@jbrowse/core/util").Feature): void;
196
196
  clearFeatureSelection(): void;
197
197
  setFeatureIdUnderMouse(feature?: string): void;
@@ -2,8 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.fetchChains = fetchChains;
4
4
  const util_1 = require("@jbrowse/core/util");
5
+ const tracks_1 = require("@jbrowse/core/util/tracks");
5
6
  async function fetchChains(self) {
6
- const { rpcSessionId: sessionId } = (0, util_1.getContainingTrack)(self);
7
+ const sessionId = (0, tracks_1.getRpcSessionId)(self);
7
8
  const { rpcManager } = (0, util_1.getSession)(self);
8
9
  const view = (0, util_1.getContainingView)(self);
9
10
  if (!view.initialized || self.error || !self.statsReadyAndRegionNotTooLarge) {
@@ -191,7 +191,7 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
191
191
  } & {
192
192
  addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
193
193
  deleteBlock(key: string): void;
194
- selectFeature(feature: import("@jbrowse/core/util").Feature): Promise<void>;
194
+ selectFeature(feature: import("@jbrowse/core/util").Feature): void;
195
195
  navToFeature(feature: import("@jbrowse/core/util").Feature): void;
196
196
  clearFeatureSelection(): void;
197
197
  setFeatureIdUnderMouse(feature?: string): void;
@@ -1,6 +1,7 @@
1
- import { dedupe, getContainingTrack, getContainingView, getSession, } from '@jbrowse/core/util';
1
+ import { dedupe, getContainingView, getSession } from '@jbrowse/core/util';
2
+ import { getRpcSessionId } from '@jbrowse/core/util/tracks';
2
3
  export async function fetchChains(self) {
3
- const { rpcSessionId: sessionId } = getContainingTrack(self);
4
+ const sessionId = getRpcSessionId(self);
4
5
  const { rpcManager } = getSession(self);
5
6
  const view = getContainingView(self);
6
7
  if (!view.initialized || self.error || !self.statsReadyAndRegionNotTooLarge) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/plugin-arc",
3
- "version": "3.4.0",
3
+ "version": "3.5.0",
4
4
  "description": "JBrowse 2 arc adapters, tracks, etc.",
5
5
  "keywords": [
6
6
  "jbrowse",
@@ -36,9 +36,9 @@
36
36
  "clean": "rimraf dist esm *.tsbuildinfo"
37
37
  },
38
38
  "dependencies": {
39
- "@jbrowse/core": "^3.4.0",
40
- "@jbrowse/plugin-linear-genome-view": "^3.4.0",
41
- "@jbrowse/plugin-wiggle": "^3.4.0",
39
+ "@jbrowse/core": "^3.5.0",
40
+ "@jbrowse/plugin-linear-genome-view": "^3.5.0",
41
+ "@jbrowse/plugin-wiggle": "^3.5.0",
42
42
  "@mui/material": "^7.0.0",
43
43
  "mobx": "^6.0.0",
44
44
  "mobx-react": "^9.0.0",
@@ -55,5 +55,5 @@
55
55
  "publishConfig": {
56
56
  "access": "public"
57
57
  },
58
- "gitHead": "a9f1ac35fc2dd810bae92cdaf1fc19995bee4413"
58
+ "gitHead": "8a8aa0aab2229dece106a5715a767e649e2fe92b"
59
59
  }