cozy-iiif 0.2.6 → 0.2.7

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/dist/types.d.ts CHANGED
@@ -61,6 +61,7 @@ export interface CozyCanvas {
61
61
  readonly height: number;
62
62
  readonly images: CozyImageResource[];
63
63
  readonly annotations: AnnotationPage[];
64
+ getImageURL(minSize?: number): string;
64
65
  getLabel(locale?: string): string;
65
66
  getMetadata(locale?: string): CozyMetadata[];
66
67
  getThumbnailURL(minSize?: number): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-iiif",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "A developer-friendly collection of abstractions and utilities built on top of @iiif/presentation-3 and @iiif/parser",
5
5
  "license": "MIT",
6
6
  "author": "Rainer Simon",
package/src/types.ts CHANGED
@@ -99,6 +99,8 @@ export interface CozyCanvas {
99
99
 
100
100
  readonly annotations: AnnotationPage[];
101
101
 
102
+ getImageURL(minSize?: number): string;
103
+
102
104
  getLabel(locale?: string): string;
103
105
 
104
106
  getMetadata(locale?: string): CozyMetadata[];