@smplrspace/smplr-loader 2.10.1-beta.8 → 2.11.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.
@@ -503,7 +503,7 @@ declare interface Vector3Coord extends Vector2Coord {
503
503
  z: number;
504
504
  }
505
505
 
506
- export declare const version = "2.10.1-beta.8";
506
+ export declare const version = "2.11.0";
507
507
 
508
508
  declare interface ViewerOptions {
509
509
  mode?: CameraMode;
@@ -517,6 +517,7 @@ declare interface ViewerOptions {
517
517
  renderOptions?: RenderOptions;
518
518
  onReady?: () => void;
519
519
  onError?: (errorMessage: string) => void;
520
+ onResize?: (containerRect: DOMRect) => void;
520
521
  onModeChange?: (mode: CameraMode) => void;
521
522
  loadingMessage?: string;
522
523
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smplrspace/smplr-loader",
3
- "version": "2.10.1-beta.8",
3
+ "version": "2.11.0",
4
4
  "description": "NPM package to load a typed Smplr.js from CDN easily",
5
5
  "type": "module",
6
6
  "files": [