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