shopar-plugin 0.8.7 → 0.8.8

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.
@@ -8,11 +8,17 @@ import type * as xzimg from "./dynamicModules/xzimg/index";
8
8
  import type * as mediaPipe from "./dynamicModules/mediaPipe/index";
9
9
  export declare type ToneMapping = "Linear" | "Reinhard" | "Cineon" | "ACES" | "AGX" | "Neutral";
10
10
  declare global {
11
- interface Window {
12
- __deeparDynamicJsModule_xzimg__: typeof xzimg;
13
- __deeparDynamicJsModule_mediaPipe__: typeof mediaPipe;
11
+ interface Window extends DynamicDeps {
12
+ define?: ((...args: unknown[]) => void) & {
13
+ amd: object;
14
+ };
15
+ require?: (modules: string[], onLoad: (mod: unknown) => void, onError: () => void) => void;
14
16
  }
15
17
  }
18
+ interface DynamicDeps {
19
+ __deeparDynamicJsModule_xzimg__: typeof xzimg;
20
+ __deeparDynamicJsModule_mediaPipe__: typeof mediaPipe;
21
+ }
16
22
  /**
17
23
  * Initialize the DeepAR SDK.<br><br>
18
24
  * @param params Initialization parameters.
@@ -35,6 +41,7 @@ export declare class DeepAR {
35
41
  */
36
42
  private module;
37
43
  private canvasTouchHelper;
44
+ private isPaused;
38
45
  /**
39
46
  * Callbacks property is used to add/remove/change callbacks called by the DeepAR SDK. See list of all callbacks at {@link DeepARCallbacks}. <br><br>
40
47
  * Example: To add/change certain callback:
@@ -543,3 +550,4 @@ export declare class DeepAR {
543
550
  */
544
551
  setVideoRotation(rotation: number): void;
545
552
  }
553
+ export {};
@@ -1,5 +1,5 @@
1
1
  /**
2
2
  * DeepAR Web SDK version.
3
3
  */
4
- declare const version = "5.6.16-shopar";
4
+ declare const version = "5.6.19-shopar";
5
5
  export { version };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deepar",
3
- "version": "5.6.16-shopar",
3
+ "version": "5.6.19-shopar",
4
4
  "description": "The official DeepAR Web SDK",
5
5
  "main": "js/deepar.esm.js",
6
6
  "jsdelivr": "js/deepar.js",
Binary file