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