@micrio/client 5.4.18 → 5.4.20

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/micrio.min.d.ts CHANGED
@@ -4,7 +4,7 @@ declare module '@micrio/client' {
4
4
  * Defines the current version of the Micrio library.
5
5
  * This constant is used internally and exposed statically via `HTMLMicrioElement.VERSION`.
6
6
  */
7
- export const VERSION = "5.4.18";
7
+ export const VERSION = "5.4.20";
8
8
  /**
9
9
  * Loads an image texture asynchronously. Adds the request to the queue
10
10
  * and returns a Promise that resolves with the TextureBitmap or rejects on error.
@@ -1025,6 +1025,18 @@ declare module '@micrio/client' {
1025
1025
  iiifManifest?: string;
1026
1026
  /** The album (V5+) ID */
1027
1027
  albumId?: string;
1028
+ /** Single-canvas sequence -- IIIF Presentation API 3 */
1029
+ type?: ('Manifest' | 'Canvas' | 'AnnotationPage' | 'Annotation' | 'Image');
1030
+ items?: Partial<ImageInfo.ImageInfo>[];
1031
+ body?: Partial<ImageInfo.ImageInfo> & {
1032
+ format: string;
1033
+ width: number;
1034
+ height: number;
1035
+ service: {
1036
+ id: string;
1037
+ type: 'ImageService3';
1038
+ }[];
1039
+ };
1028
1040
  /** The 360 tour space ID */
1029
1041
  spacesId?: string;
1030
1042
  };
@@ -1224,6 +1236,8 @@ declare module '@micrio/client' {
1224
1236
  * uniform float u_time; // elapsed time in seconds
1225
1237
  */
1226
1238
  postProcessingFragmentShader?: string;
1239
+ /** Watermark opacity, defaults to 0.075 */
1240
+ watermarkOpacity?: number;
1227
1241
  };
1228
1242
  type GallerySettings = {
1229
1243
  /** Gallery has an associated .bin archive with thumbnails */