@openreplay/tracker 16.0.0 → 16.0.2-beta.0
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/README.md +1 -1
- package/dist/cjs/common/interaction.d.ts +2 -2
- package/dist/cjs/index.js +40 -12
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/main/app/index.d.ts +2 -0
- package/dist/lib/common/interaction.d.ts +2 -2
- package/dist/lib/index.js +40 -12
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/main/app/index.d.ts +2 -0
- package/dist/types/common/interaction.d.ts +2 -2
- package/dist/types/main/app/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -194,6 +194,8 @@ export default class App {
|
|
|
194
194
|
startTimeout: ReturnType<typeof setTimeout> | null;
|
|
195
195
|
allowAppStart(): void;
|
|
196
196
|
private checkNodeId;
|
|
197
|
+
heartbeatInterval: ReturnType<typeof setInterval> | null;
|
|
198
|
+
restartTimeout: ReturnType<typeof setTimeout> | null;
|
|
197
199
|
private initWorker;
|
|
198
200
|
private handleWorkerMsg;
|
|
199
201
|
private _debug;
|
|
@@ -22,7 +22,7 @@ export type ToWorkerData = null | 'stop' | Start | Auth | Array<Message> | {
|
|
|
22
22
|
} | {
|
|
23
23
|
type: 'uncompressed';
|
|
24
24
|
batch: Uint8Array;
|
|
25
|
-
} | 'forceFlushBatch' | 'check_queue';
|
|
25
|
+
} | 'forceFlushBatch' | 'check_queue' | 'heartbeat_q';
|
|
26
26
|
type Failure = {
|
|
27
27
|
type: 'failure';
|
|
28
28
|
reason: string;
|
|
@@ -33,5 +33,5 @@ type QEmpty = {
|
|
|
33
33
|
export type FromWorkerData = 'a_stop' | 'a_start' | Failure | 'not_init' | {
|
|
34
34
|
type: 'compress';
|
|
35
35
|
batch: Uint8Array;
|
|
36
|
-
} | QEmpty;
|
|
36
|
+
} | QEmpty | 'heartbeat_a';
|
|
37
37
|
export {};
|
|
@@ -194,6 +194,8 @@ export default class App {
|
|
|
194
194
|
startTimeout: ReturnType<typeof setTimeout> | null;
|
|
195
195
|
allowAppStart(): void;
|
|
196
196
|
private checkNodeId;
|
|
197
|
+
heartbeatInterval: ReturnType<typeof setInterval> | null;
|
|
198
|
+
restartTimeout: ReturnType<typeof setTimeout> | null;
|
|
197
199
|
private initWorker;
|
|
198
200
|
private handleWorkerMsg;
|
|
199
201
|
private _debug;
|