@brainfish-ai/web-tracker 0.0.11 → 0.0.12

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.
@@ -8,6 +8,7 @@ export type TrackerOptions = TrackerSdkOptions & {
8
8
  enableRecording?: boolean;
9
9
  recordingBlocklist?: string[];
10
10
  _allowLocalhostRecording?: boolean;
11
+ _allowScreenRecording?: boolean;
11
12
  };
12
13
  export declare const VERSION: string;
13
14
  export declare class Tracker extends TrackerSdk {
@@ -10,12 +10,14 @@ export default class Agent {
10
10
  sendEvents: ((events: any[]) => Promise<void>) | undefined;
11
11
  recordingBlocklist: string[];
12
12
  _allowLocalhostRecording?: boolean;
13
+ _allowScreenRecording?: boolean;
13
14
  constructor();
14
- start({ endpoint, sendEvents, recordingBlocklist, _allowLocalhostRecording, }: {
15
+ start({ endpoint, sendEvents, recordingBlocklist, _allowLocalhostRecording, _allowScreenRecording, }: {
15
16
  endpoint: string;
16
17
  sendEvents: (events: any[]) => Promise<void>;
17
18
  recordingBlocklist: string[];
18
19
  _allowLocalhostRecording?: boolean;
20
+ _allowScreenRecording?: boolean;
19
21
  }): Promise<void>;
20
22
  handleTimeout(): void;
21
23
  takeFullSnapshot(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brainfish-ai/web-tracker",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "main": "dist/index.js",
5
5
  "description": "Brainfish Tracker for Web",
6
6
  "files": [