@spiffcommerce/preview 5.6.0-beta.0 → 5.6.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.
package/dist/index.d.mts CHANGED
@@ -208,11 +208,6 @@ type ThreeDPreviewService = {
208
208
  * @param options The options to apply.
209
209
  */
210
210
  updatePreviewOptions(options: PreviewOptions): void;
211
- /**
212
- * Forces the camera to stop any animations that are currently running.
213
- * Note this will not resolve any existing promises.
214
- */
215
- forceStopCameraAnimations(): void;
216
211
  };
217
212
  /**
218
213
  * Represents a service capable of managing and returning contexts that
@@ -988,6 +983,7 @@ declare class Configuration {
988
983
  */
989
984
  declare class ProductCamera extends ArcRotateCamera {
990
985
  constructor(name: string, alpha: number, beta: number, radius: number, target: Vector3, scene: Scene, configuration: Configuration, setActiveOnSceneIfNoneActive?: boolean);
986
+ updateConfiguration(configuration: Configuration): void;
991
987
  /**
992
988
  * Stores the current executed target point of the camera. If the camera target changes
993
989
  * via panning we can notify ui about the fact to help users reset the camera.
@@ -1105,7 +1101,6 @@ declare class SpiffCommerce3DPreviewService implements ThreeDPreviewService {
1105
1101
  setCameraPose(cameraPose: CameraPose): void;
1106
1102
  setCameraState(rigType: ProductCameraRig): void;
1107
1103
  animateToLastCameraFocus(): Promise<void>;
1108
- forceStopCameraAnimations(): void;
1109
1104
  setAutoRotation(shouldAutoRotate: boolean): void;
1110
1105
  getCurrentConfiguration(): PreviewOptions | undefined;
1111
1106
  renderSceneScreenshot(resolution: number, camAnim: CameraAnimation): Promise<string>;