mirador-annotation-editor-video 1.0.97 → 1.0.98

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.
@@ -10,4 +10,5 @@ export const manifestsCatalog = [
10
10
  { manifestId: 'https://files.tetras-libre.fr/dev/vertical_video_with_annot.json' },
11
11
  { manifestId: 'https://files.tetras-libre.fr/dev/youtube.json' },
12
12
  { manifestId: 'https://files.tetras-libre.fr/dev/peertube.json' },
13
+ { manifestId: 'https://files.tetras-libre.fr/dev/milansanremo25.json' },
13
14
  ];
package/es/IIIFUtils.js CHANGED
@@ -59,7 +59,7 @@ const convertAnnotationStateToBeSaved = async (annotationState, canvas, windowId
59
59
  annotationStateForSaving.body.push(...annotationState.maeData.tags.map(tag => ({
60
60
  purpose: 'tagging',
61
61
  type: 'TextualBody',
62
- value: tag.text,
62
+ value: tag.value,
63
63
  id: tag.id
64
64
  })));
65
65
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mirador-annotation-editor-video",
3
- "version": "1.0.97",
3
+ "version": "1.0.98",
4
4
  "description": "Mirador annotation editor video plugin in a React component. Mirador 4 (Alpha 2) compatible ",
5
5
  "main": "es/index.js",
6
6
  "module": "es/index.js",
@@ -94,7 +94,7 @@
94
94
  "jest-canvas-mock": "^2.2.0",
95
95
  "jest-junit": "^15.0.0",
96
96
  "jest-localstorage-mock": "^2.4.2",
97
- "mirador": "npm:mirador-video@1.0.23",
97
+ "mirador": "npm:mirador-video@1.0.26",
98
98
  "prop-types": "^15.7.2",
99
99
  "react": "^18.2.0",
100
100
  "react-dom": "^18.0",
package/src/IIIFUtils.js CHANGED
@@ -72,7 +72,7 @@ export const convertAnnotationStateToBeSaved = async (
72
72
  annotationStateForSaving.body.push(...annotationState.maeData.tags.map((tag) => ({
73
73
  purpose: 'tagging',
74
74
  type: 'TextualBody',
75
- value: tag.text,
75
+ value: tag.value,
76
76
  id: tag.id,
77
77
  })));
78
78
  }