@brainfish-ai/web-tracker 0.0.14 → 0.0.16

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.
@@ -18,6 +18,7 @@ export declare class Tracker extends TrackerSdk {
18
18
  private readonly agent;
19
19
  private readonly sessionManager;
20
20
  private readonly recordingBlocklist;
21
+ private readonly MAX_SCREENSHOT_SIZE;
21
22
  constructor(options: TrackerOptions);
22
23
  private debounce;
23
24
  private isServer;
@@ -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({ endpoint, sendEvents, sendScreenViewEvent, recordingBlocklist, _allowLocalhostRecording, _allowScreenRecording, }: {
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[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brainfish-ai/web-tracker",
3
- "version": "0.0.14",
3
+ "version": "0.0.16",
4
4
  "main": "dist/index.js",
5
5
  "description": "Brainfish Tracker for Web",
6
6
  "files": [