@manuscripts/transform 1.5.8-LEAN-3030-1 → 1.5.8-LEAN-3030-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.
@@ -111,6 +111,9 @@ class Decoder {
111
111
  backmatter: [],
112
112
  };
113
113
  for (const section of sections) {
114
+ if (section.path.length > 1) {
115
+ continue;
116
+ }
114
117
  const category = section.category;
115
118
  const group = category
116
119
  ? (0, section_category_1.getSectionGroupType)(category)
@@ -102,6 +102,9 @@ export class Decoder {
102
102
  backmatter: [],
103
103
  };
104
104
  for (const section of sections) {
105
+ if (section.path.length > 1) {
106
+ continue;
107
+ }
105
108
  const category = section.category;
106
109
  const group = category
107
110
  ? getSectionGroupType(category)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@manuscripts/transform",
3
3
  "description": "ProseMirror transformer for Manuscripts applications",
4
- "version": "1.5.8-LEAN-3030-1",
4
+ "version": "1.5.8-LEAN-3030-2",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-transform",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",