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

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: {
@@ -3314,7 +3318,7 @@ declare interface Vector3Coord extends Vector2Coord {
3314
3318
  z: number;
3315
3319
  }
3316
3320
 
3317
- export declare const version = "2.38.0";
3321
+ export declare const version = "2.38.1-beta.0";
3318
3322
 
3319
3323
  declare interface ViewerRendererHandle {
3320
3324
  // 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.0",
4
4
  "description": "NPM package to load a typed Smplr.js from CDN easily",
5
5
  "type": "module",
6
6
  "files": [