skyflow-js 1.36.4 → 1.37.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.36.4",
5
+ "version": "1.37.0",
6
6
  "author": "Skyflow",
7
7
  "description": "Skyflow JavaScript SDK",
8
8
  "homepage": "https://github.com/skyflowapi/skyflow-js",
@@ -5,6 +5,9 @@ export declare const COLLECT_FRAME_CONTROLLER = "collect_controller";
5
5
  export declare const REVEAL_FRAME_CONTROLLER = "reveal_controller";
6
6
  export declare const SKYFLOW_FRAME_CONTROLLER = "skyflow_controller";
7
7
  export declare const FRAME_REVEAL = "reveal";
8
+ export declare const SDK_IFRAME_EVENT = "SDK IFRAME EVENT";
9
+ export declare const DOMAIN = "US2";
10
+ export declare const CORALOGIX_DOMAIN = "https://cdn.rum-ingress-coralogix.com/coralogix/browser/latest/coralogix-browser-sdk.js";
8
11
  export declare const FRAME_ELEMENT = "element";
9
12
  export declare const ELEMENT_TYPES: {
10
13
  COLLECT: string;
@@ -21,7 +21,7 @@ export interface IRevealElementOptions {
21
21
  declare class RevealContainer extends Container {
22
22
  #private;
23
23
  type: string;
24
- constructor(metaData: any, skyflowElements: any, context: any);
24
+ constructor(metaData: any, skyflowElements: any, context: any, options?: {});
25
25
  create(record: IRevealElementInput, options?: IRevealElementOptions): RevealElement;
26
26
  reveal(): Promise<unknown>;
27
27
  }
@@ -5,6 +5,5 @@ declare class SkyflowFrameController {
5
5
  static init(clientId: any): SkyflowFrameController;
6
6
  insertData(records: any, options: any): Promise<unknown>;
7
7
  renderFile(data: IRevealRecord, containerId: any, iframeName: any): Promise<unknown>;
8
- pushEvent(event: any): Promise<unknown>;
9
8
  }
10
9
  export default SkyflowFrameController;
@@ -3,5 +3,5 @@ export declare const METRIC_OBJECT: SharedMeticsObjectType;
3
3
  export declare function initalizeMetricObject(metadata: any, elementId: string): void;
4
4
  export declare function updateMetricObjectValue(id: string, key: string, value: any): void;
5
5
  export declare function getEventStatus(metricEvent: MeticsObjectType): string;
6
- export declare function pushEventToMixpanel(elementId: string): void;
6
+ export declare function pushEvent(elementId: string): void;
7
7
  export declare function pushElementEventWithTimeout(elementID: string): void;
@@ -1,3 +1,8 @@
1
+ declare global {
2
+ interface Window {
3
+ CoralogixRum: any;
4
+ }
5
+ }
1
6
  export declare enum RedactionType {
2
7
  DEFAULT = "DEFAULT",
3
8
  PLAIN_TEXT = "PLAIN_TEXT",
@@ -49,6 +49,7 @@ export declare function getMetaObject(sdkDetails: any, metaData: any, navigator:
49
49
  sdk_runtime_details: string;
50
50
  };
51
51
  export declare function checkAndSetForCustomUrl(config: ISkyflow): void;
52
- export declare function getVaultBeffeURL(vaultURL: string): string;
53
52
  export declare const generateUploadFileName: (fileName: string) => string;
53
+ export declare const getValueFromName: (name: string, index: number) => string;
54
+ export declare const getAtobValue: (encodedValue: string) => string;
54
55
  export {};