@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.
Files changed (126) hide show
  1. package/cjs/app/guards.d.ts +1 -2
  2. package/cjs/app/guards.js +3 -6
  3. package/cjs/app/index.d.ts +22 -24
  4. package/cjs/app/index.js +84 -85
  5. package/cjs/app/logger.js +3 -6
  6. package/cjs/app/nodes.js +0 -2
  7. package/cjs/app/observer/iframe_observer.d.ts +1 -1
  8. package/cjs/app/observer/iframe_observer.js +3 -3
  9. package/cjs/app/observer/observer.d.ts +3 -2
  10. package/cjs/app/observer/observer.js +52 -50
  11. package/cjs/app/observer/shadow_root_observer.d.ts +1 -1
  12. package/cjs/app/observer/shadow_root_observer.js +3 -3
  13. package/cjs/app/observer/top_observer.d.ts +2 -11
  14. package/cjs/app/observer/top_observer.js +23 -52
  15. package/cjs/app/sanitizer.d.ts +1 -1
  16. package/cjs/app/sanitizer.js +5 -5
  17. package/cjs/app/session.d.ts +2 -18
  18. package/cjs/app/session.js +6 -55
  19. package/cjs/app/ticker.d.ts +1 -1
  20. package/cjs/common/messages.d.ts +444 -0
  21. package/cjs/common/messages.js +794 -0
  22. package/cjs/common/types.d.ts +9 -0
  23. package/cjs/common/{interaction.js → types.js} +0 -0
  24. package/cjs/common/{interaction.d.ts → webworker.d.ts} +5 -5
  25. package/cjs/common/webworker.js +2 -0
  26. package/cjs/index.d.ts +10 -10
  27. package/cjs/index.js +37 -42
  28. package/cjs/modules/connection.d.ts +1 -1
  29. package/cjs/modules/connection.js +2 -2
  30. package/cjs/modules/console.d.ts +1 -1
  31. package/cjs/modules/console.js +21 -7
  32. package/cjs/modules/cssrules.d.ts +1 -1
  33. package/cjs/modules/cssrules.js +14 -18
  34. package/cjs/modules/exception.d.ts +3 -3
  35. package/cjs/modules/exception.js +20 -25
  36. package/cjs/modules/img.d.ts +1 -1
  37. package/cjs/modules/img.js +26 -39
  38. package/cjs/modules/input.d.ts +1 -1
  39. package/cjs/modules/input.js +21 -21
  40. package/cjs/modules/longtasks.d.ts +2 -0
  41. package/cjs/modules/longtasks.js +26 -0
  42. package/cjs/modules/mouse.d.ts +1 -1
  43. package/cjs/modules/mouse.js +43 -50
  44. package/cjs/modules/performance.d.ts +1 -1
  45. package/cjs/modules/performance.js +2 -2
  46. package/cjs/modules/scroll.d.ts +1 -1
  47. package/cjs/modules/scroll.js +7 -16
  48. package/cjs/modules/timing.d.ts +1 -1
  49. package/cjs/modules/timing.js +26 -14
  50. package/cjs/modules/viewport.d.ts +1 -1
  51. package/cjs/modules/viewport.js +4 -4
  52. package/cjs/utils.js +7 -7
  53. package/cjs/vendors/finder/finder.js +48 -53
  54. package/lib/app/guards.d.ts +1 -2
  55. package/lib/app/guards.js +2 -4
  56. package/lib/app/index.d.ts +22 -24
  57. package/lib/app/index.js +92 -93
  58. package/lib/app/logger.js +3 -6
  59. package/lib/app/nodes.js +0 -2
  60. package/lib/app/observer/iframe_observer.d.ts +1 -1
  61. package/lib/app/observer/iframe_observer.js +3 -3
  62. package/lib/app/observer/observer.d.ts +3 -2
  63. package/lib/app/observer/observer.js +53 -51
  64. package/lib/app/observer/shadow_root_observer.d.ts +1 -1
  65. package/lib/app/observer/shadow_root_observer.js +3 -3
  66. package/lib/app/observer/top_observer.d.ts +2 -11
  67. package/lib/app/observer/top_observer.js +27 -56
  68. package/lib/app/sanitizer.d.ts +1 -1
  69. package/lib/app/sanitizer.js +7 -7
  70. package/lib/app/session.d.ts +2 -18
  71. package/lib/app/session.js +6 -55
  72. package/lib/app/ticker.d.ts +1 -1
  73. package/lib/common/messages.d.ts +444 -0
  74. package/lib/common/messages.js +790 -0
  75. package/lib/common/tsconfig.tsbuildinfo +1 -1
  76. package/lib/common/types.d.ts +9 -0
  77. package/lib/common/{interaction.js → types.js} +0 -0
  78. package/lib/common/{interaction.d.ts → webworker.d.ts} +5 -5
  79. package/lib/common/webworker.js +1 -0
  80. package/lib/index.d.ts +10 -10
  81. package/lib/index.js +50 -55
  82. package/lib/modules/connection.d.ts +1 -1
  83. package/lib/modules/connection.js +2 -2
  84. package/lib/modules/console.d.ts +1 -1
  85. package/lib/modules/console.js +22 -8
  86. package/lib/modules/cssrules.d.ts +1 -1
  87. package/lib/modules/cssrules.js +15 -19
  88. package/lib/modules/exception.d.ts +3 -3
  89. package/lib/modules/exception.js +20 -25
  90. package/lib/modules/img.d.ts +1 -1
  91. package/lib/modules/img.js +28 -41
  92. package/lib/modules/input.d.ts +1 -1
  93. package/lib/modules/input.js +23 -23
  94. package/lib/modules/longtasks.d.ts +2 -0
  95. package/lib/modules/longtasks.js +23 -0
  96. package/lib/modules/mouse.d.ts +1 -1
  97. package/lib/modules/mouse.js +46 -53
  98. package/lib/modules/performance.d.ts +1 -1
  99. package/lib/modules/performance.js +3 -3
  100. package/lib/modules/scroll.d.ts +1 -1
  101. package/lib/modules/scroll.js +8 -17
  102. package/lib/modules/timing.d.ts +1 -1
  103. package/lib/modules/timing.js +28 -16
  104. package/lib/modules/viewport.d.ts +1 -1
  105. package/lib/modules/viewport.js +4 -4
  106. package/lib/utils.js +7 -7
  107. package/lib/vendors/finder/finder.js +48 -53
  108. package/package.json +10 -27
  109. package/.eslintignore +0 -8
  110. package/.prettierignore +0 -1
  111. package/cjs/app/messages.d.ts +0 -52
  112. package/cjs/app/messages.gen.d.ts +0 -57
  113. package/cjs/app/messages.gen.js +0 -494
  114. package/cjs/app/messages.js +0 -235
  115. package/cjs/common/messages.gen.d.ts +0 -382
  116. package/cjs/common/messages.gen.js +0 -62
  117. package/cjs/modules/adoptedStyleSheets.d.ts +0 -2
  118. package/cjs/modules/adoptedStyleSheets.js +0 -127
  119. package/lib/app/messages.d.ts +0 -52
  120. package/lib/app/messages.gen.d.ts +0 -57
  121. package/lib/app/messages.gen.js +0 -435
  122. package/lib/app/messages.js +0 -182
  123. package/lib/common/messages.gen.d.ts +0 -382
  124. package/lib/common/messages.gen.js +0 -59
  125. package/lib/modules/adoptedStyleSheets.d.ts +0 -2
  126. package/lib/modules/adoptedStyleSheets.js +0 -124
@@ -1,182 +0,0 @@
1
- // Auto-generated, do not edit
2
- import * as Messages from '../common/messages.gen.js';
3
- export function BatchMetadata(version, pageNo, firstIndex, timestamp, location) {
4
- return [Messages.Type.BatchMetadata, version, pageNo, firstIndex, timestamp, location];
5
- }
6
- export function PartitionedMessage(partNo, partTotal) {
7
- return [Messages.Type.PartitionedMessage, partNo, partTotal];
8
- }
9
- export function Timestamp(timestamp) {
10
- return [Messages.Type.Timestamp, timestamp];
11
- }
12
- export function SetPageLocation(url, referrer, navigationStart) {
13
- return [Messages.Type.SetPageLocation, url, referrer, navigationStart];
14
- }
15
- export function SetViewportSize(width, height) {
16
- return [Messages.Type.SetViewportSize, width, height];
17
- }
18
- export function SetViewportScroll(x, y) {
19
- return [Messages.Type.SetViewportScroll, x, y];
20
- }
21
- export function CreateDocument() {
22
- return [Messages.Type.CreateDocument];
23
- }
24
- export function CreateElementNode(id, parentID, index, tag, svg) {
25
- return [Messages.Type.CreateElementNode, id, parentID, index, tag, svg];
26
- }
27
- export function CreateTextNode(id, parentID, index) {
28
- return [Messages.Type.CreateTextNode, id, parentID, index];
29
- }
30
- export function MoveNode(id, parentID, index) {
31
- return [Messages.Type.MoveNode, id, parentID, index];
32
- }
33
- export function RemoveNode(id) {
34
- return [Messages.Type.RemoveNode, id];
35
- }
36
- export function SetNodeAttribute(id, name, value) {
37
- return [Messages.Type.SetNodeAttribute, id, name, value];
38
- }
39
- export function RemoveNodeAttribute(id, name) {
40
- return [Messages.Type.RemoveNodeAttribute, id, name];
41
- }
42
- export function SetNodeData(id, data) {
43
- return [Messages.Type.SetNodeData, id, data];
44
- }
45
- export function SetNodeScroll(id, x, y) {
46
- return [Messages.Type.SetNodeScroll, id, x, y];
47
- }
48
- export function SetInputTarget(id, label) {
49
- return [Messages.Type.SetInputTarget, id, label];
50
- }
51
- export function SetInputValue(id, value, mask) {
52
- return [Messages.Type.SetInputValue, id, value, mask];
53
- }
54
- export function SetInputChecked(id, checked) {
55
- return [Messages.Type.SetInputChecked, id, checked];
56
- }
57
- export function MouseMove(x, y) {
58
- return [Messages.Type.MouseMove, x, y];
59
- }
60
- export function ConsoleLog(level, value) {
61
- return [Messages.Type.ConsoleLog, level, value];
62
- }
63
- export function PageLoadTiming(requestStart, responseStart, responseEnd, domContentLoadedEventStart, domContentLoadedEventEnd, loadEventStart, loadEventEnd, firstPaint, firstContentfulPaint) {
64
- return [
65
- Messages.Type.PageLoadTiming,
66
- requestStart,
67
- responseStart,
68
- responseEnd,
69
- domContentLoadedEventStart,
70
- domContentLoadedEventEnd,
71
- loadEventStart,
72
- loadEventEnd,
73
- firstPaint,
74
- firstContentfulPaint,
75
- ];
76
- }
77
- export function PageRenderTiming(speedIndex, visuallyComplete, timeToInteractive) {
78
- return [Messages.Type.PageRenderTiming, speedIndex, visuallyComplete, timeToInteractive];
79
- }
80
- export function JSException(name, message, payload) {
81
- return [Messages.Type.JSException, name, message, payload];
82
- }
83
- export function RawCustomEvent(name, payload) {
84
- return [Messages.Type.RawCustomEvent, name, payload];
85
- }
86
- export function UserID(id) {
87
- return [Messages.Type.UserID, id];
88
- }
89
- export function UserAnonymousID(id) {
90
- return [Messages.Type.UserAnonymousID, id];
91
- }
92
- export function Metadata(key, value) {
93
- return [Messages.Type.Metadata, key, value];
94
- }
95
- export function CSSInsertRule(id, rule, index) {
96
- return [Messages.Type.CSSInsertRule, id, rule, index];
97
- }
98
- export function CSSDeleteRule(id, index) {
99
- return [Messages.Type.CSSDeleteRule, id, index];
100
- }
101
- export function Fetch(method, url, request, response, status, timestamp, duration) {
102
- return [Messages.Type.Fetch, method, url, request, response, status, timestamp, duration];
103
- }
104
- export function Profiler(name, duration, args, result) {
105
- return [Messages.Type.Profiler, name, duration, args, result];
106
- }
107
- export function OTable(key, value) {
108
- return [Messages.Type.OTable, key, value];
109
- }
110
- export function StateAction(type) {
111
- return [Messages.Type.StateAction, type];
112
- }
113
- export function Redux(action, state, duration) {
114
- return [Messages.Type.Redux, action, state, duration];
115
- }
116
- export function Vuex(mutation, state) {
117
- return [Messages.Type.Vuex, mutation, state];
118
- }
119
- export function MobX(type, payload) {
120
- return [Messages.Type.MobX, type, payload];
121
- }
122
- export function NgRx(action, state, duration) {
123
- return [Messages.Type.NgRx, action, state, duration];
124
- }
125
- export function GraphQL(operationKind, operationName, variables, response) {
126
- return [Messages.Type.GraphQL, operationKind, operationName, variables, response];
127
- }
128
- export function PerformanceTrack(frames, ticks, totalJSHeapSize, usedJSHeapSize) {
129
- return [Messages.Type.PerformanceTrack, frames, ticks, totalJSHeapSize, usedJSHeapSize];
130
- }
131
- export function ResourceTiming(timestamp, duration, ttfb, headerSize, encodedBodySize, decodedBodySize, url, initiator) {
132
- return [
133
- Messages.Type.ResourceTiming,
134
- timestamp,
135
- duration,
136
- ttfb,
137
- headerSize,
138
- encodedBodySize,
139
- decodedBodySize,
140
- url,
141
- initiator,
142
- ];
143
- }
144
- export function ConnectionInformation(downlink, type) {
145
- return [Messages.Type.ConnectionInformation, downlink, type];
146
- }
147
- export function SetPageVisibility(hidden) {
148
- return [Messages.Type.SetPageVisibility, hidden];
149
- }
150
- export function LongTask(timestamp, duration, context, containerType, containerSrc, containerId, containerName) {
151
- return [
152
- Messages.Type.LongTask,
153
- timestamp,
154
- duration,
155
- context,
156
- containerType,
157
- containerSrc,
158
- containerId,
159
- containerName,
160
- ];
161
- }
162
- export function SetNodeAttributeURLBased(id, name, value, baseURL) {
163
- return [Messages.Type.SetNodeAttributeURLBased, id, name, value, baseURL];
164
- }
165
- export function SetCSSDataURLBased(id, data, baseURL) {
166
- return [Messages.Type.SetCSSDataURLBased, id, data, baseURL];
167
- }
168
- export function TechnicalInfo(type, value) {
169
- return [Messages.Type.TechnicalInfo, type, value];
170
- }
171
- export function CustomIssue(name, payload) {
172
- return [Messages.Type.CustomIssue, name, payload];
173
- }
174
- export function CSSInsertRuleURLBased(id, rule, index, baseURL) {
175
- return [Messages.Type.CSSInsertRuleURLBased, id, rule, index, baseURL];
176
- }
177
- export function MouseClick(id, hesitationTime, label, selector) {
178
- return [Messages.Type.MouseClick, id, hesitationTime, label, selector];
179
- }
180
- export function CreateIFrameDocument(frameID, id) {
181
- return [Messages.Type.CreateIFrameDocument, frameID, id];
182
- }
@@ -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,59 +0,0 @@
1
- // Auto-generated, do not edit
2
- export var Type;
3
- (function (Type) {
4
- Type[Type["BatchMetadata"] = 81] = "BatchMetadata";
5
- Type[Type["PartitionedMessage"] = 82] = "PartitionedMessage";
6
- Type[Type["Timestamp"] = 0] = "Timestamp";
7
- Type[Type["SetPageLocation"] = 4] = "SetPageLocation";
8
- Type[Type["SetViewportSize"] = 5] = "SetViewportSize";
9
- Type[Type["SetViewportScroll"] = 6] = "SetViewportScroll";
10
- Type[Type["CreateDocument"] = 7] = "CreateDocument";
11
- Type[Type["CreateElementNode"] = 8] = "CreateElementNode";
12
- Type[Type["CreateTextNode"] = 9] = "CreateTextNode";
13
- Type[Type["MoveNode"] = 10] = "MoveNode";
14
- Type[Type["RemoveNode"] = 11] = "RemoveNode";
15
- Type[Type["SetNodeAttribute"] = 12] = "SetNodeAttribute";
16
- Type[Type["RemoveNodeAttribute"] = 13] = "RemoveNodeAttribute";
17
- Type[Type["SetNodeData"] = 14] = "SetNodeData";
18
- Type[Type["SetNodeScroll"] = 16] = "SetNodeScroll";
19
- Type[Type["SetInputTarget"] = 17] = "SetInputTarget";
20
- Type[Type["SetInputValue"] = 18] = "SetInputValue";
21
- Type[Type["SetInputChecked"] = 19] = "SetInputChecked";
22
- Type[Type["MouseMove"] = 20] = "MouseMove";
23
- Type[Type["ConsoleLog"] = 22] = "ConsoleLog";
24
- Type[Type["PageLoadTiming"] = 23] = "PageLoadTiming";
25
- Type[Type["PageRenderTiming"] = 24] = "PageRenderTiming";
26
- Type[Type["JSException"] = 25] = "JSException";
27
- Type[Type["RawCustomEvent"] = 27] = "RawCustomEvent";
28
- Type[Type["UserID"] = 28] = "UserID";
29
- Type[Type["UserAnonymousID"] = 29] = "UserAnonymousID";
30
- Type[Type["Metadata"] = 30] = "Metadata";
31
- Type[Type["CSSInsertRule"] = 37] = "CSSInsertRule";
32
- Type[Type["CSSDeleteRule"] = 38] = "CSSDeleteRule";
33
- Type[Type["Fetch"] = 39] = "Fetch";
34
- Type[Type["Profiler"] = 40] = "Profiler";
35
- Type[Type["OTable"] = 41] = "OTable";
36
- Type[Type["StateAction"] = 42] = "StateAction";
37
- Type[Type["Redux"] = 44] = "Redux";
38
- Type[Type["Vuex"] = 45] = "Vuex";
39
- Type[Type["MobX"] = 46] = "MobX";
40
- Type[Type["NgRx"] = 47] = "NgRx";
41
- Type[Type["GraphQL"] = 48] = "GraphQL";
42
- Type[Type["PerformanceTrack"] = 49] = "PerformanceTrack";
43
- Type[Type["ResourceTiming"] = 53] = "ResourceTiming";
44
- Type[Type["ConnectionInformation"] = 54] = "ConnectionInformation";
45
- Type[Type["SetPageVisibility"] = 55] = "SetPageVisibility";
46
- Type[Type["LongTask"] = 59] = "LongTask";
47
- Type[Type["SetNodeAttributeURLBased"] = 60] = "SetNodeAttributeURLBased";
48
- Type[Type["SetCSSDataURLBased"] = 61] = "SetCSSDataURLBased";
49
- Type[Type["TechnicalInfo"] = 63] = "TechnicalInfo";
50
- Type[Type["CustomIssue"] = 64] = "CustomIssue";
51
- Type[Type["CSSInsertRuleURLBased"] = 67] = "CSSInsertRuleURLBased";
52
- Type[Type["MouseClick"] = 69] = "MouseClick";
53
- Type[Type["CreateIFrameDocument"] = 70] = "CreateIFrameDocument";
54
- Type[Type["AdoptedSSReplaceURLBased"] = 71] = "AdoptedSSReplaceURLBased";
55
- Type[Type["AdoptedSSInsertRuleURLBased"] = 73] = "AdoptedSSInsertRuleURLBased";
56
- Type[Type["AdoptedSSDeleteRule"] = 75] = "AdoptedSSDeleteRule";
57
- Type[Type["AdoptedSSAddOwner"] = 76] = "AdoptedSSAddOwner";
58
- Type[Type["AdoptedSSRemoveOwner"] = 77] = "AdoptedSSRemoveOwner";
59
- })(Type || (Type = {}));
@@ -1,2 +0,0 @@
1
- import type App from '../app/index.js';
2
- export default function (app: App | null): void;