@openreplay/tracker 3.6.1 → 3.6.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.
Files changed (128) hide show
  1. package/LICENSE +1 -1
  2. package/cjs/app/guards.d.ts +1 -2
  3. package/cjs/app/guards.js +3 -6
  4. package/cjs/app/index.d.ts +23 -28
  5. package/cjs/app/index.js +86 -107
  6. package/cjs/app/logger.js +3 -6
  7. package/cjs/app/nodes.d.ts +1 -1
  8. package/cjs/app/nodes.js +0 -2
  9. package/cjs/app/observer/iframe_observer.d.ts +1 -1
  10. package/cjs/app/observer/iframe_observer.js +3 -3
  11. package/cjs/app/observer/observer.d.ts +3 -2
  12. package/cjs/app/observer/observer.js +52 -50
  13. package/cjs/app/observer/shadow_root_observer.d.ts +1 -1
  14. package/cjs/app/observer/shadow_root_observer.js +3 -3
  15. package/cjs/app/observer/top_observer.d.ts +2 -13
  16. package/cjs/app/observer/top_observer.js +23 -58
  17. package/cjs/app/sanitizer.d.ts +1 -1
  18. package/cjs/app/sanitizer.js +5 -5
  19. package/cjs/app/session.d.ts +2 -20
  20. package/cjs/app/session.js +6 -65
  21. package/cjs/app/ticker.d.ts +1 -1
  22. package/cjs/common/messages.d.ts +444 -0
  23. package/cjs/common/messages.js +794 -0
  24. package/cjs/common/types.d.ts +9 -0
  25. package/cjs/common/{interaction.js → types.js} +0 -0
  26. package/cjs/common/{interaction.d.ts → webworker.d.ts} +5 -5
  27. package/cjs/common/{messages.gen.js → webworker.js} +0 -1
  28. package/cjs/index.d.ts +9 -10
  29. package/cjs/index.js +36 -47
  30. package/cjs/modules/connection.d.ts +1 -1
  31. package/cjs/modules/connection.js +2 -2
  32. package/cjs/modules/console.d.ts +1 -1
  33. package/cjs/modules/console.js +21 -7
  34. package/cjs/modules/cssrules.d.ts +1 -1
  35. package/cjs/modules/cssrules.js +14 -18
  36. package/cjs/modules/exception.d.ts +3 -3
  37. package/cjs/modules/exception.js +18 -23
  38. package/cjs/modules/img.d.ts +1 -1
  39. package/cjs/modules/img.js +26 -39
  40. package/cjs/modules/input.d.ts +1 -1
  41. package/cjs/modules/input.js +21 -21
  42. package/cjs/modules/longtasks.d.ts +2 -0
  43. package/cjs/modules/longtasks.js +26 -0
  44. package/cjs/modules/mouse.d.ts +1 -1
  45. package/cjs/modules/mouse.js +43 -50
  46. package/cjs/modules/performance.d.ts +1 -1
  47. package/cjs/modules/performance.js +2 -2
  48. package/cjs/modules/scroll.d.ts +1 -1
  49. package/cjs/modules/scroll.js +7 -16
  50. package/cjs/modules/timing.d.ts +1 -1
  51. package/cjs/modules/timing.js +26 -14
  52. package/cjs/modules/viewport.d.ts +1 -1
  53. package/cjs/modules/viewport.js +4 -4
  54. package/cjs/utils.js +7 -7
  55. package/cjs/vendors/finder/finder.js +48 -53
  56. package/lib/app/guards.d.ts +1 -2
  57. package/lib/app/guards.js +2 -4
  58. package/lib/app/index.d.ts +23 -28
  59. package/lib/app/index.js +94 -115
  60. package/lib/app/logger.js +3 -6
  61. package/lib/app/nodes.d.ts +1 -1
  62. package/lib/app/nodes.js +0 -2
  63. package/lib/app/observer/iframe_observer.d.ts +1 -1
  64. package/lib/app/observer/iframe_observer.js +3 -3
  65. package/lib/app/observer/observer.d.ts +3 -2
  66. package/lib/app/observer/observer.js +53 -51
  67. package/lib/app/observer/shadow_root_observer.d.ts +1 -1
  68. package/lib/app/observer/shadow_root_observer.js +3 -3
  69. package/lib/app/observer/top_observer.d.ts +2 -13
  70. package/lib/app/observer/top_observer.js +27 -62
  71. package/lib/app/sanitizer.d.ts +1 -1
  72. package/lib/app/sanitizer.js +7 -7
  73. package/lib/app/session.d.ts +2 -20
  74. package/lib/app/session.js +6 -65
  75. package/lib/app/ticker.d.ts +1 -1
  76. package/lib/common/messages.d.ts +444 -0
  77. package/lib/common/messages.js +790 -0
  78. package/lib/common/tsconfig.tsbuildinfo +1 -1
  79. package/lib/common/types.d.ts +9 -0
  80. package/lib/common/{interaction.js → types.js} +0 -0
  81. package/lib/common/{interaction.d.ts → webworker.d.ts} +5 -5
  82. package/lib/common/webworker.js +1 -0
  83. package/lib/index.d.ts +9 -10
  84. package/lib/index.js +49 -60
  85. package/lib/modules/connection.d.ts +1 -1
  86. package/lib/modules/connection.js +2 -2
  87. package/lib/modules/console.d.ts +1 -1
  88. package/lib/modules/console.js +22 -8
  89. package/lib/modules/cssrules.d.ts +1 -1
  90. package/lib/modules/cssrules.js +15 -19
  91. package/lib/modules/exception.d.ts +3 -3
  92. package/lib/modules/exception.js +18 -23
  93. package/lib/modules/img.d.ts +1 -1
  94. package/lib/modules/img.js +28 -41
  95. package/lib/modules/input.d.ts +1 -1
  96. package/lib/modules/input.js +23 -23
  97. package/lib/modules/longtasks.d.ts +2 -0
  98. package/lib/modules/longtasks.js +23 -0
  99. package/lib/modules/mouse.d.ts +1 -1
  100. package/lib/modules/mouse.js +46 -53
  101. package/lib/modules/performance.d.ts +1 -1
  102. package/lib/modules/performance.js +3 -3
  103. package/lib/modules/scroll.d.ts +1 -1
  104. package/lib/modules/scroll.js +8 -17
  105. package/lib/modules/timing.d.ts +1 -1
  106. package/lib/modules/timing.js +28 -16
  107. package/lib/modules/viewport.d.ts +1 -1
  108. package/lib/modules/viewport.js +4 -4
  109. package/lib/utils.js +7 -7
  110. package/lib/vendors/finder/finder.js +48 -53
  111. package/package.json +10 -27
  112. package/.eslintignore +0 -8
  113. package/.prettierignore +0 -1
  114. package/cjs/app/messages.d.ts +0 -52
  115. package/cjs/app/messages.gen.d.ts +0 -57
  116. package/cjs/app/messages.gen.js +0 -493
  117. package/cjs/app/messages.js +0 -234
  118. package/cjs/common/messages.gen.d.ts +0 -382
  119. package/cjs/modules/adoptedStyleSheets.d.ts +0 -2
  120. package/cjs/modules/adoptedStyleSheets.js +0 -127
  121. package/lib/app/messages.d.ts +0 -52
  122. package/lib/app/messages.gen.d.ts +0 -57
  123. package/lib/app/messages.gen.js +0 -434
  124. package/lib/app/messages.js +0 -181
  125. package/lib/common/messages.gen.d.ts +0 -382
  126. package/lib/common/messages.gen.js +0 -2
  127. package/lib/modules/adoptedStyleSheets.d.ts +0 -2
  128. package/lib/modules/adoptedStyleSheets.js +0 -124
@@ -0,0 +1,794 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MouseClick = exports.CSSInsertRuleURLBased = exports.PageClose = exports.CustomIssue = exports.TechnicalInfo = exports.SetCSSDataURLBased = exports.SetNodeAttributeURLBased = exports.LongTask = exports.SetPageVisibility = exports.ConnectionInformation = exports.ResourceTiming = exports.PerformanceTrack = exports.GraphQL = exports.NgRx = exports.MobX = exports.Vuex = exports.Redux = exports.StateAction = exports.OTable = exports.Profiler = exports.Fetch = exports.CSSDeleteRule = exports.CSSInsertRule = exports.Metadata = exports.UserAnonymousID = exports.UserID = exports.RawCustomEvent = exports.JSException = exports.PageRenderTiming = exports.PageLoadTiming = exports.ConsoleLog = exports.MouseMove = exports.SetInputChecked = exports.SetInputValue = exports.SetInputTarget = exports.SetNodeScroll = exports.SetNodeData = exports.RemoveNodeAttribute = exports.SetNodeAttribute = exports.RemoveNode = exports.MoveNode = exports.CreateTextNode = exports.CreateElementNode = exports.CreateDocument = exports.SetViewportScroll = exports.SetViewportSize = exports.SetPageLocation = exports.Timestamp = exports.BatchMeta = exports.classes = void 0;
4
+ exports.CreateIFrameDocument = void 0;
5
+ function bindNew(Class) {
6
+ function _Class(...args) {
7
+ return new Class(...args);
8
+ }
9
+ _Class.prototype = Class.prototype;
10
+ return _Class;
11
+ }
12
+ exports.classes = new Map();
13
+ class _BatchMeta {
14
+ constructor(pageNo, firstIndex, timestamp) {
15
+ this.pageNo = pageNo;
16
+ this.firstIndex = firstIndex;
17
+ this.timestamp = timestamp;
18
+ this._id = 80;
19
+ }
20
+ encode(writer) {
21
+ return writer.uint(80) &&
22
+ writer.uint(this.pageNo) &&
23
+ writer.uint(this.firstIndex) &&
24
+ writer.int(this.timestamp);
25
+ }
26
+ }
27
+ exports.BatchMeta = bindNew(_BatchMeta);
28
+ exports.classes.set(80, exports.BatchMeta);
29
+ class _Timestamp {
30
+ constructor(timestamp) {
31
+ this.timestamp = timestamp;
32
+ this._id = 0;
33
+ }
34
+ encode(writer) {
35
+ return writer.uint(0) &&
36
+ writer.uint(this.timestamp);
37
+ }
38
+ }
39
+ exports.Timestamp = bindNew(_Timestamp);
40
+ exports.classes.set(0, exports.Timestamp);
41
+ class _SetPageLocation {
42
+ constructor(url, referrer, navigationStart) {
43
+ this.url = url;
44
+ this.referrer = referrer;
45
+ this.navigationStart = navigationStart;
46
+ this._id = 4;
47
+ }
48
+ encode(writer) {
49
+ return writer.uint(4) &&
50
+ writer.string(this.url) &&
51
+ writer.string(this.referrer) &&
52
+ writer.uint(this.navigationStart);
53
+ }
54
+ }
55
+ exports.SetPageLocation = bindNew(_SetPageLocation);
56
+ exports.classes.set(4, exports.SetPageLocation);
57
+ class _SetViewportSize {
58
+ constructor(width, height) {
59
+ this.width = width;
60
+ this.height = height;
61
+ this._id = 5;
62
+ }
63
+ encode(writer) {
64
+ return writer.uint(5) &&
65
+ writer.uint(this.width) &&
66
+ writer.uint(this.height);
67
+ }
68
+ }
69
+ exports.SetViewportSize = bindNew(_SetViewportSize);
70
+ exports.classes.set(5, exports.SetViewportSize);
71
+ class _SetViewportScroll {
72
+ constructor(x, y) {
73
+ this.x = x;
74
+ this.y = y;
75
+ this._id = 6;
76
+ }
77
+ encode(writer) {
78
+ return writer.uint(6) &&
79
+ writer.int(this.x) &&
80
+ writer.int(this.y);
81
+ }
82
+ }
83
+ exports.SetViewportScroll = bindNew(_SetViewportScroll);
84
+ exports.classes.set(6, exports.SetViewportScroll);
85
+ class _CreateDocument {
86
+ constructor() {
87
+ this._id = 7;
88
+ }
89
+ encode(writer) {
90
+ return writer.uint(7);
91
+ }
92
+ }
93
+ exports.CreateDocument = bindNew(_CreateDocument);
94
+ exports.classes.set(7, exports.CreateDocument);
95
+ class _CreateElementNode {
96
+ constructor(id, parentID, index, tag, svg) {
97
+ this.id = id;
98
+ this.parentID = parentID;
99
+ this.index = index;
100
+ this.tag = tag;
101
+ this.svg = svg;
102
+ this._id = 8;
103
+ }
104
+ encode(writer) {
105
+ return writer.uint(8) &&
106
+ writer.uint(this.id) &&
107
+ writer.uint(this.parentID) &&
108
+ writer.uint(this.index) &&
109
+ writer.string(this.tag) &&
110
+ writer.boolean(this.svg);
111
+ }
112
+ }
113
+ exports.CreateElementNode = bindNew(_CreateElementNode);
114
+ exports.classes.set(8, exports.CreateElementNode);
115
+ class _CreateTextNode {
116
+ constructor(id, parentID, index) {
117
+ this.id = id;
118
+ this.parentID = parentID;
119
+ this.index = index;
120
+ this._id = 9;
121
+ }
122
+ encode(writer) {
123
+ return writer.uint(9) &&
124
+ writer.uint(this.id) &&
125
+ writer.uint(this.parentID) &&
126
+ writer.uint(this.index);
127
+ }
128
+ }
129
+ exports.CreateTextNode = bindNew(_CreateTextNode);
130
+ exports.classes.set(9, exports.CreateTextNode);
131
+ class _MoveNode {
132
+ constructor(id, parentID, index) {
133
+ this.id = id;
134
+ this.parentID = parentID;
135
+ this.index = index;
136
+ this._id = 10;
137
+ }
138
+ encode(writer) {
139
+ return writer.uint(10) &&
140
+ writer.uint(this.id) &&
141
+ writer.uint(this.parentID) &&
142
+ writer.uint(this.index);
143
+ }
144
+ }
145
+ exports.MoveNode = bindNew(_MoveNode);
146
+ exports.classes.set(10, exports.MoveNode);
147
+ class _RemoveNode {
148
+ constructor(id) {
149
+ this.id = id;
150
+ this._id = 11;
151
+ }
152
+ encode(writer) {
153
+ return writer.uint(11) &&
154
+ writer.uint(this.id);
155
+ }
156
+ }
157
+ exports.RemoveNode = bindNew(_RemoveNode);
158
+ exports.classes.set(11, exports.RemoveNode);
159
+ class _SetNodeAttribute {
160
+ constructor(id, name, value) {
161
+ this.id = id;
162
+ this.name = name;
163
+ this.value = value;
164
+ this._id = 12;
165
+ }
166
+ encode(writer) {
167
+ return writer.uint(12) &&
168
+ writer.uint(this.id) &&
169
+ writer.string(this.name) &&
170
+ writer.string(this.value);
171
+ }
172
+ }
173
+ exports.SetNodeAttribute = bindNew(_SetNodeAttribute);
174
+ exports.classes.set(12, exports.SetNodeAttribute);
175
+ class _RemoveNodeAttribute {
176
+ constructor(id, name) {
177
+ this.id = id;
178
+ this.name = name;
179
+ this._id = 13;
180
+ }
181
+ encode(writer) {
182
+ return writer.uint(13) &&
183
+ writer.uint(this.id) &&
184
+ writer.string(this.name);
185
+ }
186
+ }
187
+ exports.RemoveNodeAttribute = bindNew(_RemoveNodeAttribute);
188
+ exports.classes.set(13, exports.RemoveNodeAttribute);
189
+ class _SetNodeData {
190
+ constructor(id, data) {
191
+ this.id = id;
192
+ this.data = data;
193
+ this._id = 14;
194
+ }
195
+ encode(writer) {
196
+ return writer.uint(14) &&
197
+ writer.uint(this.id) &&
198
+ writer.string(this.data);
199
+ }
200
+ }
201
+ exports.SetNodeData = bindNew(_SetNodeData);
202
+ exports.classes.set(14, exports.SetNodeData);
203
+ class _SetNodeScroll {
204
+ constructor(id, x, y) {
205
+ this.id = id;
206
+ this.x = x;
207
+ this.y = y;
208
+ this._id = 16;
209
+ }
210
+ encode(writer) {
211
+ return writer.uint(16) &&
212
+ writer.uint(this.id) &&
213
+ writer.int(this.x) &&
214
+ writer.int(this.y);
215
+ }
216
+ }
217
+ exports.SetNodeScroll = bindNew(_SetNodeScroll);
218
+ exports.classes.set(16, exports.SetNodeScroll);
219
+ class _SetInputTarget {
220
+ constructor(id, label) {
221
+ this.id = id;
222
+ this.label = label;
223
+ this._id = 17;
224
+ }
225
+ encode(writer) {
226
+ return writer.uint(17) &&
227
+ writer.uint(this.id) &&
228
+ writer.string(this.label);
229
+ }
230
+ }
231
+ exports.SetInputTarget = bindNew(_SetInputTarget);
232
+ exports.classes.set(17, exports.SetInputTarget);
233
+ class _SetInputValue {
234
+ constructor(id, value, mask) {
235
+ this.id = id;
236
+ this.value = value;
237
+ this.mask = mask;
238
+ this._id = 18;
239
+ }
240
+ encode(writer) {
241
+ return writer.uint(18) &&
242
+ writer.uint(this.id) &&
243
+ writer.string(this.value) &&
244
+ writer.int(this.mask);
245
+ }
246
+ }
247
+ exports.SetInputValue = bindNew(_SetInputValue);
248
+ exports.classes.set(18, exports.SetInputValue);
249
+ class _SetInputChecked {
250
+ constructor(id, checked) {
251
+ this.id = id;
252
+ this.checked = checked;
253
+ this._id = 19;
254
+ }
255
+ encode(writer) {
256
+ return writer.uint(19) &&
257
+ writer.uint(this.id) &&
258
+ writer.boolean(this.checked);
259
+ }
260
+ }
261
+ exports.SetInputChecked = bindNew(_SetInputChecked);
262
+ exports.classes.set(19, exports.SetInputChecked);
263
+ class _MouseMove {
264
+ constructor(x, y) {
265
+ this.x = x;
266
+ this.y = y;
267
+ this._id = 20;
268
+ }
269
+ encode(writer) {
270
+ return writer.uint(20) &&
271
+ writer.uint(this.x) &&
272
+ writer.uint(this.y);
273
+ }
274
+ }
275
+ exports.MouseMove = bindNew(_MouseMove);
276
+ exports.classes.set(20, exports.MouseMove);
277
+ class _ConsoleLog {
278
+ constructor(level, value) {
279
+ this.level = level;
280
+ this.value = value;
281
+ this._id = 22;
282
+ }
283
+ encode(writer) {
284
+ return writer.uint(22) &&
285
+ writer.string(this.level) &&
286
+ writer.string(this.value);
287
+ }
288
+ }
289
+ exports.ConsoleLog = bindNew(_ConsoleLog);
290
+ exports.classes.set(22, exports.ConsoleLog);
291
+ class _PageLoadTiming {
292
+ constructor(requestStart, responseStart, responseEnd, domContentLoadedEventStart, domContentLoadedEventEnd, loadEventStart, loadEventEnd, firstPaint, firstContentfulPaint) {
293
+ this.requestStart = requestStart;
294
+ this.responseStart = responseStart;
295
+ this.responseEnd = responseEnd;
296
+ this.domContentLoadedEventStart = domContentLoadedEventStart;
297
+ this.domContentLoadedEventEnd = domContentLoadedEventEnd;
298
+ this.loadEventStart = loadEventStart;
299
+ this.loadEventEnd = loadEventEnd;
300
+ this.firstPaint = firstPaint;
301
+ this.firstContentfulPaint = firstContentfulPaint;
302
+ this._id = 23;
303
+ }
304
+ encode(writer) {
305
+ return writer.uint(23) &&
306
+ writer.uint(this.requestStart) &&
307
+ writer.uint(this.responseStart) &&
308
+ writer.uint(this.responseEnd) &&
309
+ writer.uint(this.domContentLoadedEventStart) &&
310
+ writer.uint(this.domContentLoadedEventEnd) &&
311
+ writer.uint(this.loadEventStart) &&
312
+ writer.uint(this.loadEventEnd) &&
313
+ writer.uint(this.firstPaint) &&
314
+ writer.uint(this.firstContentfulPaint);
315
+ }
316
+ }
317
+ exports.PageLoadTiming = bindNew(_PageLoadTiming);
318
+ exports.classes.set(23, exports.PageLoadTiming);
319
+ class _PageRenderTiming {
320
+ constructor(speedIndex, visuallyComplete, timeToInteractive) {
321
+ this.speedIndex = speedIndex;
322
+ this.visuallyComplete = visuallyComplete;
323
+ this.timeToInteractive = timeToInteractive;
324
+ this._id = 24;
325
+ }
326
+ encode(writer) {
327
+ return writer.uint(24) &&
328
+ writer.uint(this.speedIndex) &&
329
+ writer.uint(this.visuallyComplete) &&
330
+ writer.uint(this.timeToInteractive);
331
+ }
332
+ }
333
+ exports.PageRenderTiming = bindNew(_PageRenderTiming);
334
+ exports.classes.set(24, exports.PageRenderTiming);
335
+ class _JSException {
336
+ constructor(name, message, payload) {
337
+ this.name = name;
338
+ this.message = message;
339
+ this.payload = payload;
340
+ this._id = 25;
341
+ }
342
+ encode(writer) {
343
+ return writer.uint(25) &&
344
+ writer.string(this.name) &&
345
+ writer.string(this.message) &&
346
+ writer.string(this.payload);
347
+ }
348
+ }
349
+ exports.JSException = bindNew(_JSException);
350
+ exports.classes.set(25, exports.JSException);
351
+ class _RawCustomEvent {
352
+ constructor(name, payload) {
353
+ this.name = name;
354
+ this.payload = payload;
355
+ this._id = 27;
356
+ }
357
+ encode(writer) {
358
+ return writer.uint(27) &&
359
+ writer.string(this.name) &&
360
+ writer.string(this.payload);
361
+ }
362
+ }
363
+ exports.RawCustomEvent = bindNew(_RawCustomEvent);
364
+ exports.classes.set(27, exports.RawCustomEvent);
365
+ class _UserID {
366
+ constructor(id) {
367
+ this.id = id;
368
+ this._id = 28;
369
+ }
370
+ encode(writer) {
371
+ return writer.uint(28) &&
372
+ writer.string(this.id);
373
+ }
374
+ }
375
+ exports.UserID = bindNew(_UserID);
376
+ exports.classes.set(28, exports.UserID);
377
+ class _UserAnonymousID {
378
+ constructor(id) {
379
+ this.id = id;
380
+ this._id = 29;
381
+ }
382
+ encode(writer) {
383
+ return writer.uint(29) &&
384
+ writer.string(this.id);
385
+ }
386
+ }
387
+ exports.UserAnonymousID = bindNew(_UserAnonymousID);
388
+ exports.classes.set(29, exports.UserAnonymousID);
389
+ class _Metadata {
390
+ constructor(key, value) {
391
+ this.key = key;
392
+ this.value = value;
393
+ this._id = 30;
394
+ }
395
+ encode(writer) {
396
+ return writer.uint(30) &&
397
+ writer.string(this.key) &&
398
+ writer.string(this.value);
399
+ }
400
+ }
401
+ exports.Metadata = bindNew(_Metadata);
402
+ exports.classes.set(30, exports.Metadata);
403
+ class _CSSInsertRule {
404
+ constructor(id, rule, index) {
405
+ this.id = id;
406
+ this.rule = rule;
407
+ this.index = index;
408
+ this._id = 37;
409
+ }
410
+ encode(writer) {
411
+ return writer.uint(37) &&
412
+ writer.uint(this.id) &&
413
+ writer.string(this.rule) &&
414
+ writer.uint(this.index);
415
+ }
416
+ }
417
+ exports.CSSInsertRule = bindNew(_CSSInsertRule);
418
+ exports.classes.set(37, exports.CSSInsertRule);
419
+ class _CSSDeleteRule {
420
+ constructor(id, index) {
421
+ this.id = id;
422
+ this.index = index;
423
+ this._id = 38;
424
+ }
425
+ encode(writer) {
426
+ return writer.uint(38) &&
427
+ writer.uint(this.id) &&
428
+ writer.uint(this.index);
429
+ }
430
+ }
431
+ exports.CSSDeleteRule = bindNew(_CSSDeleteRule);
432
+ exports.classes.set(38, exports.CSSDeleteRule);
433
+ class _Fetch {
434
+ constructor(method, url, request, response, status, timestamp, duration) {
435
+ this.method = method;
436
+ this.url = url;
437
+ this.request = request;
438
+ this.response = response;
439
+ this.status = status;
440
+ this.timestamp = timestamp;
441
+ this.duration = duration;
442
+ this._id = 39;
443
+ }
444
+ encode(writer) {
445
+ return writer.uint(39) &&
446
+ writer.string(this.method) &&
447
+ writer.string(this.url) &&
448
+ writer.string(this.request) &&
449
+ writer.string(this.response) &&
450
+ writer.uint(this.status) &&
451
+ writer.uint(this.timestamp) &&
452
+ writer.uint(this.duration);
453
+ }
454
+ }
455
+ exports.Fetch = bindNew(_Fetch);
456
+ exports.classes.set(39, exports.Fetch);
457
+ class _Profiler {
458
+ constructor(name, duration, args, result) {
459
+ this.name = name;
460
+ this.duration = duration;
461
+ this.args = args;
462
+ this.result = result;
463
+ this._id = 40;
464
+ }
465
+ encode(writer) {
466
+ return writer.uint(40) &&
467
+ writer.string(this.name) &&
468
+ writer.uint(this.duration) &&
469
+ writer.string(this.args) &&
470
+ writer.string(this.result);
471
+ }
472
+ }
473
+ exports.Profiler = bindNew(_Profiler);
474
+ exports.classes.set(40, exports.Profiler);
475
+ class _OTable {
476
+ constructor(key, value) {
477
+ this.key = key;
478
+ this.value = value;
479
+ this._id = 41;
480
+ }
481
+ encode(writer) {
482
+ return writer.uint(41) &&
483
+ writer.string(this.key) &&
484
+ writer.string(this.value);
485
+ }
486
+ }
487
+ exports.OTable = bindNew(_OTable);
488
+ exports.classes.set(41, exports.OTable);
489
+ class _StateAction {
490
+ constructor(type) {
491
+ this.type = type;
492
+ this._id = 42;
493
+ }
494
+ encode(writer) {
495
+ return writer.uint(42) &&
496
+ writer.string(this.type);
497
+ }
498
+ }
499
+ exports.StateAction = bindNew(_StateAction);
500
+ exports.classes.set(42, exports.StateAction);
501
+ class _Redux {
502
+ constructor(action, state, duration) {
503
+ this.action = action;
504
+ this.state = state;
505
+ this.duration = duration;
506
+ this._id = 44;
507
+ }
508
+ encode(writer) {
509
+ return writer.uint(44) &&
510
+ writer.string(this.action) &&
511
+ writer.string(this.state) &&
512
+ writer.uint(this.duration);
513
+ }
514
+ }
515
+ exports.Redux = bindNew(_Redux);
516
+ exports.classes.set(44, exports.Redux);
517
+ class _Vuex {
518
+ constructor(mutation, state) {
519
+ this.mutation = mutation;
520
+ this.state = state;
521
+ this._id = 45;
522
+ }
523
+ encode(writer) {
524
+ return writer.uint(45) &&
525
+ writer.string(this.mutation) &&
526
+ writer.string(this.state);
527
+ }
528
+ }
529
+ exports.Vuex = bindNew(_Vuex);
530
+ exports.classes.set(45, exports.Vuex);
531
+ class _MobX {
532
+ constructor(type, payload) {
533
+ this.type = type;
534
+ this.payload = payload;
535
+ this._id = 46;
536
+ }
537
+ encode(writer) {
538
+ return writer.uint(46) &&
539
+ writer.string(this.type) &&
540
+ writer.string(this.payload);
541
+ }
542
+ }
543
+ exports.MobX = bindNew(_MobX);
544
+ exports.classes.set(46, exports.MobX);
545
+ class _NgRx {
546
+ constructor(action, state, duration) {
547
+ this.action = action;
548
+ this.state = state;
549
+ this.duration = duration;
550
+ this._id = 47;
551
+ }
552
+ encode(writer) {
553
+ return writer.uint(47) &&
554
+ writer.string(this.action) &&
555
+ writer.string(this.state) &&
556
+ writer.uint(this.duration);
557
+ }
558
+ }
559
+ exports.NgRx = bindNew(_NgRx);
560
+ exports.classes.set(47, exports.NgRx);
561
+ class _GraphQL {
562
+ constructor(operationKind, operationName, variables, response) {
563
+ this.operationKind = operationKind;
564
+ this.operationName = operationName;
565
+ this.variables = variables;
566
+ this.response = response;
567
+ this._id = 48;
568
+ }
569
+ encode(writer) {
570
+ return writer.uint(48) &&
571
+ writer.string(this.operationKind) &&
572
+ writer.string(this.operationName) &&
573
+ writer.string(this.variables) &&
574
+ writer.string(this.response);
575
+ }
576
+ }
577
+ exports.GraphQL = bindNew(_GraphQL);
578
+ exports.classes.set(48, exports.GraphQL);
579
+ class _PerformanceTrack {
580
+ constructor(frames, ticks, totalJSHeapSize, usedJSHeapSize) {
581
+ this.frames = frames;
582
+ this.ticks = ticks;
583
+ this.totalJSHeapSize = totalJSHeapSize;
584
+ this.usedJSHeapSize = usedJSHeapSize;
585
+ this._id = 49;
586
+ }
587
+ encode(writer) {
588
+ return writer.uint(49) &&
589
+ writer.int(this.frames) &&
590
+ writer.int(this.ticks) &&
591
+ writer.uint(this.totalJSHeapSize) &&
592
+ writer.uint(this.usedJSHeapSize);
593
+ }
594
+ }
595
+ exports.PerformanceTrack = bindNew(_PerformanceTrack);
596
+ exports.classes.set(49, exports.PerformanceTrack);
597
+ class _ResourceTiming {
598
+ constructor(timestamp, duration, ttfb, headerSize, encodedBodySize, decodedBodySize, url, initiator) {
599
+ this.timestamp = timestamp;
600
+ this.duration = duration;
601
+ this.ttfb = ttfb;
602
+ this.headerSize = headerSize;
603
+ this.encodedBodySize = encodedBodySize;
604
+ this.decodedBodySize = decodedBodySize;
605
+ this.url = url;
606
+ this.initiator = initiator;
607
+ this._id = 53;
608
+ }
609
+ encode(writer) {
610
+ return writer.uint(53) &&
611
+ writer.uint(this.timestamp) &&
612
+ writer.uint(this.duration) &&
613
+ writer.uint(this.ttfb) &&
614
+ writer.uint(this.headerSize) &&
615
+ writer.uint(this.encodedBodySize) &&
616
+ writer.uint(this.decodedBodySize) &&
617
+ writer.string(this.url) &&
618
+ writer.string(this.initiator);
619
+ }
620
+ }
621
+ exports.ResourceTiming = bindNew(_ResourceTiming);
622
+ exports.classes.set(53, exports.ResourceTiming);
623
+ class _ConnectionInformation {
624
+ constructor(downlink, type) {
625
+ this.downlink = downlink;
626
+ this.type = type;
627
+ this._id = 54;
628
+ }
629
+ encode(writer) {
630
+ return writer.uint(54) &&
631
+ writer.uint(this.downlink) &&
632
+ writer.string(this.type);
633
+ }
634
+ }
635
+ exports.ConnectionInformation = bindNew(_ConnectionInformation);
636
+ exports.classes.set(54, exports.ConnectionInformation);
637
+ class _SetPageVisibility {
638
+ constructor(hidden) {
639
+ this.hidden = hidden;
640
+ this._id = 55;
641
+ }
642
+ encode(writer) {
643
+ return writer.uint(55) &&
644
+ writer.boolean(this.hidden);
645
+ }
646
+ }
647
+ exports.SetPageVisibility = bindNew(_SetPageVisibility);
648
+ exports.classes.set(55, exports.SetPageVisibility);
649
+ class _LongTask {
650
+ constructor(timestamp, duration, context, containerType, containerSrc, containerId, containerName) {
651
+ this.timestamp = timestamp;
652
+ this.duration = duration;
653
+ this.context = context;
654
+ this.containerType = containerType;
655
+ this.containerSrc = containerSrc;
656
+ this.containerId = containerId;
657
+ this.containerName = containerName;
658
+ this._id = 59;
659
+ }
660
+ encode(writer) {
661
+ return writer.uint(59) &&
662
+ writer.uint(this.timestamp) &&
663
+ writer.uint(this.duration) &&
664
+ writer.uint(this.context) &&
665
+ writer.uint(this.containerType) &&
666
+ writer.string(this.containerSrc) &&
667
+ writer.string(this.containerId) &&
668
+ writer.string(this.containerName);
669
+ }
670
+ }
671
+ exports.LongTask = bindNew(_LongTask);
672
+ exports.classes.set(59, exports.LongTask);
673
+ class _SetNodeAttributeURLBased {
674
+ constructor(id, name, value, baseURL) {
675
+ this.id = id;
676
+ this.name = name;
677
+ this.value = value;
678
+ this.baseURL = baseURL;
679
+ this._id = 60;
680
+ }
681
+ encode(writer) {
682
+ return writer.uint(60) &&
683
+ writer.uint(this.id) &&
684
+ writer.string(this.name) &&
685
+ writer.string(this.value) &&
686
+ writer.string(this.baseURL);
687
+ }
688
+ }
689
+ exports.SetNodeAttributeURLBased = bindNew(_SetNodeAttributeURLBased);
690
+ exports.classes.set(60, exports.SetNodeAttributeURLBased);
691
+ class _SetCSSDataURLBased {
692
+ constructor(id, data, baseURL) {
693
+ this.id = id;
694
+ this.data = data;
695
+ this.baseURL = baseURL;
696
+ this._id = 61;
697
+ }
698
+ encode(writer) {
699
+ return writer.uint(61) &&
700
+ writer.uint(this.id) &&
701
+ writer.string(this.data) &&
702
+ writer.string(this.baseURL);
703
+ }
704
+ }
705
+ exports.SetCSSDataURLBased = bindNew(_SetCSSDataURLBased);
706
+ exports.classes.set(61, exports.SetCSSDataURLBased);
707
+ class _TechnicalInfo {
708
+ constructor(type, value) {
709
+ this.type = type;
710
+ this.value = value;
711
+ this._id = 63;
712
+ }
713
+ encode(writer) {
714
+ return writer.uint(63) &&
715
+ writer.string(this.type) &&
716
+ writer.string(this.value);
717
+ }
718
+ }
719
+ exports.TechnicalInfo = bindNew(_TechnicalInfo);
720
+ exports.classes.set(63, exports.TechnicalInfo);
721
+ class _CustomIssue {
722
+ constructor(name, payload) {
723
+ this.name = name;
724
+ this.payload = payload;
725
+ this._id = 64;
726
+ }
727
+ encode(writer) {
728
+ return writer.uint(64) &&
729
+ writer.string(this.name) &&
730
+ writer.string(this.payload);
731
+ }
732
+ }
733
+ exports.CustomIssue = bindNew(_CustomIssue);
734
+ exports.classes.set(64, exports.CustomIssue);
735
+ class _PageClose {
736
+ constructor() {
737
+ this._id = 65;
738
+ }
739
+ encode(writer) {
740
+ return writer.uint(65);
741
+ }
742
+ }
743
+ exports.PageClose = bindNew(_PageClose);
744
+ exports.classes.set(65, exports.PageClose);
745
+ class _CSSInsertRuleURLBased {
746
+ constructor(id, rule, index, baseURL) {
747
+ this.id = id;
748
+ this.rule = rule;
749
+ this.index = index;
750
+ this.baseURL = baseURL;
751
+ this._id = 67;
752
+ }
753
+ encode(writer) {
754
+ return writer.uint(67) &&
755
+ writer.uint(this.id) &&
756
+ writer.string(this.rule) &&
757
+ writer.uint(this.index) &&
758
+ writer.string(this.baseURL);
759
+ }
760
+ }
761
+ exports.CSSInsertRuleURLBased = bindNew(_CSSInsertRuleURLBased);
762
+ exports.classes.set(67, exports.CSSInsertRuleURLBased);
763
+ class _MouseClick {
764
+ constructor(id, hesitationTime, label, selector) {
765
+ this.id = id;
766
+ this.hesitationTime = hesitationTime;
767
+ this.label = label;
768
+ this.selector = selector;
769
+ this._id = 69;
770
+ }
771
+ encode(writer) {
772
+ return writer.uint(69) &&
773
+ writer.uint(this.id) &&
774
+ writer.uint(this.hesitationTime) &&
775
+ writer.string(this.label) &&
776
+ writer.string(this.selector);
777
+ }
778
+ }
779
+ exports.MouseClick = bindNew(_MouseClick);
780
+ exports.classes.set(69, exports.MouseClick);
781
+ class _CreateIFrameDocument {
782
+ constructor(frameID, id) {
783
+ this.frameID = frameID;
784
+ this.id = id;
785
+ this._id = 70;
786
+ }
787
+ encode(writer) {
788
+ return writer.uint(70) &&
789
+ writer.uint(this.frameID) &&
790
+ writer.uint(this.id);
791
+ }
792
+ }
793
+ exports.CreateIFrameDocument = bindNew(_CreateIFrameDocument);
794
+ exports.classes.set(70, exports.CreateIFrameDocument);