@paulhectork/aiiinotate 0.12.4 → 0.12.6

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paulhectork/aiiinotate",
3
- "version": "0.12.4",
3
+ "version": "0.12.6",
4
4
  "description": "a fast IIIF-compliant annotation server",
5
5
  "main": "./cli/index.js",
6
6
  "type": "module",
@@ -253,7 +253,6 @@ class Annotations2 extends CollectionAbstract {
253
253
  * @returns {Promise<object>} the updated annotation
254
254
  */
255
255
  async #updateAnnotationPostManifestInsert(annotation, insertedManifestIds, throwOnCanvasIndexError) {
256
- this.fastify.log.error(inspectObj(annotation))
257
256
  /** @type {object[]} */
258
257
  let targetArray = annotation.on;
259
258
  targetArray = await Promise.all(
@@ -285,6 +284,8 @@ class Annotations2 extends CollectionAbstract {
285
284
  let converted;
286
285
  [ annotationData, converted ] = maybeToArray(annotationData, true);
287
286
 
287
+ this.fastify.log.error(`${inspectObj(annotationData)}`)
288
+
288
289
  // 1. get all distinct manifest URIs
289
290
  const manifestUris = [];
290
291
  annotationData.map((ann) => ann.on.map((target) => {