@jbrowse/plugin-arc 3.4.0 → 3.5.1

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.
@@ -182,6 +182,7 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
182
182
  readonly renderDelay: number;
183
183
  readonly TooltipComponent: import("@jbrowse/core/util").AnyReactComponentType;
184
184
  readonly selectedFeatureId: string | undefined;
185
+ copyInfoToClipboard(feature: import("@jbrowse/core/util").Feature): void;
185
186
  } & {
186
187
  readonly features: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/core/util").Feature>;
187
188
  readonly featureUnderMouse: import("@jbrowse/core/util").Feature | undefined;
@@ -191,7 +192,7 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
191
192
  } & {
192
193
  addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
193
194
  deleteBlock(key: string): void;
194
- selectFeature(feature: import("@jbrowse/core/util").Feature): Promise<void>;
195
+ selectFeature(feature: import("@jbrowse/core/util").Feature): void;
195
196
  navToFeature(feature: import("@jbrowse/core/util").Feature): void;
196
197
  clearFeatureSelection(): void;
197
198
  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) {
@@ -182,6 +182,7 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
182
182
  readonly renderDelay: number;
183
183
  readonly TooltipComponent: import("@jbrowse/core/util").AnyReactComponentType;
184
184
  readonly selectedFeatureId: string | undefined;
185
+ copyInfoToClipboard(feature: import("@jbrowse/core/util").Feature): void;
185
186
  } & {
186
187
  readonly features: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/core/util").Feature>;
187
188
  readonly featureUnderMouse: import("@jbrowse/core/util").Feature | undefined;
@@ -191,7 +192,7 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
191
192
  } & {
192
193
  addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
193
194
  deleteBlock(key: string): void;
194
- selectFeature(feature: import("@jbrowse/core/util").Feature): Promise<void>;
195
+ selectFeature(feature: import("@jbrowse/core/util").Feature): void;
195
196
  navToFeature(feature: import("@jbrowse/core/util").Feature): void;
196
197
  clearFeatureSelection(): void;
197
198
  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.1",
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.1",
40
+ "@jbrowse/plugin-linear-genome-view": "^3.5.1",
41
+ "@jbrowse/plugin-wiggle": "^3.5.1",
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": "cb8859da9d838ad2594964777c5c54f385d98f5e"
59
59
  }