@openreplay/tracker 4.1.10 → 4.1.11

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 (71) hide show
  1. package/.eslintignore +0 -3
  2. package/README.md +18 -22
  3. package/cjs/app/guards.d.ts +12 -11
  4. package/cjs/app/guards.js +1 -2
  5. package/cjs/app/index.d.ts +8 -11
  6. package/cjs/app/index.js +8 -27
  7. package/cjs/app/logger.d.ts +3 -3
  8. package/cjs/app/messages.d.ts +52 -0
  9. package/cjs/app/messages.gen.d.ts +6 -8
  10. package/cjs/app/messages.gen.js +94 -116
  11. package/cjs/app/messages.js +234 -0
  12. package/cjs/app/nodes.d.ts +1 -1
  13. package/cjs/app/observer/iframe_offsets.d.ts +1 -1
  14. package/cjs/app/observer/observer.js +5 -5
  15. package/cjs/app/observer/top_observer.d.ts +2 -2
  16. package/cjs/app/observer/top_observer.js +1 -1
  17. package/cjs/app/session.d.ts +2 -2
  18. package/cjs/app/ticker.d.ts +1 -1
  19. package/cjs/common/interaction.d.ts +5 -5
  20. package/cjs/common/messages.gen.d.ts +86 -104
  21. package/cjs/index.d.ts +2 -6
  22. package/cjs/index.js +5 -7
  23. package/cjs/modules/cssrules.js +1 -1
  24. package/cjs/modules/focus.js +2 -2
  25. package/cjs/modules/fonts.js +2 -2
  26. package/cjs/modules/img.js +5 -6
  27. package/cjs/modules/input.d.ts +1 -1
  28. package/cjs/modules/input.js +23 -15
  29. package/cjs/modules/mouse.js +1 -1
  30. package/cjs/modules/timing.js +3 -7
  31. package/cjs/modules/viewport.js +1 -3
  32. package/cjs/vendors/finder/finder.d.ts +1 -1
  33. package/lib/app/guards.d.ts +12 -11
  34. package/lib/app/guards.js +1 -2
  35. package/lib/app/index.d.ts +8 -11
  36. package/lib/app/index.js +9 -28
  37. package/lib/app/logger.d.ts +3 -3
  38. package/lib/app/messages.d.ts +52 -0
  39. package/lib/app/messages.gen.d.ts +6 -8
  40. package/lib/app/messages.gen.js +87 -107
  41. package/lib/app/messages.js +181 -0
  42. package/lib/app/nodes.d.ts +1 -1
  43. package/lib/app/observer/iframe_offsets.d.ts +1 -1
  44. package/lib/app/observer/observer.js +5 -5
  45. package/lib/app/observer/top_observer.d.ts +2 -2
  46. package/lib/app/observer/top_observer.js +1 -1
  47. package/lib/app/session.d.ts +2 -2
  48. package/lib/app/ticker.d.ts +1 -1
  49. package/lib/common/interaction.d.ts +5 -5
  50. package/lib/common/messages.gen.d.ts +86 -104
  51. package/lib/common/tsconfig.tsbuildinfo +1 -1
  52. package/lib/index.d.ts +2 -6
  53. package/lib/index.js +6 -8
  54. package/lib/modules/cssrules.js +1 -1
  55. package/lib/modules/focus.js +2 -2
  56. package/lib/modules/fonts.js +2 -2
  57. package/lib/modules/img.js +5 -6
  58. package/lib/modules/input.d.ts +1 -1
  59. package/lib/modules/input.js +23 -15
  60. package/lib/modules/mouse.js +1 -1
  61. package/lib/modules/timing.js +4 -8
  62. package/lib/modules/viewport.js +1 -3
  63. package/lib/vendors/finder/finder.d.ts +1 -1
  64. package/package.json +3 -8
  65. package/tsconfig-base.json +1 -2
  66. package/CHANGELOG.md +0 -19
  67. package/cjs/modules/network.d.ts +0 -28
  68. package/cjs/modules/network.js +0 -203
  69. package/jest.config.js +0 -11
  70. package/lib/modules/network.d.ts +0 -28
  71. package/lib/modules/network.js +0 -200
@@ -2,18 +2,37 @@
2
2
  // Auto-generated, do not edit
3
3
  /* eslint-disable */
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.CSSInsertRuleURLBased = exports.CustomIssue = exports.TechnicalInfo = exports.SetCSSDataURLBased = exports.SetNodeAttributeURLBased = exports.LongTask = exports.SetNodeFocus = exports.LoadFontFace = exports.SetPageVisibility = exports.ConnectionInformation = exports.ResourceTiming = exports.SetNodeAttributeDict = exports.StringDict = 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.CustomEvent = exports.PageRenderTiming = exports.PageLoadTiming = exports.ConsoleLog = exports.NetworkRequest = 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 = void 0;
6
- exports.PartitionedMessage = exports.BatchMetadata = exports.Zustand = exports.JSException = exports.AdoptedSSRemoveOwner = exports.AdoptedSSAddOwner = exports.AdoptedSSDeleteRule = exports.AdoptedSSInsertRuleURLBased = exports.AdoptedSSReplaceURLBased = exports.CreateIFrameDocument = exports.MouseClick = void 0;
5
+ exports.CSSInsertRuleURLBased = exports.CustomIssue = exports.TechnicalInfo = exports.SetCSSDataURLBased = exports.SetNodeAttributeURLBased = exports.LongTask = exports.SetNodeFocus = exports.LoadFontFace = 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.JSExceptionDeprecated = 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.PartitionedMessage = exports.BatchMetadata = void 0;
6
+ exports.JSException = exports.Zustand = exports.AdoptedSSRemoveOwner = exports.AdoptedSSAddOwner = exports.AdoptedSSDeleteRule = exports.AdoptedSSInsertRuleURLBased = exports.AdoptedSSReplaceURLBased = exports.CreateIFrameDocument = exports.MouseClick = void 0;
7
+ function BatchMetadata(version, pageNo, firstIndex, timestamp, location) {
8
+ return [
9
+ 81 /* BatchMetadata */,
10
+ version,
11
+ pageNo,
12
+ firstIndex,
13
+ timestamp,
14
+ location,
15
+ ];
16
+ }
17
+ exports.BatchMetadata = BatchMetadata;
18
+ function PartitionedMessage(partNo, partTotal) {
19
+ return [
20
+ 82 /* PartitionedMessage */,
21
+ partNo,
22
+ partTotal,
23
+ ];
24
+ }
25
+ exports.PartitionedMessage = PartitionedMessage;
7
26
  function Timestamp(timestamp) {
8
27
  return [
9
- 0 /* Messages.Type.Timestamp */,
28
+ 0 /* Timestamp */,
10
29
  timestamp,
11
30
  ];
12
31
  }
13
32
  exports.Timestamp = Timestamp;
14
33
  function SetPageLocation(url, referrer, navigationStart) {
15
34
  return [
16
- 4 /* Messages.Type.SetPageLocation */,
35
+ 4 /* SetPageLocation */,
17
36
  url,
18
37
  referrer,
19
38
  navigationStart,
@@ -22,7 +41,7 @@ function SetPageLocation(url, referrer, navigationStart) {
22
41
  exports.SetPageLocation = SetPageLocation;
23
42
  function SetViewportSize(width, height) {
24
43
  return [
25
- 5 /* Messages.Type.SetViewportSize */,
44
+ 5 /* SetViewportSize */,
26
45
  width,
27
46
  height,
28
47
  ];
@@ -30,7 +49,7 @@ function SetViewportSize(width, height) {
30
49
  exports.SetViewportSize = SetViewportSize;
31
50
  function SetViewportScroll(x, y) {
32
51
  return [
33
- 6 /* Messages.Type.SetViewportScroll */,
52
+ 6 /* SetViewportScroll */,
34
53
  x,
35
54
  y,
36
55
  ];
@@ -38,13 +57,13 @@ function SetViewportScroll(x, y) {
38
57
  exports.SetViewportScroll = SetViewportScroll;
39
58
  function CreateDocument() {
40
59
  return [
41
- 7 /* Messages.Type.CreateDocument */,
60
+ 7 /* CreateDocument */,
42
61
  ];
43
62
  }
44
63
  exports.CreateDocument = CreateDocument;
45
64
  function CreateElementNode(id, parentID, index, tag, svg) {
46
65
  return [
47
- 8 /* Messages.Type.CreateElementNode */,
66
+ 8 /* CreateElementNode */,
48
67
  id,
49
68
  parentID,
50
69
  index,
@@ -55,7 +74,7 @@ function CreateElementNode(id, parentID, index, tag, svg) {
55
74
  exports.CreateElementNode = CreateElementNode;
56
75
  function CreateTextNode(id, parentID, index) {
57
76
  return [
58
- 9 /* Messages.Type.CreateTextNode */,
77
+ 9 /* CreateTextNode */,
59
78
  id,
60
79
  parentID,
61
80
  index,
@@ -64,7 +83,7 @@ function CreateTextNode(id, parentID, index) {
64
83
  exports.CreateTextNode = CreateTextNode;
65
84
  function MoveNode(id, parentID, index) {
66
85
  return [
67
- 10 /* Messages.Type.MoveNode */,
86
+ 10 /* MoveNode */,
68
87
  id,
69
88
  parentID,
70
89
  index,
@@ -73,14 +92,14 @@ function MoveNode(id, parentID, index) {
73
92
  exports.MoveNode = MoveNode;
74
93
  function RemoveNode(id) {
75
94
  return [
76
- 11 /* Messages.Type.RemoveNode */,
95
+ 11 /* RemoveNode */,
77
96
  id,
78
97
  ];
79
98
  }
80
99
  exports.RemoveNode = RemoveNode;
81
100
  function SetNodeAttribute(id, name, value) {
82
101
  return [
83
- 12 /* Messages.Type.SetNodeAttribute */,
102
+ 12 /* SetNodeAttribute */,
84
103
  id,
85
104
  name,
86
105
  value,
@@ -89,7 +108,7 @@ function SetNodeAttribute(id, name, value) {
89
108
  exports.SetNodeAttribute = SetNodeAttribute;
90
109
  function RemoveNodeAttribute(id, name) {
91
110
  return [
92
- 13 /* Messages.Type.RemoveNodeAttribute */,
111
+ 13 /* RemoveNodeAttribute */,
93
112
  id,
94
113
  name,
95
114
  ];
@@ -97,7 +116,7 @@ function RemoveNodeAttribute(id, name) {
97
116
  exports.RemoveNodeAttribute = RemoveNodeAttribute;
98
117
  function SetNodeData(id, data) {
99
118
  return [
100
- 14 /* Messages.Type.SetNodeData */,
119
+ 14 /* SetNodeData */,
101
120
  id,
102
121
  data,
103
122
  ];
@@ -105,7 +124,7 @@ function SetNodeData(id, data) {
105
124
  exports.SetNodeData = SetNodeData;
106
125
  function SetNodeScroll(id, x, y) {
107
126
  return [
108
- 16 /* Messages.Type.SetNodeScroll */,
127
+ 16 /* SetNodeScroll */,
109
128
  id,
110
129
  x,
111
130
  y,
@@ -114,7 +133,7 @@ function SetNodeScroll(id, x, y) {
114
133
  exports.SetNodeScroll = SetNodeScroll;
115
134
  function SetInputTarget(id, label) {
116
135
  return [
117
- 17 /* Messages.Type.SetInputTarget */,
136
+ 17 /* SetInputTarget */,
118
137
  id,
119
138
  label,
120
139
  ];
@@ -122,7 +141,7 @@ function SetInputTarget(id, label) {
122
141
  exports.SetInputTarget = SetInputTarget;
123
142
  function SetInputValue(id, value, mask) {
124
143
  return [
125
- 18 /* Messages.Type.SetInputValue */,
144
+ 18 /* SetInputValue */,
126
145
  id,
127
146
  value,
128
147
  mask,
@@ -131,7 +150,7 @@ function SetInputValue(id, value, mask) {
131
150
  exports.SetInputValue = SetInputValue;
132
151
  function SetInputChecked(id, checked) {
133
152
  return [
134
- 19 /* Messages.Type.SetInputChecked */,
153
+ 19 /* SetInputChecked */,
135
154
  id,
136
155
  checked,
137
156
  ];
@@ -139,29 +158,15 @@ function SetInputChecked(id, checked) {
139
158
  exports.SetInputChecked = SetInputChecked;
140
159
  function MouseMove(x, y) {
141
160
  return [
142
- 20 /* Messages.Type.MouseMove */,
161
+ 20 /* MouseMove */,
143
162
  x,
144
163
  y,
145
164
  ];
146
165
  }
147
166
  exports.MouseMove = MouseMove;
148
- function NetworkRequest(type, method, url, request, response, status, timestamp, duration) {
149
- return [
150
- 21 /* Messages.Type.NetworkRequest */,
151
- type,
152
- method,
153
- url,
154
- request,
155
- response,
156
- status,
157
- timestamp,
158
- duration,
159
- ];
160
- }
161
- exports.NetworkRequest = NetworkRequest;
162
167
  function ConsoleLog(level, value) {
163
168
  return [
164
- 22 /* Messages.Type.ConsoleLog */,
169
+ 22 /* ConsoleLog */,
165
170
  level,
166
171
  value,
167
172
  ];
@@ -169,7 +174,7 @@ function ConsoleLog(level, value) {
169
174
  exports.ConsoleLog = ConsoleLog;
170
175
  function PageLoadTiming(requestStart, responseStart, responseEnd, domContentLoadedEventStart, domContentLoadedEventEnd, loadEventStart, loadEventEnd, firstPaint, firstContentfulPaint) {
171
176
  return [
172
- 23 /* Messages.Type.PageLoadTiming */,
177
+ 23 /* PageLoadTiming */,
173
178
  requestStart,
174
179
  responseStart,
175
180
  responseEnd,
@@ -184,38 +189,47 @@ function PageLoadTiming(requestStart, responseStart, responseEnd, domContentLoad
184
189
  exports.PageLoadTiming = PageLoadTiming;
185
190
  function PageRenderTiming(speedIndex, visuallyComplete, timeToInteractive) {
186
191
  return [
187
- 24 /* Messages.Type.PageRenderTiming */,
192
+ 24 /* PageRenderTiming */,
188
193
  speedIndex,
189
194
  visuallyComplete,
190
195
  timeToInteractive,
191
196
  ];
192
197
  }
193
198
  exports.PageRenderTiming = PageRenderTiming;
194
- function CustomEvent(name, payload) {
199
+ function JSExceptionDeprecated(name, message, payload) {
195
200
  return [
196
- 27 /* Messages.Type.CustomEvent */,
201
+ 25 /* JSExceptionDeprecated */,
197
202
  name,
203
+ message,
198
204
  payload,
199
205
  ];
200
206
  }
201
- exports.CustomEvent = CustomEvent;
207
+ exports.JSExceptionDeprecated = JSExceptionDeprecated;
208
+ function RawCustomEvent(name, payload) {
209
+ return [
210
+ 27 /* RawCustomEvent */,
211
+ name,
212
+ payload,
213
+ ];
214
+ }
215
+ exports.RawCustomEvent = RawCustomEvent;
202
216
  function UserID(id) {
203
217
  return [
204
- 28 /* Messages.Type.UserID */,
218
+ 28 /* UserID */,
205
219
  id,
206
220
  ];
207
221
  }
208
222
  exports.UserID = UserID;
209
223
  function UserAnonymousID(id) {
210
224
  return [
211
- 29 /* Messages.Type.UserAnonymousID */,
225
+ 29 /* UserAnonymousID */,
212
226
  id,
213
227
  ];
214
228
  }
215
229
  exports.UserAnonymousID = UserAnonymousID;
216
230
  function Metadata(key, value) {
217
231
  return [
218
- 30 /* Messages.Type.Metadata */,
232
+ 30 /* Metadata */,
219
233
  key,
220
234
  value,
221
235
  ];
@@ -223,7 +237,7 @@ function Metadata(key, value) {
223
237
  exports.Metadata = Metadata;
224
238
  function CSSInsertRule(id, rule, index) {
225
239
  return [
226
- 37 /* Messages.Type.CSSInsertRule */,
240
+ 37 /* CSSInsertRule */,
227
241
  id,
228
242
  rule,
229
243
  index,
@@ -232,7 +246,7 @@ function CSSInsertRule(id, rule, index) {
232
246
  exports.CSSInsertRule = CSSInsertRule;
233
247
  function CSSDeleteRule(id, index) {
234
248
  return [
235
- 38 /* Messages.Type.CSSDeleteRule */,
249
+ 38 /* CSSDeleteRule */,
236
250
  id,
237
251
  index,
238
252
  ];
@@ -240,7 +254,7 @@ function CSSDeleteRule(id, index) {
240
254
  exports.CSSDeleteRule = CSSDeleteRule;
241
255
  function Fetch(method, url, request, response, status, timestamp, duration) {
242
256
  return [
243
- 39 /* Messages.Type.Fetch */,
257
+ 39 /* Fetch */,
244
258
  method,
245
259
  url,
246
260
  request,
@@ -253,7 +267,7 @@ function Fetch(method, url, request, response, status, timestamp, duration) {
253
267
  exports.Fetch = Fetch;
254
268
  function Profiler(name, duration, args, result) {
255
269
  return [
256
- 40 /* Messages.Type.Profiler */,
270
+ 40 /* Profiler */,
257
271
  name,
258
272
  duration,
259
273
  args,
@@ -263,7 +277,7 @@ function Profiler(name, duration, args, result) {
263
277
  exports.Profiler = Profiler;
264
278
  function OTable(key, value) {
265
279
  return [
266
- 41 /* Messages.Type.OTable */,
280
+ 41 /* OTable */,
267
281
  key,
268
282
  value,
269
283
  ];
@@ -271,14 +285,14 @@ function OTable(key, value) {
271
285
  exports.OTable = OTable;
272
286
  function StateAction(type) {
273
287
  return [
274
- 42 /* Messages.Type.StateAction */,
288
+ 42 /* StateAction */,
275
289
  type,
276
290
  ];
277
291
  }
278
292
  exports.StateAction = StateAction;
279
293
  function Redux(action, state, duration) {
280
294
  return [
281
- 44 /* Messages.Type.Redux */,
295
+ 44 /* Redux */,
282
296
  action,
283
297
  state,
284
298
  duration,
@@ -287,7 +301,7 @@ function Redux(action, state, duration) {
287
301
  exports.Redux = Redux;
288
302
  function Vuex(mutation, state) {
289
303
  return [
290
- 45 /* Messages.Type.Vuex */,
304
+ 45 /* Vuex */,
291
305
  mutation,
292
306
  state,
293
307
  ];
@@ -295,7 +309,7 @@ function Vuex(mutation, state) {
295
309
  exports.Vuex = Vuex;
296
310
  function MobX(type, payload) {
297
311
  return [
298
- 46 /* Messages.Type.MobX */,
312
+ 46 /* MobX */,
299
313
  type,
300
314
  payload,
301
315
  ];
@@ -303,7 +317,7 @@ function MobX(type, payload) {
303
317
  exports.MobX = MobX;
304
318
  function NgRx(action, state, duration) {
305
319
  return [
306
- 47 /* Messages.Type.NgRx */,
320
+ 47 /* NgRx */,
307
321
  action,
308
322
  state,
309
323
  duration,
@@ -312,7 +326,7 @@ function NgRx(action, state, duration) {
312
326
  exports.NgRx = NgRx;
313
327
  function GraphQL(operationKind, operationName, variables, response) {
314
328
  return [
315
- 48 /* Messages.Type.GraphQL */,
329
+ 48 /* GraphQL */,
316
330
  operationKind,
317
331
  operationName,
318
332
  variables,
@@ -322,7 +336,7 @@ function GraphQL(operationKind, operationName, variables, response) {
322
336
  exports.GraphQL = GraphQL;
323
337
  function PerformanceTrack(frames, ticks, totalJSHeapSize, usedJSHeapSize) {
324
338
  return [
325
- 49 /* Messages.Type.PerformanceTrack */,
339
+ 49 /* PerformanceTrack */,
326
340
  frames,
327
341
  ticks,
328
342
  totalJSHeapSize,
@@ -330,26 +344,9 @@ function PerformanceTrack(frames, ticks, totalJSHeapSize, usedJSHeapSize) {
330
344
  ];
331
345
  }
332
346
  exports.PerformanceTrack = PerformanceTrack;
333
- function StringDict(key, value) {
334
- return [
335
- 50 /* Messages.Type.StringDict */,
336
- key,
337
- value,
338
- ];
339
- }
340
- exports.StringDict = StringDict;
341
- function SetNodeAttributeDict(id, nameKey, valueKey) {
342
- return [
343
- 51 /* Messages.Type.SetNodeAttributeDict */,
344
- id,
345
- nameKey,
346
- valueKey,
347
- ];
348
- }
349
- exports.SetNodeAttributeDict = SetNodeAttributeDict;
350
347
  function ResourceTiming(timestamp, duration, ttfb, headerSize, encodedBodySize, decodedBodySize, url, initiator) {
351
348
  return [
352
- 53 /* Messages.Type.ResourceTiming */,
349
+ 53 /* ResourceTiming */,
353
350
  timestamp,
354
351
  duration,
355
352
  ttfb,
@@ -363,7 +360,7 @@ function ResourceTiming(timestamp, duration, ttfb, headerSize, encodedBodySize,
363
360
  exports.ResourceTiming = ResourceTiming;
364
361
  function ConnectionInformation(downlink, type) {
365
362
  return [
366
- 54 /* Messages.Type.ConnectionInformation */,
363
+ 54 /* ConnectionInformation */,
367
364
  downlink,
368
365
  type,
369
366
  ];
@@ -371,14 +368,14 @@ function ConnectionInformation(downlink, type) {
371
368
  exports.ConnectionInformation = ConnectionInformation;
372
369
  function SetPageVisibility(hidden) {
373
370
  return [
374
- 55 /* Messages.Type.SetPageVisibility */,
371
+ 55 /* SetPageVisibility */,
375
372
  hidden,
376
373
  ];
377
374
  }
378
375
  exports.SetPageVisibility = SetPageVisibility;
379
376
  function LoadFontFace(parentID, family, source, descriptors) {
380
377
  return [
381
- 57 /* Messages.Type.LoadFontFace */,
378
+ 57 /* LoadFontFace */,
382
379
  parentID,
383
380
  family,
384
381
  source,
@@ -388,14 +385,14 @@ function LoadFontFace(parentID, family, source, descriptors) {
388
385
  exports.LoadFontFace = LoadFontFace;
389
386
  function SetNodeFocus(id) {
390
387
  return [
391
- 58 /* Messages.Type.SetNodeFocus */,
388
+ 58 /* SetNodeFocus */,
392
389
  id,
393
390
  ];
394
391
  }
395
392
  exports.SetNodeFocus = SetNodeFocus;
396
393
  function LongTask(timestamp, duration, context, containerType, containerSrc, containerId, containerName) {
397
394
  return [
398
- 59 /* Messages.Type.LongTask */,
395
+ 59 /* LongTask */,
399
396
  timestamp,
400
397
  duration,
401
398
  context,
@@ -408,7 +405,7 @@ function LongTask(timestamp, duration, context, containerType, containerSrc, con
408
405
  exports.LongTask = LongTask;
409
406
  function SetNodeAttributeURLBased(id, name, value, baseURL) {
410
407
  return [
411
- 60 /* Messages.Type.SetNodeAttributeURLBased */,
408
+ 60 /* SetNodeAttributeURLBased */,
412
409
  id,
413
410
  name,
414
411
  value,
@@ -418,7 +415,7 @@ function SetNodeAttributeURLBased(id, name, value, baseURL) {
418
415
  exports.SetNodeAttributeURLBased = SetNodeAttributeURLBased;
419
416
  function SetCSSDataURLBased(id, data, baseURL) {
420
417
  return [
421
- 61 /* Messages.Type.SetCSSDataURLBased */,
418
+ 61 /* SetCSSDataURLBased */,
422
419
  id,
423
420
  data,
424
421
  baseURL,
@@ -427,7 +424,7 @@ function SetCSSDataURLBased(id, data, baseURL) {
427
424
  exports.SetCSSDataURLBased = SetCSSDataURLBased;
428
425
  function TechnicalInfo(type, value) {
429
426
  return [
430
- 63 /* Messages.Type.TechnicalInfo */,
427
+ 63 /* TechnicalInfo */,
431
428
  type,
432
429
  value,
433
430
  ];
@@ -435,7 +432,7 @@ function TechnicalInfo(type, value) {
435
432
  exports.TechnicalInfo = TechnicalInfo;
436
433
  function CustomIssue(name, payload) {
437
434
  return [
438
- 64 /* Messages.Type.CustomIssue */,
435
+ 64 /* CustomIssue */,
439
436
  name,
440
437
  payload,
441
438
  ];
@@ -443,7 +440,7 @@ function CustomIssue(name, payload) {
443
440
  exports.CustomIssue = CustomIssue;
444
441
  function CSSInsertRuleURLBased(id, rule, index, baseURL) {
445
442
  return [
446
- 67 /* Messages.Type.CSSInsertRuleURLBased */,
443
+ 67 /* CSSInsertRuleURLBased */,
447
444
  id,
448
445
  rule,
449
446
  index,
@@ -453,7 +450,7 @@ function CSSInsertRuleURLBased(id, rule, index, baseURL) {
453
450
  exports.CSSInsertRuleURLBased = CSSInsertRuleURLBased;
454
451
  function MouseClick(id, hesitationTime, label, selector) {
455
452
  return [
456
- 69 /* Messages.Type.MouseClick */,
453
+ 69 /* MouseClick */,
457
454
  id,
458
455
  hesitationTime,
459
456
  label,
@@ -463,7 +460,7 @@ function MouseClick(id, hesitationTime, label, selector) {
463
460
  exports.MouseClick = MouseClick;
464
461
  function CreateIFrameDocument(frameID, id) {
465
462
  return [
466
- 70 /* Messages.Type.CreateIFrameDocument */,
463
+ 70 /* CreateIFrameDocument */,
467
464
  frameID,
468
465
  id,
469
466
  ];
@@ -471,7 +468,7 @@ function CreateIFrameDocument(frameID, id) {
471
468
  exports.CreateIFrameDocument = CreateIFrameDocument;
472
469
  function AdoptedSSReplaceURLBased(sheetID, text, baseURL) {
473
470
  return [
474
- 71 /* Messages.Type.AdoptedSSReplaceURLBased */,
471
+ 71 /* AdoptedSSReplaceURLBased */,
475
472
  sheetID,
476
473
  text,
477
474
  baseURL,
@@ -480,7 +477,7 @@ function AdoptedSSReplaceURLBased(sheetID, text, baseURL) {
480
477
  exports.AdoptedSSReplaceURLBased = AdoptedSSReplaceURLBased;
481
478
  function AdoptedSSInsertRuleURLBased(sheetID, rule, index, baseURL) {
482
479
  return [
483
- 73 /* Messages.Type.AdoptedSSInsertRuleURLBased */,
480
+ 73 /* AdoptedSSInsertRuleURLBased */,
484
481
  sheetID,
485
482
  rule,
486
483
  index,
@@ -490,7 +487,7 @@ function AdoptedSSInsertRuleURLBased(sheetID, rule, index, baseURL) {
490
487
  exports.AdoptedSSInsertRuleURLBased = AdoptedSSInsertRuleURLBased;
491
488
  function AdoptedSSDeleteRule(sheetID, index) {
492
489
  return [
493
- 75 /* Messages.Type.AdoptedSSDeleteRule */,
490
+ 75 /* AdoptedSSDeleteRule */,
494
491
  sheetID,
495
492
  index,
496
493
  ];
@@ -498,7 +495,7 @@ function AdoptedSSDeleteRule(sheetID, index) {
498
495
  exports.AdoptedSSDeleteRule = AdoptedSSDeleteRule;
499
496
  function AdoptedSSAddOwner(sheetID, id) {
500
497
  return [
501
- 76 /* Messages.Type.AdoptedSSAddOwner */,
498
+ 76 /* AdoptedSSAddOwner */,
502
499
  sheetID,
503
500
  id,
504
501
  ];
@@ -506,46 +503,27 @@ function AdoptedSSAddOwner(sheetID, id) {
506
503
  exports.AdoptedSSAddOwner = AdoptedSSAddOwner;
507
504
  function AdoptedSSRemoveOwner(sheetID, id) {
508
505
  return [
509
- 77 /* Messages.Type.AdoptedSSRemoveOwner */,
506
+ 77 /* AdoptedSSRemoveOwner */,
510
507
  sheetID,
511
508
  id,
512
509
  ];
513
510
  }
514
511
  exports.AdoptedSSRemoveOwner = AdoptedSSRemoveOwner;
515
- function JSException(name, message, payload, metadata) {
516
- return [
517
- 78 /* Messages.Type.JSException */,
518
- name,
519
- message,
520
- payload,
521
- metadata,
522
- ];
523
- }
524
- exports.JSException = JSException;
525
512
  function Zustand(mutation, state) {
526
513
  return [
527
- 79 /* Messages.Type.Zustand */,
514
+ 79 /* Zustand */,
528
515
  mutation,
529
516
  state,
530
517
  ];
531
518
  }
532
519
  exports.Zustand = Zustand;
533
- function BatchMetadata(version, pageNo, firstIndex, timestamp, location) {
534
- return [
535
- 81 /* Messages.Type.BatchMetadata */,
536
- version,
537
- pageNo,
538
- firstIndex,
539
- timestamp,
540
- location,
541
- ];
542
- }
543
- exports.BatchMetadata = BatchMetadata;
544
- function PartitionedMessage(partNo, partTotal) {
520
+ function JSException(name, message, payload, metadata) {
545
521
  return [
546
- 82 /* Messages.Type.PartitionedMessage */,
547
- partNo,
548
- partTotal,
522
+ 78 /* JSException */,
523
+ name,
524
+ message,
525
+ payload,
526
+ metadata,
549
527
  ];
550
528
  }
551
- exports.PartitionedMessage = PartitionedMessage;
529
+ exports.JSException = JSException;