@smplrspace/smplr-loader 2.28.1-beta.0 → 2.28.1-beta.2

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.
@@ -714,8 +714,8 @@ export declare class QueryClient {
714
714
  embed_image?: string | null | undefined;
715
715
  public_link_enabled: boolean;
716
716
  };
717
- getAllFurnitureInSpace(id: string): Promise<Furniture[]>;
718
- getAllFurnitureInSpaceFromCache(id: string): Furniture[];
717
+ getAllFurnitureInSpace(spaceId: string): Promise<Furniture[]>;
718
+ getAllFurnitureInSpaceFromCache(spaceId: string): Furniture[];
719
719
  getFurnitureOnLevel({ spaceId, levelIndex }: {
720
720
  spaceId: string;
721
721
  levelIndex: number;
@@ -742,8 +742,8 @@ export declare class QueryClient {
742
742
  furnitureId: string;
743
743
  closed?: boolean;
744
744
  }): SmplrCoord2d[] | null;
745
- getSpaceAssetmap(id: string): Promise<unknown>;
746
- getSpaceAssetmapFromCache(id: string): unknown;
745
+ getSpaceAssetmap(spaceId: string): Promise<unknown>;
746
+ getSpaceAssetmapFromCache(spaceId: string): unknown;
747
747
  getPolylineLength({ line, unit }: {
748
748
  line: SmplrCoord3d[];
749
749
  unit?: 'ft' | 'm' | 'cm' | 'mm';
@@ -826,8 +826,8 @@ export declare class QueryClient {
826
826
  spaceId: string;
827
827
  point: SmplrCoord2d;
828
828
  }): RoomWithHoles | null;
829
- getAllDoorsInSpace(id: string): Promise<Opening[]>;
830
- getAllDoorsInSpaceFromCache(id: string): Opening[];
829
+ getAllDoorsInSpace(spaceId: string): Promise<Opening[]>;
830
+ getAllDoorsInSpaceFromCache(spaceId: string): Opening[];
831
831
  getDoorsOnLevel({ spaceId, levelIndex }: {
832
832
  spaceId: string;
833
833
  levelIndex: number;
@@ -836,8 +836,8 @@ export declare class QueryClient {
836
836
  spaceId: string;
837
837
  levelIndex: number;
838
838
  }): Opening[];
839
- getAllWindowsInSpace(id: string): Promise<Opening[]>;
840
- getAllWindowsInSpaceFromCache(id: string): Opening[];
839
+ getAllWindowsInSpace(spaceId: string): Promise<Opening[]>;
840
+ getAllWindowsInSpaceFromCache(spaceId: string): Opening[];
841
841
  getWindowsOnLevel({ spaceId, levelIndex }: {
842
842
  spaceId: string;
843
843
  levelIndex: number;
@@ -1090,7 +1090,7 @@ declare interface Vector3Coord extends Vector2Coord {
1090
1090
  z: number;
1091
1091
  }
1092
1092
 
1093
- export declare const version = "2.28.1-beta.0";
1093
+ export declare const version = "2.28.1-beta.2";
1094
1094
 
1095
1095
  declare interface ViewerRendererHandle {
1096
1096
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smplrspace/smplr-loader",
3
- "version": "2.28.1-beta.0",
3
+ "version": "2.28.1-beta.2",
4
4
  "description": "NPM package to load a typed Smplr.js from CDN easily",
5
5
  "type": "module",
6
6
  "files": [