skyflow-js 1.33.4 → 1.34.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.
Binary file
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "skyflow-js",
3
3
  "preferGlobal": true,
4
4
  "analyze": false,
5
- "version": "1.33.4",
5
+ "version": "1.34.0",
6
6
  "author": "Skyflow",
7
7
  "description": "Skyflow JavaScript SDK",
8
8
  "homepage": "https://github.com/skyflowapi/skyflow-js",
@@ -57,6 +57,7 @@ export declare const ELEMENT_EVENTS_TO_IFRAME: {
57
57
  export declare const REVEAL_ELEMENT_OPTIONS_TYPES: {
58
58
  TOKEN: string;
59
59
  ALT_TEXT: string;
60
+ ELEMENT_PROPS: string;
60
61
  };
61
62
  export declare const ELEMENT_EVENTS_TO_CONTAINER: {
62
63
  ELEMENT_MOUNTED: string;
@@ -6,12 +6,14 @@ declare class CollectElement extends SkyflowElement {
6
6
  elementType: string;
7
7
  type: string;
8
8
  containerId: string;
9
+ resizeObserver: ResizeObserver | null;
9
10
  constructor(elementId: string, elementGroup: any, metaData: any, container: any, isSingleElementAPI: boolean | undefined, destroyCallback: Function, updateCallback: Function, context: Context, groupEventEmitter?: EventEmitter);
10
11
  getID: () => string;
11
12
  mount: (domElement: any) => void;
12
13
  unmount: () => void;
13
- update: (group: any) => void;
14
+ updateElementGroup: (group: any) => void;
14
15
  updateElement: (elementOptions: any) => void;
16
+ update: (options: any) => void;
15
17
  getState: () => {
16
18
  isEmpty: boolean;
17
19
  isComplete: boolean;
@@ -24,6 +26,7 @@ declare class CollectElement extends SkyflowElement {
24
26
  on(eventName: string, handler: any): void;
25
27
  iframeName(): string;
26
28
  isMounted(): boolean;
29
+ isUpdateCalled(): boolean;
27
30
  isValidElement(): boolean;
28
31
  setError(clientErrorText: string): void;
29
32
  resetError(): void;
@@ -18,5 +18,6 @@ declare class RevealElement extends SkyflowElement {
18
18
  clearAltText(): void;
19
19
  setToken(token: string): void;
20
20
  unmount(): void;
21
+ update(options: any): void;
21
22
  }
22
23
  export default RevealElement;
@@ -7,6 +7,7 @@ declare class RevealFrame {
7
7
  constructor(record: any, context: any);
8
8
  private setRevealError;
9
9
  private updateRevealElementOptions;
10
+ private updateElementProps;
10
11
  private updateDataView;
11
12
  }
12
13
  export default RevealFrame;