@jbrowse/plugin-trix 5.0.0-beta.4 → 5.0.0-beta.7

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.
@@ -1,8 +1,7 @@
1
- import { ConfigurationSchema } from '@jbrowse/core/configuration';
1
+ import { ConfigurationSchema, fillLocations } from '@jbrowse/core/configuration';
2
2
  export function normalizeSnapshot(snap) {
3
3
  return typeof snap.uri === 'string'
4
- ? {
5
- ...snap,
4
+ ? fillLocations(snap, {
6
5
  // `uri` points at the `.ix` file and the `.ixx` sits beside it (the
7
6
  // `jbrowse text-index` naming convention), so derive the pair
8
7
  ixFilePath: {
@@ -13,7 +12,7 @@ export function normalizeSnapshot(snap) {
13
12
  uri: `${snap.uri}x`,
14
13
  baseUri: snap.baseUri,
15
14
  },
16
- }
15
+ })
17
16
  : snap;
18
17
  }
19
18
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/plugin-trix",
3
- "version": "5.0.0-beta.4",
3
+ "version": "5.0.0-beta.7",
4
4
  "type": "module",
5
5
  "description": "JBrowse 2 trix text search adapter",
6
6
  "keywords": [
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@gmod/trix": "^3.0.22",
28
- "@jbrowse/core": "^5.0.0-beta.4"
28
+ "@jbrowse/core": "^5.0.0-beta.7"
29
29
  },
30
30
  "publishConfig": {
31
31
  "access": "public"