@openreplay/tracker 18.1.3 → 18.1.4
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/cjs/common/interaction.d.ts +4 -17
- package/dist/cjs/entry.js +19 -39
- package/dist/cjs/entry.js.map +1 -1
- package/dist/cjs/index.js +19 -39
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/main/app/index.d.ts +0 -1
- package/dist/lib/common/interaction.d.ts +4 -17
- package/dist/lib/entry.js +19 -39
- package/dist/lib/entry.js.map +1 -1
- package/dist/lib/index.js +19 -39
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/main/app/index.d.ts +0 -1
- package/dist/types/common/interaction.d.ts +4 -17
- package/dist/types/main/app/index.d.ts +0 -1
- package/package.json +1 -1
|
@@ -12,24 +12,16 @@ type Start = {
|
|
|
12
12
|
url: string;
|
|
13
13
|
tabId: string;
|
|
14
14
|
localDebug?: boolean;
|
|
15
|
+
compressionThreshold?: number;
|
|
15
16
|
} & Options;
|
|
16
17
|
type Auth = {
|
|
17
18
|
type: 'auth';
|
|
18
19
|
token: string;
|
|
19
20
|
beaconSizeLimit?: number;
|
|
20
21
|
protocolVersion?: number;
|
|
22
|
+
compressionThreshold?: number;
|
|
21
23
|
};
|
|
22
|
-
export type ToWorkerData = null | 'stop' | Start | Auth | Array<Message> |
|
|
23
|
-
type: 'compressed';
|
|
24
|
-
batch: Uint8Array;
|
|
25
|
-
dataType: DataType;
|
|
26
|
-
split?: number;
|
|
27
|
-
} | {
|
|
28
|
-
type: 'uncompressed';
|
|
29
|
-
batch: Uint8Array;
|
|
30
|
-
dataType: DataType;
|
|
31
|
-
split?: number;
|
|
32
|
-
} | 'forceFlushBatch' | 'closing' | 'check_queue';
|
|
24
|
+
export type ToWorkerData = null | 'stop' | Start | Auth | Array<Message> | 'forceFlushBatch' | 'closing' | 'check_queue';
|
|
33
25
|
type Failure = {
|
|
34
26
|
type: 'failure';
|
|
35
27
|
reason: string;
|
|
@@ -42,10 +34,5 @@ type LocalSave = {
|
|
|
42
34
|
name: string;
|
|
43
35
|
batch: Uint8Array;
|
|
44
36
|
};
|
|
45
|
-
export type FromWorkerData = 'a_stop' | 'a_start' | Failure | 'not_init' |
|
|
46
|
-
type: 'compress';
|
|
47
|
-
batch: Uint8Array;
|
|
48
|
-
dataType: DataType;
|
|
49
|
-
split?: number;
|
|
50
|
-
} | QEmpty | LocalSave;
|
|
37
|
+
export type FromWorkerData = 'a_stop' | 'a_start' | Failure | 'not_init' | QEmpty | LocalSave;
|
|
51
38
|
export {};
|