@jbrowse/plugin-canvas 4.1.12 → 4.1.14

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.
@@ -70,6 +70,7 @@ function extractCDSRegions(feature) {
70
70
  .map((sub) => ({
71
71
  start: sub.get('start') - featureStart,
72
72
  end: sub.get('end') - featureStart,
73
+ phase: sub.get('phase') ?? 0,
73
74
  }));
74
75
  }
75
76
  async function fetchTranscriptPeptides(pluginManager, renderProps, transcript) {
@@ -94,6 +95,7 @@ async function fetchTranscriptPeptides(pluginManager, renderProps, transcript) {
94
95
  const seqLen = seq.length;
95
96
  cds = cds
96
97
  .map(region => ({
98
+ ...region,
97
99
  start: seqLen - region.end,
98
100
  end: seqLen - region.start,
99
101
  }))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/plugin-canvas",
3
- "version": "4.1.12",
3
+ "version": "4.1.14",
4
4
  "type": "module",
5
5
  "description": "JBrowse 2 plugin for canvas features",
6
6
  "keywords": [
@@ -27,8 +27,8 @@
27
27
  "mobx": "^6.15.0",
28
28
  "mobx-react": "^9.2.1",
29
29
  "rxjs": "^7.8.2",
30
- "@jbrowse/core": "^4.1.12",
31
- "@jbrowse/plugin-linear-genome-view": "^4.1.12"
30
+ "@jbrowse/core": "^4.1.14",
31
+ "@jbrowse/plugin-linear-genome-view": "^4.1.14"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "react": ">=18.0.0"