@openreplay/tracker 3.6.0-beta.0 → 3.6.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.
@@ -1,8 +1,7 @@
1
1
  // Auto-generated, do not edit
2
- import * as Messages from '../common/messages.gen.js';
3
2
  export function BatchMetadata(version, pageNo, firstIndex, timestamp, location) {
4
3
  return [
5
- Messages.Type.BatchMetadata,
4
+ 81 /* BatchMetadata */,
6
5
  version,
7
6
  pageNo,
8
7
  firstIndex,
@@ -12,20 +11,20 @@ export function BatchMetadata(version, pageNo, firstIndex, timestamp, location)
12
11
  }
13
12
  export function PartitionedMessage(partNo, partTotal) {
14
13
  return [
15
- Messages.Type.PartitionedMessage,
14
+ 82 /* PartitionedMessage */,
16
15
  partNo,
17
16
  partTotal,
18
17
  ];
19
18
  }
20
19
  export function Timestamp(timestamp) {
21
20
  return [
22
- Messages.Type.Timestamp,
21
+ 0 /* Timestamp */,
23
22
  timestamp,
24
23
  ];
25
24
  }
26
25
  export function SetPageLocation(url, referrer, navigationStart) {
27
26
  return [
28
- Messages.Type.SetPageLocation,
27
+ 4 /* SetPageLocation */,
29
28
  url,
30
29
  referrer,
31
30
  navigationStart,
@@ -33,26 +32,26 @@ export function SetPageLocation(url, referrer, navigationStart) {
33
32
  }
34
33
  export function SetViewportSize(width, height) {
35
34
  return [
36
- Messages.Type.SetViewportSize,
35
+ 5 /* SetViewportSize */,
37
36
  width,
38
37
  height,
39
38
  ];
40
39
  }
41
40
  export function SetViewportScroll(x, y) {
42
41
  return [
43
- Messages.Type.SetViewportScroll,
42
+ 6 /* SetViewportScroll */,
44
43
  x,
45
44
  y,
46
45
  ];
47
46
  }
48
47
  export function CreateDocument() {
49
48
  return [
50
- Messages.Type.CreateDocument,
49
+ 7 /* CreateDocument */,
51
50
  ];
52
51
  }
53
52
  export function CreateElementNode(id, parentID, index, tag, svg) {
54
53
  return [
55
- Messages.Type.CreateElementNode,
54
+ 8 /* CreateElementNode */,
56
55
  id,
57
56
  parentID,
58
57
  index,
@@ -62,7 +61,7 @@ export function CreateElementNode(id, parentID, index, tag, svg) {
62
61
  }
63
62
  export function CreateTextNode(id, parentID, index) {
64
63
  return [
65
- Messages.Type.CreateTextNode,
64
+ 9 /* CreateTextNode */,
66
65
  id,
67
66
  parentID,
68
67
  index,
@@ -70,7 +69,7 @@ export function CreateTextNode(id, parentID, index) {
70
69
  }
71
70
  export function MoveNode(id, parentID, index) {
72
71
  return [
73
- Messages.Type.MoveNode,
72
+ 10 /* MoveNode */,
74
73
  id,
75
74
  parentID,
76
75
  index,
@@ -78,13 +77,13 @@ export function MoveNode(id, parentID, index) {
78
77
  }
79
78
  export function RemoveNode(id) {
80
79
  return [
81
- Messages.Type.RemoveNode,
80
+ 11 /* RemoveNode */,
82
81
  id,
83
82
  ];
84
83
  }
85
84
  export function SetNodeAttribute(id, name, value) {
86
85
  return [
87
- Messages.Type.SetNodeAttribute,
86
+ 12 /* SetNodeAttribute */,
88
87
  id,
89
88
  name,
90
89
  value,
@@ -92,21 +91,21 @@ export function SetNodeAttribute(id, name, value) {
92
91
  }
93
92
  export function RemoveNodeAttribute(id, name) {
94
93
  return [
95
- Messages.Type.RemoveNodeAttribute,
94
+ 13 /* RemoveNodeAttribute */,
96
95
  id,
97
96
  name,
98
97
  ];
99
98
  }
100
99
  export function SetNodeData(id, data) {
101
100
  return [
102
- Messages.Type.SetNodeData,
101
+ 14 /* SetNodeData */,
103
102
  id,
104
103
  data,
105
104
  ];
106
105
  }
107
106
  export function SetNodeScroll(id, x, y) {
108
107
  return [
109
- Messages.Type.SetNodeScroll,
108
+ 16 /* SetNodeScroll */,
110
109
  id,
111
110
  x,
112
111
  y,
@@ -114,14 +113,14 @@ export function SetNodeScroll(id, x, y) {
114
113
  }
115
114
  export function SetInputTarget(id, label) {
116
115
  return [
117
- Messages.Type.SetInputTarget,
116
+ 17 /* SetInputTarget */,
118
117
  id,
119
118
  label,
120
119
  ];
121
120
  }
122
121
  export function SetInputValue(id, value, mask) {
123
122
  return [
124
- Messages.Type.SetInputValue,
123
+ 18 /* SetInputValue */,
125
124
  id,
126
125
  value,
127
126
  mask,
@@ -129,28 +128,28 @@ export function SetInputValue(id, value, mask) {
129
128
  }
130
129
  export function SetInputChecked(id, checked) {
131
130
  return [
132
- Messages.Type.SetInputChecked,
131
+ 19 /* SetInputChecked */,
133
132
  id,
134
133
  checked,
135
134
  ];
136
135
  }
137
136
  export function MouseMove(x, y) {
138
137
  return [
139
- Messages.Type.MouseMove,
138
+ 20 /* MouseMove */,
140
139
  x,
141
140
  y,
142
141
  ];
143
142
  }
144
143
  export function ConsoleLog(level, value) {
145
144
  return [
146
- Messages.Type.ConsoleLog,
145
+ 22 /* ConsoleLog */,
147
146
  level,
148
147
  value,
149
148
  ];
150
149
  }
151
150
  export function PageLoadTiming(requestStart, responseStart, responseEnd, domContentLoadedEventStart, domContentLoadedEventEnd, loadEventStart, loadEventEnd, firstPaint, firstContentfulPaint) {
152
151
  return [
153
- Messages.Type.PageLoadTiming,
152
+ 23 /* PageLoadTiming */,
154
153
  requestStart,
155
154
  responseStart,
156
155
  responseEnd,
@@ -164,7 +163,7 @@ export function PageLoadTiming(requestStart, responseStart, responseEnd, domCont
164
163
  }
165
164
  export function PageRenderTiming(speedIndex, visuallyComplete, timeToInteractive) {
166
165
  return [
167
- Messages.Type.PageRenderTiming,
166
+ 24 /* PageRenderTiming */,
168
167
  speedIndex,
169
168
  visuallyComplete,
170
169
  timeToInteractive,
@@ -172,7 +171,7 @@ export function PageRenderTiming(speedIndex, visuallyComplete, timeToInteractive
172
171
  }
173
172
  export function JSException(name, message, payload) {
174
173
  return [
175
- Messages.Type.JSException,
174
+ 25 /* JSException */,
176
175
  name,
177
176
  message,
178
177
  payload,
@@ -180,33 +179,33 @@ export function JSException(name, message, payload) {
180
179
  }
181
180
  export function RawCustomEvent(name, payload) {
182
181
  return [
183
- Messages.Type.RawCustomEvent,
182
+ 27 /* RawCustomEvent */,
184
183
  name,
185
184
  payload,
186
185
  ];
187
186
  }
188
187
  export function UserID(id) {
189
188
  return [
190
- Messages.Type.UserID,
189
+ 28 /* UserID */,
191
190
  id,
192
191
  ];
193
192
  }
194
193
  export function UserAnonymousID(id) {
195
194
  return [
196
- Messages.Type.UserAnonymousID,
195
+ 29 /* UserAnonymousID */,
197
196
  id,
198
197
  ];
199
198
  }
200
199
  export function Metadata(key, value) {
201
200
  return [
202
- Messages.Type.Metadata,
201
+ 30 /* Metadata */,
203
202
  key,
204
203
  value,
205
204
  ];
206
205
  }
207
206
  export function CSSInsertRule(id, rule, index) {
208
207
  return [
209
- Messages.Type.CSSInsertRule,
208
+ 37 /* CSSInsertRule */,
210
209
  id,
211
210
  rule,
212
211
  index,
@@ -214,14 +213,14 @@ export function CSSInsertRule(id, rule, index) {
214
213
  }
215
214
  export function CSSDeleteRule(id, index) {
216
215
  return [
217
- Messages.Type.CSSDeleteRule,
216
+ 38 /* CSSDeleteRule */,
218
217
  id,
219
218
  index,
220
219
  ];
221
220
  }
222
221
  export function Fetch(method, url, request, response, status, timestamp, duration) {
223
222
  return [
224
- Messages.Type.Fetch,
223
+ 39 /* Fetch */,
225
224
  method,
226
225
  url,
227
226
  request,
@@ -233,7 +232,7 @@ export function Fetch(method, url, request, response, status, timestamp, duratio
233
232
  }
234
233
  export function Profiler(name, duration, args, result) {
235
234
  return [
236
- Messages.Type.Profiler,
235
+ 40 /* Profiler */,
237
236
  name,
238
237
  duration,
239
238
  args,
@@ -242,20 +241,20 @@ export function Profiler(name, duration, args, result) {
242
241
  }
243
242
  export function OTable(key, value) {
244
243
  return [
245
- Messages.Type.OTable,
244
+ 41 /* OTable */,
246
245
  key,
247
246
  value,
248
247
  ];
249
248
  }
250
249
  export function StateAction(type) {
251
250
  return [
252
- Messages.Type.StateAction,
251
+ 42 /* StateAction */,
253
252
  type,
254
253
  ];
255
254
  }
256
255
  export function Redux(action, state, duration) {
257
256
  return [
258
- Messages.Type.Redux,
257
+ 44 /* Redux */,
259
258
  action,
260
259
  state,
261
260
  duration,
@@ -263,21 +262,21 @@ export function Redux(action, state, duration) {
263
262
  }
264
263
  export function Vuex(mutation, state) {
265
264
  return [
266
- Messages.Type.Vuex,
265
+ 45 /* Vuex */,
267
266
  mutation,
268
267
  state,
269
268
  ];
270
269
  }
271
270
  export function MobX(type, payload) {
272
271
  return [
273
- Messages.Type.MobX,
272
+ 46 /* MobX */,
274
273
  type,
275
274
  payload,
276
275
  ];
277
276
  }
278
277
  export function NgRx(action, state, duration) {
279
278
  return [
280
- Messages.Type.NgRx,
279
+ 47 /* NgRx */,
281
280
  action,
282
281
  state,
283
282
  duration,
@@ -285,7 +284,7 @@ export function NgRx(action, state, duration) {
285
284
  }
286
285
  export function GraphQL(operationKind, operationName, variables, response) {
287
286
  return [
288
- Messages.Type.GraphQL,
287
+ 48 /* GraphQL */,
289
288
  operationKind,
290
289
  operationName,
291
290
  variables,
@@ -294,7 +293,7 @@ export function GraphQL(operationKind, operationName, variables, response) {
294
293
  }
295
294
  export function PerformanceTrack(frames, ticks, totalJSHeapSize, usedJSHeapSize) {
296
295
  return [
297
- Messages.Type.PerformanceTrack,
296
+ 49 /* PerformanceTrack */,
298
297
  frames,
299
298
  ticks,
300
299
  totalJSHeapSize,
@@ -303,7 +302,7 @@ export function PerformanceTrack(frames, ticks, totalJSHeapSize, usedJSHeapSize)
303
302
  }
304
303
  export function ResourceTiming(timestamp, duration, ttfb, headerSize, encodedBodySize, decodedBodySize, url, initiator) {
305
304
  return [
306
- Messages.Type.ResourceTiming,
305
+ 53 /* ResourceTiming */,
307
306
  timestamp,
308
307
  duration,
309
308
  ttfb,
@@ -316,20 +315,20 @@ export function ResourceTiming(timestamp, duration, ttfb, headerSize, encodedBod
316
315
  }
317
316
  export function ConnectionInformation(downlink, type) {
318
317
  return [
319
- Messages.Type.ConnectionInformation,
318
+ 54 /* ConnectionInformation */,
320
319
  downlink,
321
320
  type,
322
321
  ];
323
322
  }
324
323
  export function SetPageVisibility(hidden) {
325
324
  return [
326
- Messages.Type.SetPageVisibility,
325
+ 55 /* SetPageVisibility */,
327
326
  hidden,
328
327
  ];
329
328
  }
330
329
  export function LongTask(timestamp, duration, context, containerType, containerSrc, containerId, containerName) {
331
330
  return [
332
- Messages.Type.LongTask,
331
+ 59 /* LongTask */,
333
332
  timestamp,
334
333
  duration,
335
334
  context,
@@ -341,7 +340,7 @@ export function LongTask(timestamp, duration, context, containerType, containerS
341
340
  }
342
341
  export function SetNodeAttributeURLBased(id, name, value, baseURL) {
343
342
  return [
344
- Messages.Type.SetNodeAttributeURLBased,
343
+ 60 /* SetNodeAttributeURLBased */,
345
344
  id,
346
345
  name,
347
346
  value,
@@ -350,7 +349,7 @@ export function SetNodeAttributeURLBased(id, name, value, baseURL) {
350
349
  }
351
350
  export function SetCSSDataURLBased(id, data, baseURL) {
352
351
  return [
353
- Messages.Type.SetCSSDataURLBased,
352
+ 61 /* SetCSSDataURLBased */,
354
353
  id,
355
354
  data,
356
355
  baseURL,
@@ -358,21 +357,21 @@ export function SetCSSDataURLBased(id, data, baseURL) {
358
357
  }
359
358
  export function TechnicalInfo(type, value) {
360
359
  return [
361
- Messages.Type.TechnicalInfo,
360
+ 63 /* TechnicalInfo */,
362
361
  type,
363
362
  value,
364
363
  ];
365
364
  }
366
365
  export function CustomIssue(name, payload) {
367
366
  return [
368
- Messages.Type.CustomIssue,
367
+ 64 /* CustomIssue */,
369
368
  name,
370
369
  payload,
371
370
  ];
372
371
  }
373
372
  export function CSSInsertRuleURLBased(id, rule, index, baseURL) {
374
373
  return [
375
- Messages.Type.CSSInsertRuleURLBased,
374
+ 67 /* CSSInsertRuleURLBased */,
376
375
  id,
377
376
  rule,
378
377
  index,
@@ -381,7 +380,7 @@ export function CSSInsertRuleURLBased(id, rule, index, baseURL) {
381
380
  }
382
381
  export function MouseClick(id, hesitationTime, label, selector) {
383
382
  return [
384
- Messages.Type.MouseClick,
383
+ 69 /* MouseClick */,
385
384
  id,
386
385
  hesitationTime,
387
386
  label,
@@ -390,14 +389,14 @@ export function MouseClick(id, hesitationTime, label, selector) {
390
389
  }
391
390
  export function CreateIFrameDocument(frameID, id) {
392
391
  return [
393
- Messages.Type.CreateIFrameDocument,
392
+ 70 /* CreateIFrameDocument */,
394
393
  frameID,
395
394
  id,
396
395
  ];
397
396
  }
398
397
  export function AdoptedSSReplaceURLBased(sheetID, text, baseURL) {
399
398
  return [
400
- Messages.Type.AdoptedSSReplaceURLBased,
399
+ 71 /* AdoptedSSReplaceURLBased */,
401
400
  sheetID,
402
401
  text,
403
402
  baseURL,
@@ -405,7 +404,7 @@ export function AdoptedSSReplaceURLBased(sheetID, text, baseURL) {
405
404
  }
406
405
  export function AdoptedSSInsertRuleURLBased(sheetID, rule, index, baseURL) {
407
406
  return [
408
- Messages.Type.AdoptedSSInsertRuleURLBased,
407
+ 73 /* AdoptedSSInsertRuleURLBased */,
409
408
  sheetID,
410
409
  rule,
411
410
  index,
@@ -414,21 +413,21 @@ export function AdoptedSSInsertRuleURLBased(sheetID, rule, index, baseURL) {
414
413
  }
415
414
  export function AdoptedSSDeleteRule(sheetID, index) {
416
415
  return [
417
- Messages.Type.AdoptedSSDeleteRule,
416
+ 75 /* AdoptedSSDeleteRule */,
418
417
  sheetID,
419
418
  index,
420
419
  ];
421
420
  }
422
421
  export function AdoptedSSAddOwner(sheetID, id) {
423
422
  return [
424
- Messages.Type.AdoptedSSAddOwner,
423
+ 76 /* AdoptedSSAddOwner */,
425
424
  sheetID,
426
425
  id,
427
426
  ];
428
427
  }
429
428
  export function AdoptedSSRemoveOwner(sheetID, id) {
430
429
  return [
431
- Messages.Type.AdoptedSSRemoveOwner,
430
+ 77 /* AdoptedSSRemoveOwner */,
432
431
  sheetID,
433
432
  id,
434
433
  ];
@@ -1,68 +1,67 @@
1
1
  // Auto-generated, do not edit
2
- import * as Messages from '../common/messages.gen.js';
3
2
  export function BatchMetadata(version, pageNo, firstIndex, timestamp, location) {
4
- return [Messages.Type.BatchMetadata, version, pageNo, firstIndex, timestamp, location];
3
+ return [81 /* BatchMetadata */, version, pageNo, firstIndex, timestamp, location];
5
4
  }
6
5
  export function PartitionedMessage(partNo, partTotal) {
7
- return [Messages.Type.PartitionedMessage, partNo, partTotal];
6
+ return [82 /* PartitionedMessage */, partNo, partTotal];
8
7
  }
9
8
  export function Timestamp(timestamp) {
10
- return [Messages.Type.Timestamp, timestamp];
9
+ return [0 /* Timestamp */, timestamp];
11
10
  }
12
11
  export function SetPageLocation(url, referrer, navigationStart) {
13
- return [Messages.Type.SetPageLocation, url, referrer, navigationStart];
12
+ return [4 /* SetPageLocation */, url, referrer, navigationStart];
14
13
  }
15
14
  export function SetViewportSize(width, height) {
16
- return [Messages.Type.SetViewportSize, width, height];
15
+ return [5 /* SetViewportSize */, width, height];
17
16
  }
18
17
  export function SetViewportScroll(x, y) {
19
- return [Messages.Type.SetViewportScroll, x, y];
18
+ return [6 /* SetViewportScroll */, x, y];
20
19
  }
21
20
  export function CreateDocument() {
22
- return [Messages.Type.CreateDocument];
21
+ return [7 /* CreateDocument */];
23
22
  }
24
23
  export function CreateElementNode(id, parentID, index, tag, svg) {
25
- return [Messages.Type.CreateElementNode, id, parentID, index, tag, svg];
24
+ return [8 /* CreateElementNode */, id, parentID, index, tag, svg];
26
25
  }
27
26
  export function CreateTextNode(id, parentID, index) {
28
- return [Messages.Type.CreateTextNode, id, parentID, index];
27
+ return [9 /* CreateTextNode */, id, parentID, index];
29
28
  }
30
29
  export function MoveNode(id, parentID, index) {
31
- return [Messages.Type.MoveNode, id, parentID, index];
30
+ return [10 /* MoveNode */, id, parentID, index];
32
31
  }
33
32
  export function RemoveNode(id) {
34
- return [Messages.Type.RemoveNode, id];
33
+ return [11 /* RemoveNode */, id];
35
34
  }
36
35
  export function SetNodeAttribute(id, name, value) {
37
- return [Messages.Type.SetNodeAttribute, id, name, value];
36
+ return [12 /* SetNodeAttribute */, id, name, value];
38
37
  }
39
38
  export function RemoveNodeAttribute(id, name) {
40
- return [Messages.Type.RemoveNodeAttribute, id, name];
39
+ return [13 /* RemoveNodeAttribute */, id, name];
41
40
  }
42
41
  export function SetNodeData(id, data) {
43
- return [Messages.Type.SetNodeData, id, data];
42
+ return [14 /* SetNodeData */, id, data];
44
43
  }
45
44
  export function SetNodeScroll(id, x, y) {
46
- return [Messages.Type.SetNodeScroll, id, x, y];
45
+ return [16 /* SetNodeScroll */, id, x, y];
47
46
  }
48
47
  export function SetInputTarget(id, label) {
49
- return [Messages.Type.SetInputTarget, id, label];
48
+ return [17 /* SetInputTarget */, id, label];
50
49
  }
51
50
  export function SetInputValue(id, value, mask) {
52
- return [Messages.Type.SetInputValue, id, value, mask];
51
+ return [18 /* SetInputValue */, id, value, mask];
53
52
  }
54
53
  export function SetInputChecked(id, checked) {
55
- return [Messages.Type.SetInputChecked, id, checked];
54
+ return [19 /* SetInputChecked */, id, checked];
56
55
  }
57
56
  export function MouseMove(x, y) {
58
- return [Messages.Type.MouseMove, x, y];
57
+ return [20 /* MouseMove */, x, y];
59
58
  }
60
59
  export function ConsoleLog(level, value) {
61
- return [Messages.Type.ConsoleLog, level, value];
60
+ return [22 /* ConsoleLog */, level, value];
62
61
  }
63
62
  export function PageLoadTiming(requestStart, responseStart, responseEnd, domContentLoadedEventStart, domContentLoadedEventEnd, loadEventStart, loadEventEnd, firstPaint, firstContentfulPaint) {
64
63
  return [
65
- Messages.Type.PageLoadTiming,
64
+ 23 /* PageLoadTiming */,
66
65
  requestStart,
67
66
  responseStart,
68
67
  responseEnd,
@@ -75,62 +74,62 @@ export function PageLoadTiming(requestStart, responseStart, responseEnd, domCont
75
74
  ];
76
75
  }
77
76
  export function PageRenderTiming(speedIndex, visuallyComplete, timeToInteractive) {
78
- return [Messages.Type.PageRenderTiming, speedIndex, visuallyComplete, timeToInteractive];
77
+ return [24 /* PageRenderTiming */, speedIndex, visuallyComplete, timeToInteractive];
79
78
  }
80
79
  export function JSException(name, message, payload) {
81
- return [Messages.Type.JSException, name, message, payload];
80
+ return [25 /* JSException */, name, message, payload];
82
81
  }
83
82
  export function RawCustomEvent(name, payload) {
84
- return [Messages.Type.RawCustomEvent, name, payload];
83
+ return [27 /* RawCustomEvent */, name, payload];
85
84
  }
86
85
  export function UserID(id) {
87
- return [Messages.Type.UserID, id];
86
+ return [28 /* UserID */, id];
88
87
  }
89
88
  export function UserAnonymousID(id) {
90
- return [Messages.Type.UserAnonymousID, id];
89
+ return [29 /* UserAnonymousID */, id];
91
90
  }
92
91
  export function Metadata(key, value) {
93
- return [Messages.Type.Metadata, key, value];
92
+ return [30 /* Metadata */, key, value];
94
93
  }
95
94
  export function CSSInsertRule(id, rule, index) {
96
- return [Messages.Type.CSSInsertRule, id, rule, index];
95
+ return [37 /* CSSInsertRule */, id, rule, index];
97
96
  }
98
97
  export function CSSDeleteRule(id, index) {
99
- return [Messages.Type.CSSDeleteRule, id, index];
98
+ return [38 /* CSSDeleteRule */, id, index];
100
99
  }
101
100
  export function Fetch(method, url, request, response, status, timestamp, duration) {
102
- return [Messages.Type.Fetch, method, url, request, response, status, timestamp, duration];
101
+ return [39 /* Fetch */, method, url, request, response, status, timestamp, duration];
103
102
  }
104
103
  export function Profiler(name, duration, args, result) {
105
- return [Messages.Type.Profiler, name, duration, args, result];
104
+ return [40 /* Profiler */, name, duration, args, result];
106
105
  }
107
106
  export function OTable(key, value) {
108
- return [Messages.Type.OTable, key, value];
107
+ return [41 /* OTable */, key, value];
109
108
  }
110
109
  export function StateAction(type) {
111
- return [Messages.Type.StateAction, type];
110
+ return [42 /* StateAction */, type];
112
111
  }
113
112
  export function Redux(action, state, duration) {
114
- return [Messages.Type.Redux, action, state, duration];
113
+ return [44 /* Redux */, action, state, duration];
115
114
  }
116
115
  export function Vuex(mutation, state) {
117
- return [Messages.Type.Vuex, mutation, state];
116
+ return [45 /* Vuex */, mutation, state];
118
117
  }
119
118
  export function MobX(type, payload) {
120
- return [Messages.Type.MobX, type, payload];
119
+ return [46 /* MobX */, type, payload];
121
120
  }
122
121
  export function NgRx(action, state, duration) {
123
- return [Messages.Type.NgRx, action, state, duration];
122
+ return [47 /* NgRx */, action, state, duration];
124
123
  }
125
124
  export function GraphQL(operationKind, operationName, variables, response) {
126
- return [Messages.Type.GraphQL, operationKind, operationName, variables, response];
125
+ return [48 /* GraphQL */, operationKind, operationName, variables, response];
127
126
  }
128
127
  export function PerformanceTrack(frames, ticks, totalJSHeapSize, usedJSHeapSize) {
129
- return [Messages.Type.PerformanceTrack, frames, ticks, totalJSHeapSize, usedJSHeapSize];
128
+ return [49 /* PerformanceTrack */, frames, ticks, totalJSHeapSize, usedJSHeapSize];
130
129
  }
131
130
  export function ResourceTiming(timestamp, duration, ttfb, headerSize, encodedBodySize, decodedBodySize, url, initiator) {
132
131
  return [
133
- Messages.Type.ResourceTiming,
132
+ 53 /* ResourceTiming */,
134
133
  timestamp,
135
134
  duration,
136
135
  ttfb,
@@ -142,14 +141,14 @@ export function ResourceTiming(timestamp, duration, ttfb, headerSize, encodedBod
142
141
  ];
143
142
  }
144
143
  export function ConnectionInformation(downlink, type) {
145
- return [Messages.Type.ConnectionInformation, downlink, type];
144
+ return [54 /* ConnectionInformation */, downlink, type];
146
145
  }
147
146
  export function SetPageVisibility(hidden) {
148
- return [Messages.Type.SetPageVisibility, hidden];
147
+ return [55 /* SetPageVisibility */, hidden];
149
148
  }
150
149
  export function LongTask(timestamp, duration, context, containerType, containerSrc, containerId, containerName) {
151
150
  return [
152
- Messages.Type.LongTask,
151
+ 59 /* LongTask */,
153
152
  timestamp,
154
153
  duration,
155
154
  context,
@@ -160,23 +159,23 @@ export function LongTask(timestamp, duration, context, containerType, containerS
160
159
  ];
161
160
  }
162
161
  export function SetNodeAttributeURLBased(id, name, value, baseURL) {
163
- return [Messages.Type.SetNodeAttributeURLBased, id, name, value, baseURL];
162
+ return [60 /* SetNodeAttributeURLBased */, id, name, value, baseURL];
164
163
  }
165
164
  export function SetCSSDataURLBased(id, data, baseURL) {
166
- return [Messages.Type.SetCSSDataURLBased, id, data, baseURL];
165
+ return [61 /* SetCSSDataURLBased */, id, data, baseURL];
167
166
  }
168
167
  export function TechnicalInfo(type, value) {
169
- return [Messages.Type.TechnicalInfo, type, value];
168
+ return [63 /* TechnicalInfo */, type, value];
170
169
  }
171
170
  export function CustomIssue(name, payload) {
172
- return [Messages.Type.CustomIssue, name, payload];
171
+ return [64 /* CustomIssue */, name, payload];
173
172
  }
174
173
  export function CSSInsertRuleURLBased(id, rule, index, baseURL) {
175
- return [Messages.Type.CSSInsertRuleURLBased, id, rule, index, baseURL];
174
+ return [67 /* CSSInsertRuleURLBased */, id, rule, index, baseURL];
176
175
  }
177
176
  export function MouseClick(id, hesitationTime, label, selector) {
178
- return [Messages.Type.MouseClick, id, hesitationTime, label, selector];
177
+ return [69 /* MouseClick */, id, hesitationTime, label, selector];
179
178
  }
180
179
  export function CreateIFrameDocument(frameID, id) {
181
- return [Messages.Type.CreateIFrameDocument, frameID, id];
180
+ return [70 /* CreateIFrameDocument */, frameID, id];
182
181
  }
@@ -7,7 +7,7 @@ export default class Nodes {
7
7
  constructor(node_id: string);
8
8
  attachNodeCallback(nodeCallback: NodeCallback): void;
9
9
  attachElementListener(type: string, node: Element, elementListener: EventListener): void;
10
- registerNode(node: Node): [id: number, isNew: boolean];
10
+ registerNode(node: Node): [/*id:*/ number, /*isNew:*/ boolean];
11
11
  unregisterNode(node: Node): number | undefined;
12
12
  cleanTree(): void;
13
13
  callNodeCallbacks(node: Node, isStart: boolean): void;