ochre-sdk 0.21.1 → 0.21.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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -190,7 +190,7 @@ function extractAnnotationMetadata(item) {
190
190
  result.linkVariant = "entry-page";
191
191
  break;
192
192
  default: if (textAnnotationPropertyValueUuid === "3e6f86ab-df81-45ae-8257-e2867357df56" && textAnnotationProperty.property != null) {
193
- let textStylingVariant = "paragraph";
193
+ let textStylingVariant = "block";
194
194
  let textStylingSize = "md";
195
195
  let textStylingHeadingLevel = null;
196
196
  let textStylingCss = [];
@@ -371,7 +371,7 @@ function parseStringDocumentItem(item) {
371
371
  if (textAnnotationProperty != null) {
372
372
  if ((typeof textAnnotationProperty.value === "object" && "uuid" in textAnnotationProperty.value && textAnnotationProperty.value.uuid != null ? textAnnotationProperty.value.uuid : null) === "3e6f86ab-df81-45ae-8257-e2867357df56" && textAnnotationProperty.property != null) {
373
373
  const textStylingType = "text-styling";
374
- let textStylingVariant = "paragraph";
374
+ let textStylingVariant = "block";
375
375
  let textStylingSize = "md";
376
376
  let textStylingHeadingLevel = null;
377
377
  let textStylingCss = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ochre-sdk",
3
- "version": "0.21.1",
3
+ "version": "0.21.2",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Node.js library for working with OCHRE (Online Cultural and Historical Research Environment) data",