@jbrowse/plugin-blat 5.0.0-beta.1 → 5.0.0-beta.2

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/esm/ucscShared.js CHANGED
@@ -2,8 +2,8 @@ import { getConf } from '@jbrowse/core/configuration';
2
2
  import { getEnv, isSessionModelWithWidgets, isSessionWithAddSessionTrack, } from '@jbrowse/core/util';
3
3
  import { assemblyToUcscDb } from './ucscDbMap.js';
4
4
  function isNavigableView(view) {
5
- return ('showTrack' in view &&
6
- typeof view.showTrack === 'function' &&
5
+ return ('launchTrack' in view &&
6
+ typeof view.launchTrack === 'function' &&
7
7
  'navToLocString' in view &&
8
8
  typeof view.navToLocString === 'function');
9
9
  }
@@ -93,7 +93,7 @@ export async function addResultTrack({ session, assembly, features, trackIdPrefi
93
93
  });
94
94
  const view = findNavigableView(session, assembly);
95
95
  if (view) {
96
- view.showTrack(trackId);
96
+ await view.launchTrack(trackId);
97
97
  }
98
98
  else {
99
99
  session.notify(`Added track "${trackId}" but no open view displays ${assembly}`, 'warning');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/plugin-blat",
3
- "version": "5.0.0-beta.1",
3
+ "version": "5.0.0-beta.2",
4
4
  "type": "module",
5
5
  "description": "JBrowse 2 UCSC BLAT client",
6
6
  "keywords": [
@@ -25,11 +25,11 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@jbrowse/mobx-state-tree": "^6.5.1",
28
- "@mui/icons-material": "^9.3.1",
29
- "@mui/material": "^9.3.1",
28
+ "@mui/icons-material": "^9.4.0",
29
+ "@mui/material": "^9.4.0",
30
30
  "mobx": "^7.0.3",
31
31
  "mobx-react": "^10.0.2",
32
- "@jbrowse/core": "^5.0.0-beta.1"
32
+ "@jbrowse/core": "^5.0.0-beta.2"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "react": ">=19.0.0"