@brainfish-ai/web-tracker 0.0.14 → 0.0.15
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.cjs.js +5 -5
- package/dist/index.cjs.js.gz +0 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +148 -152
- package/dist/index.js.gz +0 -0
- package/dist/index.js.map +1 -1
- package/dist/src/record/index.d.ts +1 -3
- package/package.json +1 -1
|
@@ -5,7 +5,6 @@ import { default as SessionManager } from '../session/sessionManager';
|
|
|
5
5
|
export default class Agent {
|
|
6
6
|
recordingManager: RecordingManager;
|
|
7
7
|
sender: Sender;
|
|
8
|
-
endpoint: string | undefined;
|
|
9
8
|
MAX_IDLE_TIME: any;
|
|
10
9
|
timer: Timer | undefined;
|
|
11
10
|
sendEvents: ((events: any[]) => Promise<void>) | undefined;
|
|
@@ -17,8 +16,7 @@ export default class Agent {
|
|
|
17
16
|
private static _sessionManager;
|
|
18
17
|
get sessionManager(): SessionManager;
|
|
19
18
|
constructor();
|
|
20
|
-
start({
|
|
21
|
-
endpoint: string;
|
|
19
|
+
start({ sendEvents, sendScreenViewEvent, recordingBlocklist, _allowLocalhostRecording, _allowScreenRecording, }: {
|
|
22
20
|
sendEvents: (events: any[]) => Promise<void>;
|
|
23
21
|
sendScreenViewEvent: (props: any) => void;
|
|
24
22
|
recordingBlocklist: string[];
|