@micrio/client 5.1.33 → 5.1.35

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
@@ -1,6 +1,6 @@
1
1
  declare module '@micrio/client' {
2
2
  import type { Readable, Writable } from 'svelte/store';
3
- export const VERSION = "5.1.33";
3
+ export const VERSION = "5.1.35";
4
4
  export type PREDEFINED = [string, Models.ImageInfo.ImageInfo, Models.ImageData.ImageData | undefined];
5
5
  export const isFetching: (uri: string) => boolean;
6
6
  export const getLocalData: (id: string) => PREDEFINED | undefined;
@@ -448,6 +448,8 @@ declare module '@micrio/client' {
448
448
  getOmniRotation(): number;
449
449
  /** [Omni] Get the corresponding frame number to current rotation */
450
450
  getOmniFrame(rot?: number): number | undefined;
451
+ /** [Omni] Get the corresponding screen coordinates based on xyz coords */
452
+ getOmniXY(x: number, y: number, z: number): Float64Array;
451
453
  setOmniSettings(): void;
452
454
  }
453
455
  export const BASEPATH_V5: string;
@@ -1236,6 +1238,8 @@ declare module '@micrio/client' {
1236
1238
  [key: string]: string | undefined;
1237
1239
  };
1238
1240
  }[];
1241
+ /** Optional starting layer idx */
1242
+ layerStartIndex?: number;
1239
1243
  /** Hide the rotation dial */
1240
1244
  noDial?: boolean;
1241
1245
  /** Show degrees on dial */