@smplrspace/smplr-loader 2.38.0 → 2.38.1-beta.1

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.
@@ -784,11 +784,15 @@ declare interface IconLegend extends Pick<IconsSwatchesProps, 'icons'> {
784
784
  type: 'icons';
785
785
  }
786
786
 
787
- export declare interface IconSource {
787
+ export declare type IconSource = ({
788
788
  url: string;
789
+ } | {
790
+ blob: Blob;
791
+ blobIdOrHash: string;
792
+ }) & {
789
793
  width: number;
790
794
  height: number;
791
- }
795
+ };
792
796
 
793
797
  declare interface IconsSwatchesProps {
794
798
  icons: {
@@ -1911,7 +1915,6 @@ export declare class QueryClient {
1911
1915
  public_link_enabled: boolean;
1912
1916
  created_at: string;
1913
1917
  modified_at: string;
1914
- embed_image?: string | null | undefined;
1915
1918
  embed_image_id?: string | null | undefined;
1916
1919
  }>;
1917
1920
  getSpaceFromCache(spaceId: string): {
@@ -1924,7 +1927,6 @@ export declare class QueryClient {
1924
1927
  public_link_enabled: boolean;
1925
1928
  created_at: string;
1926
1929
  modified_at: string;
1927
- embed_image?: string | null | undefined;
1928
1930
  embed_image_id?: string | null | undefined;
1929
1931
  };
1930
1932
  getAllFurnitureInSpace(spaceId: string): Promise<Furniture[]>;
@@ -3314,7 +3316,7 @@ declare interface Vector3Coord extends Vector2Coord {
3314
3316
  z: number;
3315
3317
  }
3316
3318
 
3317
- export declare const version = "2.38.0";
3319
+ export declare const version = "2.38.1-beta.1";
3318
3320
 
3319
3321
  declare interface ViewerRendererHandle {
3320
3322
  // 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.38.0",
3
+ "version": "2.38.1-beta.1",
4
4
  "description": "NPM package to load a typed Smplr.js from CDN easily",
5
5
  "type": "module",
6
6
  "files": [