@sailfish-ai/recorder 1.7.2 → 1.7.3

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
Binary file
@@ -0,0 +1,12 @@
1
+ export declare const DomContentEventId = 24;
2
+ export declare const NetworkRequestEventId = 27;
3
+ export declare const xSf3RidHeader = "X-Sf3-Rid";
4
+ export declare const DomContentSource: {
5
+ loading: number;
6
+ contentLoaded: number;
7
+ complete: number;
8
+ beforeunload: number;
9
+ unload: number;
10
+ };
11
+ export declare const Loading = "loading";
12
+ export declare const Complete = "complete";
@@ -1,5 +1,11 @@
1
1
  import { LogRecordOptions } from "@sailfish-rrweb/rrweb-plugin-console-record";
2
2
  import ReconnectingWebSocket from "reconnecting-websocket";
3
+ export declare const getUrlAndStoredUuids: () => {
4
+ page_visit_uuid: string;
5
+ prev_page_visit_uuid: string;
6
+ href: string;
7
+ };
8
+ export declare function initializeDomContentEvents(): void;
3
9
  export declare function initializeConsolePlugin(consoleRecordSettings: LogRecordOptions): void;
4
10
  export declare function initializeRecording(captureSettings: any, // TODO - Sibyl post-launch - replace type
5
11
  backendApi: string, apiKey: string, sessionId: string): Promise<ReconnectingWebSocket>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sailfish-ai/recorder",
3
- "version": "1.7.2",
3
+ "version": "1.7.3",
4
4
  "publishPublicly": true,
5
5
  "main": "dist/sailfish-recorder.umd.js",
6
6
  "types": "dist/types/index.d.ts",