@brainfish-ai/web-tracker 0.0.1-alpha.0 → 0.0.2-alpha.2

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/dist/index.d.ts DELETED
@@ -1,21 +0,0 @@
1
- import { TrackerSdkOptions, TrackProperties, TrackerSdk } from '@brainfish-ai/tracker-sdk';
2
- export type * from '@brainfish-ai/tracker-sdk';
3
- export type TrackerOptions = TrackerSdkOptions & {
4
- trackOutgoingLinks?: boolean;
5
- trackScreenViews?: boolean;
6
- trackAttributes?: boolean;
7
- trackHashChanges?: boolean;
8
- };
9
- export declare class Tracker extends TrackerSdk {
10
- options: TrackerOptions;
11
- private lastPath;
12
- private debounceTimer;
13
- constructor(options: TrackerOptions);
14
- private debounce;
15
- private isServer;
16
- trackOutgoingLinks(): void;
17
- trackScreenViews(): void;
18
- trackAttributes(): void;
19
- screenView(properties?: TrackProperties): Promise<void>;
20
- screenView(path: string, properties?: TrackProperties): Promise<void>;
21
- }
package/dist/index.js.gz DELETED
Binary file
File without changes
@@ -1,2 +0,0 @@
1
- declare function captureScreenshot(domBody: HTMLElement): Promise<string>;
2
- export { captureScreenshot };
@@ -1 +0,0 @@
1
- export {};
@@ -1,3 +0,0 @@
1
- declare function redactTextContent(text: string): string;
2
- declare function redactPIIInDOM(element: Element): void;
3
- export { redactPIIInDOM, redactTextContent };
@@ -1 +0,0 @@
1
- export {};
@@ -1,2 +0,0 @@
1
- declare function screenshot(): Promise<string | undefined>;
2
- export { screenshot };