@openreplay/tracker 14.0.10-beta.2 → 14.0.10

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 (273) hide show
  1. package/{cjs → dist/cjs}/index.js +27 -49
  2. package/dist/cjs/index.js.map +1 -0
  3. package/{cjs → dist/cjs/main}/app/index.d.ts +17 -5
  4. package/{lib → dist/cjs/main}/app/messages.gen.d.ts +2 -2
  5. package/{lib/app/nodes.d.ts → dist/cjs/main/app/nodes/index.d.ts} +14 -7
  6. package/dist/cjs/main/app/nodes/maintainer.d.ts +28 -0
  7. package/{lib → dist/cjs/main}/app/observer/iframe_offsets.d.ts +1 -1
  8. package/{lib → dist/cjs/main}/app/observer/observer.d.ts +3 -1
  9. package/{lib → dist/cjs/main}/app/observer/top_observer.d.ts +5 -1
  10. package/{cjs → dist/cjs/main}/app/sanitizer.d.ts +5 -2
  11. package/{cjs → dist/cjs/main}/app/session.d.ts +6 -3
  12. package/{cjs → dist/cjs/main}/index.d.ts +2 -2
  13. package/{cjs → dist/cjs/main}/modules/attributeSender.d.ts +5 -2
  14. package/{cjs → dist/cjs/main}/modules/conditionsManager.d.ts +1 -1
  15. package/{cjs → dist/cjs/main}/modules/tagWatcher.d.ts +8 -4
  16. package/{lib → dist/cjs/main}/modules/userTesting/SignalManager.d.ts +2 -2
  17. package/{lib → dist/cjs/main}/utils.d.ts +4 -3
  18. package/dist/lib/index.js +9323 -0
  19. package/dist/lib/index.js.map +1 -0
  20. package/{lib → dist/lib/main}/app/index.d.ts +17 -5
  21. package/{cjs → dist/lib/main}/app/messages.gen.d.ts +2 -2
  22. package/{cjs/app/nodes.d.ts → dist/lib/main/app/nodes/index.d.ts} +14 -7
  23. package/dist/lib/main/app/nodes/maintainer.d.ts +28 -0
  24. package/{cjs → dist/lib/main}/app/observer/iframe_offsets.d.ts +1 -1
  25. package/{cjs → dist/lib/main}/app/observer/observer.d.ts +3 -1
  26. package/{cjs → dist/lib/main}/app/observer/top_observer.d.ts +5 -1
  27. package/{lib → dist/lib/main}/app/sanitizer.d.ts +5 -2
  28. package/{lib → dist/lib/main}/app/session.d.ts +6 -3
  29. package/{lib → dist/lib/main}/index.d.ts +2 -2
  30. package/{lib → dist/lib/main}/modules/attributeSender.d.ts +5 -2
  31. package/{lib → dist/lib/main}/modules/conditionsManager.d.ts +1 -1
  32. package/{lib → dist/lib/main}/modules/tagWatcher.d.ts +8 -4
  33. package/{cjs → dist/lib/main}/modules/userTesting/SignalManager.d.ts +2 -2
  34. package/{cjs → dist/lib/main}/utils.d.ts +4 -3
  35. package/package.json +29 -10
  36. package/.eslintignore +0 -11
  37. package/.nvmrc +0 -1
  38. package/.prettierignore +0 -1
  39. package/CHANGELOG.md +0 -297
  40. package/bun.lockb +0 -0
  41. package/cjs/app/canvas.js +0 -204
  42. package/cjs/app/guards.js +0 -37
  43. package/cjs/app/index.js +0 -1397
  44. package/cjs/app/logger.js +0 -37
  45. package/cjs/app/messages.gen.js +0 -702
  46. package/cjs/app/nodes.js +0 -111
  47. package/cjs/app/observer/iframe_observer.js +0 -35
  48. package/cjs/app/observer/iframe_offsets.js +0 -56
  49. package/cjs/app/observer/observer.js +0 -383
  50. package/cjs/app/observer/shadow_root_observer.js +0 -24
  51. package/cjs/app/observer/top_observer.js +0 -134
  52. package/cjs/app/sanitizer.js +0 -82
  53. package/cjs/app/session.js +0 -140
  54. package/cjs/app/ticker.js +0 -48
  55. package/cjs/common/interaction.js +0 -2
  56. package/cjs/common/messages.gen.js +0 -4
  57. package/cjs/modules/attributeSender.js +0 -51
  58. package/cjs/modules/axiosSpy.js +0 -122
  59. package/cjs/modules/conditionsManager.js +0 -343
  60. package/cjs/modules/connection.js +0 -15
  61. package/cjs/modules/console.js +0 -127
  62. package/cjs/modules/constructedStyleSheets.js +0 -138
  63. package/cjs/modules/cssrules.js +0 -99
  64. package/cjs/modules/exception.js +0 -85
  65. package/cjs/modules/featureFlags.js +0 -89
  66. package/cjs/modules/focus.js +0 -45
  67. package/cjs/modules/fonts.js +0 -57
  68. package/cjs/modules/img.js +0 -110
  69. package/cjs/modules/input.js +0 -203
  70. package/cjs/modules/mouse.js +0 -195
  71. package/cjs/modules/network.js +0 -244
  72. package/cjs/modules/performance.js +0 -53
  73. package/cjs/modules/scroll.js +0 -84
  74. package/cjs/modules/selection.js +0 -37
  75. package/cjs/modules/tabs.js +0 -13
  76. package/cjs/modules/tagWatcher.js +0 -76
  77. package/cjs/modules/timing.js +0 -173
  78. package/cjs/modules/userTesting/SignalManager.js +0 -83
  79. package/cjs/modules/userTesting/dnd.js +0 -40
  80. package/cjs/modules/userTesting/index.js +0 -464
  81. package/cjs/modules/userTesting/recorder.js +0 -101
  82. package/cjs/modules/userTesting/styles.js +0 -266
  83. package/cjs/modules/userTesting/utils.js +0 -87
  84. package/cjs/modules/viewport.js +0 -43
  85. package/cjs/package.json +0 -1
  86. package/cjs/utils.js +0 -249
  87. package/coverage/clover.xml +0 -4304
  88. package/coverage/coverage-final.json +0 -55
  89. package/coverage/lcov-report/base.css +0 -224
  90. package/coverage/lcov-report/block-navigation.js +0 -87
  91. package/coverage/lcov-report/favicon.png +0 -0
  92. package/coverage/lcov-report/index.html +0 -206
  93. package/coverage/lcov-report/main/app/canvas.ts.html +0 -712
  94. package/coverage/lcov-report/main/app/guards.ts.html +0 -232
  95. package/coverage/lcov-report/main/app/index.html +0 -236
  96. package/coverage/lcov-report/main/app/index.ts.html +0 -3955
  97. package/coverage/lcov-report/main/app/logger.ts.html +0 -211
  98. package/coverage/lcov-report/main/app/messages.gen.ts.html +0 -3034
  99. package/coverage/lcov-report/main/app/nodes.ts.html +0 -406
  100. package/coverage/lcov-report/main/app/observer/iframe_observer.ts.html +0 -148
  101. package/coverage/lcov-report/main/app/observer/iframe_offsets.ts.html +0 -289
  102. package/coverage/lcov-report/main/app/observer/index.html +0 -161
  103. package/coverage/lcov-report/main/app/observer/shadow_root_observer.ts.html +0 -142
  104. package/coverage/lcov-report/main/app/observer/top_observer.ts.html +0 -541
  105. package/coverage/lcov-report/main/app/sanitizer.ts.html +0 -403
  106. package/coverage/lcov-report/main/app/session.ts.html +0 -622
  107. package/coverage/lcov-report/main/app/ticker.ts.html +0 -250
  108. package/coverage/lcov-report/main/index.html +0 -131
  109. package/coverage/lcov-report/main/index.ts.html +0 -1597
  110. package/coverage/lcov-report/main/modules/Network/beaconProxy.ts.html +0 -400
  111. package/coverage/lcov-report/main/modules/Network/fetchProxy.ts.html +0 -1075
  112. package/coverage/lcov-report/main/modules/Network/index.html +0 -191
  113. package/coverage/lcov-report/main/modules/Network/index.ts.html +0 -244
  114. package/coverage/lcov-report/main/modules/Network/networkMessage.ts.html +0 -400
  115. package/coverage/lcov-report/main/modules/Network/utils.ts.html +0 -709
  116. package/coverage/lcov-report/main/modules/Network/xhrProxy.ts.html +0 -877
  117. package/coverage/lcov-report/main/modules/attributeSender.ts.html +0 -241
  118. package/coverage/lcov-report/main/modules/axiosSpy.ts.html +0 -709
  119. package/coverage/lcov-report/main/modules/conditionsManager.ts.html +0 -1381
  120. package/coverage/lcov-report/main/modules/connection.ts.html +0 -160
  121. package/coverage/lcov-report/main/modules/console.ts.html +0 -541
  122. package/coverage/lcov-report/main/modules/constructedStyleSheets.ts.html +0 -571
  123. package/coverage/lcov-report/main/modules/cssrules.ts.html +0 -418
  124. package/coverage/lcov-report/main/modules/exception.ts.html +0 -385
  125. package/coverage/lcov-report/main/modules/featureFlags.ts.html +0 -415
  126. package/coverage/lcov-report/main/modules/focus.ts.html +0 -220
  127. package/coverage/lcov-report/main/modules/fonts.ts.html +0 -289
  128. package/coverage/lcov-report/main/modules/img.ts.html +0 -436
  129. package/coverage/lcov-report/main/modules/index.html +0 -431
  130. package/coverage/lcov-report/main/modules/input.ts.html +0 -826
  131. package/coverage/lcov-report/main/modules/mouse.ts.html +0 -826
  132. package/coverage/lcov-report/main/modules/network.ts.html +0 -1123
  133. package/coverage/lcov-report/main/modules/performance.ts.html +0 -367
  134. package/coverage/lcov-report/main/modules/scroll.ts.html +0 -364
  135. package/coverage/lcov-report/main/modules/selection.ts.html +0 -202
  136. package/coverage/lcov-report/main/modules/tabs.ts.html +0 -124
  137. package/coverage/lcov-report/main/modules/tagWatcher.ts.html +0 -337
  138. package/coverage/lcov-report/main/modules/timing.ts.html +0 -877
  139. package/coverage/lcov-report/main/modules/userTesting/SignalManager.ts.html +0 -370
  140. package/coverage/lcov-report/main/modules/userTesting/dnd.ts.html +0 -220
  141. package/coverage/lcov-report/main/modules/userTesting/index.html +0 -191
  142. package/coverage/lcov-report/main/modules/userTesting/index.ts.html +0 -1909
  143. package/coverage/lcov-report/main/modules/userTesting/recorder.ts.html +0 -430
  144. package/coverage/lcov-report/main/modules/userTesting/styles.ts.html +0 -937
  145. package/coverage/lcov-report/main/modules/userTesting/utils.ts.html +0 -364
  146. package/coverage/lcov-report/main/modules/viewport.ts.html +0 -250
  147. package/coverage/lcov-report/main/utils.ts.html +0 -814
  148. package/coverage/lcov-report/prettify.css +0 -1
  149. package/coverage/lcov-report/prettify.js +0 -2
  150. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  151. package/coverage/lcov-report/sorter.js +0 -196
  152. package/coverage/lcov-report/webworker/BatchWriter.ts.html +0 -499
  153. package/coverage/lcov-report/webworker/MessageEncoder.gen.ts.html +0 -1021
  154. package/coverage/lcov-report/webworker/PrimitiveEncoder.ts.html +0 -436
  155. package/coverage/lcov-report/webworker/QueueSender.ts.html +0 -547
  156. package/coverage/lcov-report/webworker/index.html +0 -176
  157. package/coverage/lcov-report/webworker/index.ts.html +0 -667
  158. package/coverage/lcov.info +0 -8425
  159. package/jest.config.js +0 -13
  160. package/lib/app/canvas.js +0 -202
  161. package/lib/app/guards.js +0 -26
  162. package/lib/app/index.js +0 -1367
  163. package/lib/app/logger.js +0 -33
  164. package/lib/app/messages.gen.js +0 -622
  165. package/lib/app/nodes.js +0 -108
  166. package/lib/app/observer/iframe_observer.js +0 -29
  167. package/lib/app/observer/iframe_offsets.js +0 -53
  168. package/lib/app/observer/observer.js +0 -380
  169. package/lib/app/observer/shadow_root_observer.js +0 -18
  170. package/lib/app/observer/top_observer.js +0 -128
  171. package/lib/app/sanitizer.js +0 -77
  172. package/lib/app/session.js +0 -137
  173. package/lib/app/ticker.js +0 -45
  174. package/lib/common/interaction.js +0 -1
  175. package/lib/common/messages.gen.js +0 -3
  176. package/lib/common/tsconfig.tsbuildinfo +0 -1
  177. package/lib/index.js +0 -423
  178. package/lib/modules/attributeSender.js +0 -46
  179. package/lib/modules/axiosSpy.js +0 -119
  180. package/lib/modules/conditionsManager.js +0 -340
  181. package/lib/modules/connection.js +0 -12
  182. package/lib/modules/console.js +0 -124
  183. package/lib/modules/constructedStyleSheets.js +0 -133
  184. package/lib/modules/cssrules.js +0 -97
  185. package/lib/modules/exception.js +0 -76
  186. package/lib/modules/featureFlags.js +0 -86
  187. package/lib/modules/focus.js +0 -42
  188. package/lib/modules/fonts.js +0 -54
  189. package/lib/modules/img.js +0 -107
  190. package/lib/modules/input.js +0 -198
  191. package/lib/modules/mouse.js +0 -192
  192. package/lib/modules/network.js +0 -238
  193. package/lib/modules/performance.js +0 -49
  194. package/lib/modules/scroll.js +0 -81
  195. package/lib/modules/selection.js +0 -35
  196. package/lib/modules/tabs.js +0 -10
  197. package/lib/modules/tagWatcher.js +0 -73
  198. package/lib/modules/timing.js +0 -170
  199. package/lib/modules/userTesting/SignalManager.js +0 -80
  200. package/lib/modules/userTesting/dnd.js +0 -37
  201. package/lib/modules/userTesting/index.js +0 -435
  202. package/lib/modules/userTesting/recorder.js +0 -97
  203. package/lib/modules/userTesting/styles.js +0 -263
  204. package/lib/modules/userTesting/utils.js +0 -79
  205. package/lib/modules/viewport.js +0 -40
  206. package/lib/utils.js +0 -230
  207. package/rollup.config.js +0 -12
  208. package/scripts/checkver.cjs +0 -7
  209. package/tsconfig-base.json +0 -16
  210. /package/{cjs → dist/cjs}/common/interaction.d.ts +0 -0
  211. /package/{cjs → dist/cjs}/common/messages.gen.d.ts +0 -0
  212. /package/{cjs → dist/cjs/main}/app/canvas.d.ts +0 -0
  213. /package/{cjs → dist/cjs/main}/app/guards.d.ts +0 -0
  214. /package/{cjs → dist/cjs/main}/app/logger.d.ts +0 -0
  215. /package/{cjs → dist/cjs/main}/app/observer/iframe_observer.d.ts +0 -0
  216. /package/{cjs → dist/cjs/main}/app/observer/shadow_root_observer.d.ts +0 -0
  217. /package/{cjs → dist/cjs/main}/app/ticker.d.ts +0 -0
  218. /package/{cjs → dist/cjs/main}/modules/axiosSpy.d.ts +0 -0
  219. /package/{cjs → dist/cjs/main}/modules/connection.d.ts +0 -0
  220. /package/{cjs → dist/cjs/main}/modules/console.d.ts +0 -0
  221. /package/{cjs → dist/cjs/main}/modules/constructedStyleSheets.d.ts +0 -0
  222. /package/{cjs → dist/cjs/main}/modules/cssrules.d.ts +0 -0
  223. /package/{cjs → dist/cjs/main}/modules/exception.d.ts +0 -0
  224. /package/{cjs → dist/cjs/main}/modules/featureFlags.d.ts +0 -0
  225. /package/{cjs → dist/cjs/main}/modules/focus.d.ts +0 -0
  226. /package/{cjs → dist/cjs/main}/modules/fonts.d.ts +0 -0
  227. /package/{cjs → dist/cjs/main}/modules/img.d.ts +0 -0
  228. /package/{cjs → dist/cjs/main}/modules/input.d.ts +0 -0
  229. /package/{cjs → dist/cjs/main}/modules/mouse.d.ts +0 -0
  230. /package/{cjs → dist/cjs/main}/modules/network.d.ts +0 -0
  231. /package/{cjs → dist/cjs/main}/modules/performance.d.ts +0 -0
  232. /package/{cjs → dist/cjs/main}/modules/scroll.d.ts +0 -0
  233. /package/{cjs → dist/cjs/main}/modules/selection.d.ts +0 -0
  234. /package/{cjs → dist/cjs/main}/modules/tabs.d.ts +0 -0
  235. /package/{cjs → dist/cjs/main}/modules/timing.d.ts +0 -0
  236. /package/{cjs → dist/cjs/main}/modules/userTesting/dnd.d.ts +0 -0
  237. /package/{cjs → dist/cjs/main}/modules/userTesting/index.d.ts +0 -0
  238. /package/{cjs → dist/cjs/main}/modules/userTesting/recorder.d.ts +0 -0
  239. /package/{cjs → dist/cjs/main}/modules/userTesting/styles.d.ts +0 -0
  240. /package/{cjs → dist/cjs/main}/modules/userTesting/utils.d.ts +0 -0
  241. /package/{cjs → dist/cjs/main}/modules/viewport.d.ts +0 -0
  242. /package/{lib → dist/lib}/common/interaction.d.ts +0 -0
  243. /package/{lib → dist/lib}/common/messages.gen.d.ts +0 -0
  244. /package/{lib → dist/lib/main}/app/canvas.d.ts +0 -0
  245. /package/{lib → dist/lib/main}/app/guards.d.ts +0 -0
  246. /package/{lib → dist/lib/main}/app/logger.d.ts +0 -0
  247. /package/{lib → dist/lib/main}/app/observer/iframe_observer.d.ts +0 -0
  248. /package/{lib → dist/lib/main}/app/observer/shadow_root_observer.d.ts +0 -0
  249. /package/{lib → dist/lib/main}/app/ticker.d.ts +0 -0
  250. /package/{lib → dist/lib/main}/modules/axiosSpy.d.ts +0 -0
  251. /package/{lib → dist/lib/main}/modules/connection.d.ts +0 -0
  252. /package/{lib → dist/lib/main}/modules/console.d.ts +0 -0
  253. /package/{lib → dist/lib/main}/modules/constructedStyleSheets.d.ts +0 -0
  254. /package/{lib → dist/lib/main}/modules/cssrules.d.ts +0 -0
  255. /package/{lib → dist/lib/main}/modules/exception.d.ts +0 -0
  256. /package/{lib → dist/lib/main}/modules/featureFlags.d.ts +0 -0
  257. /package/{lib → dist/lib/main}/modules/focus.d.ts +0 -0
  258. /package/{lib → dist/lib/main}/modules/fonts.d.ts +0 -0
  259. /package/{lib → dist/lib/main}/modules/img.d.ts +0 -0
  260. /package/{lib → dist/lib/main}/modules/input.d.ts +0 -0
  261. /package/{lib → dist/lib/main}/modules/mouse.d.ts +0 -0
  262. /package/{lib → dist/lib/main}/modules/network.d.ts +0 -0
  263. /package/{lib → dist/lib/main}/modules/performance.d.ts +0 -0
  264. /package/{lib → dist/lib/main}/modules/scroll.d.ts +0 -0
  265. /package/{lib → dist/lib/main}/modules/selection.d.ts +0 -0
  266. /package/{lib → dist/lib/main}/modules/tabs.d.ts +0 -0
  267. /package/{lib → dist/lib/main}/modules/timing.d.ts +0 -0
  268. /package/{lib → dist/lib/main}/modules/userTesting/dnd.d.ts +0 -0
  269. /package/{lib → dist/lib/main}/modules/userTesting/index.d.ts +0 -0
  270. /package/{lib → dist/lib/main}/modules/userTesting/recorder.d.ts +0 -0
  271. /package/{lib → dist/lib/main}/modules/userTesting/styles.d.ts +0 -0
  272. /package/{lib → dist/lib/main}/modules/userTesting/utils.d.ts +0 -0
  273. /package/{lib → dist/lib/main}/modules/viewport.d.ts +0 -0
@@ -1,702 +0,0 @@
1
- "use strict";
2
- // Auto-generated, do not edit
3
- /* eslint-disable */
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.CSSInsertRuleURLBased = exports.CustomIssue = exports.TechnicalInfo = exports.SetCSSDataURLBased = exports.SetNodeAttributeURLBased = exports.LongTask = exports.SetNodeFocus = exports.LoadFontFace = exports.SetPageVisibility = exports.ConnectionInformation = exports.ResourceTimingDeprecated = exports.SetNodeAttributeDict = exports.StringDict = exports.PerformanceTrack = exports.GraphQLDeprecated = exports.NgRx = exports.MobX = exports.Vuex = exports.ReduxDeprecated = exports.StateAction = exports.OTable = exports.Profiler = exports.Fetch = exports.CSSDeleteRule = exports.CSSInsertRule = exports.Metadata = exports.UserAnonymousID = exports.UserID = exports.CustomEvent = exports.PageRenderTiming = exports.PageLoadTiming = exports.ConsoleLog = exports.NetworkRequestDeprecated = 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.SetPageLocationDeprecated = exports.Timestamp = void 0;
6
- exports.GraphQL = exports.SetPageLocation = exports.Redux = exports.TagTrigger = exports.CanvasNode = exports.TabData = exports.TabChange = exports.ResourceTiming = exports.UnbindNodes = exports.MouseThrashing = exports.SelectionChange = exports.InputChange = exports.WSChannel = exports.NetworkRequest = exports.PartitionedMessage = exports.BatchMetadata = exports.Zustand = exports.JSException = exports.AdoptedSSRemoveOwner = exports.AdoptedSSAddOwner = exports.AdoptedSSDeleteRule = exports.AdoptedSSInsertRuleURLBased = exports.AdoptedSSReplaceURLBased = exports.CreateIFrameDocument = exports.MouseClickDeprecated = exports.MouseClick = void 0;
7
- function Timestamp(timestamp) {
8
- return [
9
- 0 /* Messages.Type.Timestamp */,
10
- timestamp,
11
- ];
12
- }
13
- exports.Timestamp = Timestamp;
14
- function SetPageLocationDeprecated(url, referrer, navigationStart) {
15
- return [
16
- 4 /* Messages.Type.SetPageLocationDeprecated */,
17
- url,
18
- referrer,
19
- navigationStart,
20
- ];
21
- }
22
- exports.SetPageLocationDeprecated = SetPageLocationDeprecated;
23
- function SetViewportSize(width, height) {
24
- return [
25
- 5 /* Messages.Type.SetViewportSize */,
26
- width,
27
- height,
28
- ];
29
- }
30
- exports.SetViewportSize = SetViewportSize;
31
- function SetViewportScroll(x, y) {
32
- return [
33
- 6 /* Messages.Type.SetViewportScroll */,
34
- x,
35
- y,
36
- ];
37
- }
38
- exports.SetViewportScroll = SetViewportScroll;
39
- function CreateDocument() {
40
- return [
41
- 7 /* Messages.Type.CreateDocument */,
42
- ];
43
- }
44
- exports.CreateDocument = CreateDocument;
45
- function CreateElementNode(id, parentID, index, tag, svg) {
46
- return [
47
- 8 /* Messages.Type.CreateElementNode */,
48
- id,
49
- parentID,
50
- index,
51
- tag,
52
- svg,
53
- ];
54
- }
55
- exports.CreateElementNode = CreateElementNode;
56
- function CreateTextNode(id, parentID, index) {
57
- return [
58
- 9 /* Messages.Type.CreateTextNode */,
59
- id,
60
- parentID,
61
- index,
62
- ];
63
- }
64
- exports.CreateTextNode = CreateTextNode;
65
- function MoveNode(id, parentID, index) {
66
- return [
67
- 10 /* Messages.Type.MoveNode */,
68
- id,
69
- parentID,
70
- index,
71
- ];
72
- }
73
- exports.MoveNode = MoveNode;
74
- function RemoveNode(id) {
75
- return [
76
- 11 /* Messages.Type.RemoveNode */,
77
- id,
78
- ];
79
- }
80
- exports.RemoveNode = RemoveNode;
81
- function SetNodeAttribute(id, name, value) {
82
- return [
83
- 12 /* Messages.Type.SetNodeAttribute */,
84
- id,
85
- name,
86
- value,
87
- ];
88
- }
89
- exports.SetNodeAttribute = SetNodeAttribute;
90
- function RemoveNodeAttribute(id, name) {
91
- return [
92
- 13 /* Messages.Type.RemoveNodeAttribute */,
93
- id,
94
- name,
95
- ];
96
- }
97
- exports.RemoveNodeAttribute = RemoveNodeAttribute;
98
- function SetNodeData(id, data) {
99
- return [
100
- 14 /* Messages.Type.SetNodeData */,
101
- id,
102
- data,
103
- ];
104
- }
105
- exports.SetNodeData = SetNodeData;
106
- function SetNodeScroll(id, x, y) {
107
- return [
108
- 16 /* Messages.Type.SetNodeScroll */,
109
- id,
110
- x,
111
- y,
112
- ];
113
- }
114
- exports.SetNodeScroll = SetNodeScroll;
115
- function SetInputTarget(id, label) {
116
- return [
117
- 17 /* Messages.Type.SetInputTarget */,
118
- id,
119
- label,
120
- ];
121
- }
122
- exports.SetInputTarget = SetInputTarget;
123
- function SetInputValue(id, value, mask) {
124
- return [
125
- 18 /* Messages.Type.SetInputValue */,
126
- id,
127
- value,
128
- mask,
129
- ];
130
- }
131
- exports.SetInputValue = SetInputValue;
132
- function SetInputChecked(id, checked) {
133
- return [
134
- 19 /* Messages.Type.SetInputChecked */,
135
- id,
136
- checked,
137
- ];
138
- }
139
- exports.SetInputChecked = SetInputChecked;
140
- function MouseMove(x, y) {
141
- return [
142
- 20 /* Messages.Type.MouseMove */,
143
- x,
144
- y,
145
- ];
146
- }
147
- exports.MouseMove = MouseMove;
148
- function NetworkRequestDeprecated(type, method, url, request, response, status, timestamp, duration) {
149
- return [
150
- 21 /* Messages.Type.NetworkRequestDeprecated */,
151
- type,
152
- method,
153
- url,
154
- request,
155
- response,
156
- status,
157
- timestamp,
158
- duration,
159
- ];
160
- }
161
- exports.NetworkRequestDeprecated = NetworkRequestDeprecated;
162
- function ConsoleLog(level, value) {
163
- return [
164
- 22 /* Messages.Type.ConsoleLog */,
165
- level,
166
- value,
167
- ];
168
- }
169
- exports.ConsoleLog = ConsoleLog;
170
- function PageLoadTiming(requestStart, responseStart, responseEnd, domContentLoadedEventStart, domContentLoadedEventEnd, loadEventStart, loadEventEnd, firstPaint, firstContentfulPaint) {
171
- return [
172
- 23 /* Messages.Type.PageLoadTiming */,
173
- requestStart,
174
- responseStart,
175
- responseEnd,
176
- domContentLoadedEventStart,
177
- domContentLoadedEventEnd,
178
- loadEventStart,
179
- loadEventEnd,
180
- firstPaint,
181
- firstContentfulPaint,
182
- ];
183
- }
184
- exports.PageLoadTiming = PageLoadTiming;
185
- function PageRenderTiming(speedIndex, visuallyComplete, timeToInteractive) {
186
- return [
187
- 24 /* Messages.Type.PageRenderTiming */,
188
- speedIndex,
189
- visuallyComplete,
190
- timeToInteractive,
191
- ];
192
- }
193
- exports.PageRenderTiming = PageRenderTiming;
194
- function CustomEvent(name, payload) {
195
- return [
196
- 27 /* Messages.Type.CustomEvent */,
197
- name,
198
- payload,
199
- ];
200
- }
201
- exports.CustomEvent = CustomEvent;
202
- function UserID(id) {
203
- return [
204
- 28 /* Messages.Type.UserID */,
205
- id,
206
- ];
207
- }
208
- exports.UserID = UserID;
209
- function UserAnonymousID(id) {
210
- return [
211
- 29 /* Messages.Type.UserAnonymousID */,
212
- id,
213
- ];
214
- }
215
- exports.UserAnonymousID = UserAnonymousID;
216
- function Metadata(key, value) {
217
- return [
218
- 30 /* Messages.Type.Metadata */,
219
- key,
220
- value,
221
- ];
222
- }
223
- exports.Metadata = Metadata;
224
- function CSSInsertRule(id, rule, index) {
225
- return [
226
- 37 /* Messages.Type.CSSInsertRule */,
227
- id,
228
- rule,
229
- index,
230
- ];
231
- }
232
- exports.CSSInsertRule = CSSInsertRule;
233
- function CSSDeleteRule(id, index) {
234
- return [
235
- 38 /* Messages.Type.CSSDeleteRule */,
236
- id,
237
- index,
238
- ];
239
- }
240
- exports.CSSDeleteRule = CSSDeleteRule;
241
- function Fetch(method, url, request, response, status, timestamp, duration) {
242
- return [
243
- 39 /* Messages.Type.Fetch */,
244
- method,
245
- url,
246
- request,
247
- response,
248
- status,
249
- timestamp,
250
- duration,
251
- ];
252
- }
253
- exports.Fetch = Fetch;
254
- function Profiler(name, duration, args, result) {
255
- return [
256
- 40 /* Messages.Type.Profiler */,
257
- name,
258
- duration,
259
- args,
260
- result,
261
- ];
262
- }
263
- exports.Profiler = Profiler;
264
- function OTable(key, value) {
265
- return [
266
- 41 /* Messages.Type.OTable */,
267
- key,
268
- value,
269
- ];
270
- }
271
- exports.OTable = OTable;
272
- function StateAction(type) {
273
- return [
274
- 42 /* Messages.Type.StateAction */,
275
- type,
276
- ];
277
- }
278
- exports.StateAction = StateAction;
279
- function ReduxDeprecated(action, state, duration) {
280
- return [
281
- 44 /* Messages.Type.ReduxDeprecated */,
282
- action,
283
- state,
284
- duration,
285
- ];
286
- }
287
- exports.ReduxDeprecated = ReduxDeprecated;
288
- function Vuex(mutation, state) {
289
- return [
290
- 45 /* Messages.Type.Vuex */,
291
- mutation,
292
- state,
293
- ];
294
- }
295
- exports.Vuex = Vuex;
296
- function MobX(type, payload) {
297
- return [
298
- 46 /* Messages.Type.MobX */,
299
- type,
300
- payload,
301
- ];
302
- }
303
- exports.MobX = MobX;
304
- function NgRx(action, state, duration) {
305
- return [
306
- 47 /* Messages.Type.NgRx */,
307
- action,
308
- state,
309
- duration,
310
- ];
311
- }
312
- exports.NgRx = NgRx;
313
- function GraphQLDeprecated(operationKind, operationName, variables, response, duration) {
314
- return [
315
- 48 /* Messages.Type.GraphQLDeprecated */,
316
- operationKind,
317
- operationName,
318
- variables,
319
- response,
320
- duration,
321
- ];
322
- }
323
- exports.GraphQLDeprecated = GraphQLDeprecated;
324
- function PerformanceTrack(frames, ticks, totalJSHeapSize, usedJSHeapSize) {
325
- return [
326
- 49 /* Messages.Type.PerformanceTrack */,
327
- frames,
328
- ticks,
329
- totalJSHeapSize,
330
- usedJSHeapSize,
331
- ];
332
- }
333
- exports.PerformanceTrack = PerformanceTrack;
334
- function StringDict(key, value) {
335
- return [
336
- 50 /* Messages.Type.StringDict */,
337
- key,
338
- value,
339
- ];
340
- }
341
- exports.StringDict = StringDict;
342
- function SetNodeAttributeDict(id, nameKey, valueKey) {
343
- return [
344
- 51 /* Messages.Type.SetNodeAttributeDict */,
345
- id,
346
- nameKey,
347
- valueKey,
348
- ];
349
- }
350
- exports.SetNodeAttributeDict = SetNodeAttributeDict;
351
- function ResourceTimingDeprecated(timestamp, duration, ttfb, headerSize, encodedBodySize, decodedBodySize, url, initiator) {
352
- return [
353
- 53 /* Messages.Type.ResourceTimingDeprecated */,
354
- timestamp,
355
- duration,
356
- ttfb,
357
- headerSize,
358
- encodedBodySize,
359
- decodedBodySize,
360
- url,
361
- initiator,
362
- ];
363
- }
364
- exports.ResourceTimingDeprecated = ResourceTimingDeprecated;
365
- function ConnectionInformation(downlink, type) {
366
- return [
367
- 54 /* Messages.Type.ConnectionInformation */,
368
- downlink,
369
- type,
370
- ];
371
- }
372
- exports.ConnectionInformation = ConnectionInformation;
373
- function SetPageVisibility(hidden) {
374
- return [
375
- 55 /* Messages.Type.SetPageVisibility */,
376
- hidden,
377
- ];
378
- }
379
- exports.SetPageVisibility = SetPageVisibility;
380
- function LoadFontFace(parentID, family, source, descriptors) {
381
- return [
382
- 57 /* Messages.Type.LoadFontFace */,
383
- parentID,
384
- family,
385
- source,
386
- descriptors,
387
- ];
388
- }
389
- exports.LoadFontFace = LoadFontFace;
390
- function SetNodeFocus(id) {
391
- return [
392
- 58 /* Messages.Type.SetNodeFocus */,
393
- id,
394
- ];
395
- }
396
- exports.SetNodeFocus = SetNodeFocus;
397
- function LongTask(timestamp, duration, context, containerType, containerSrc, containerId, containerName) {
398
- return [
399
- 59 /* Messages.Type.LongTask */,
400
- timestamp,
401
- duration,
402
- context,
403
- containerType,
404
- containerSrc,
405
- containerId,
406
- containerName,
407
- ];
408
- }
409
- exports.LongTask = LongTask;
410
- function SetNodeAttributeURLBased(id, name, value, baseURL) {
411
- return [
412
- 60 /* Messages.Type.SetNodeAttributeURLBased */,
413
- id,
414
- name,
415
- value,
416
- baseURL,
417
- ];
418
- }
419
- exports.SetNodeAttributeURLBased = SetNodeAttributeURLBased;
420
- function SetCSSDataURLBased(id, data, baseURL) {
421
- return [
422
- 61 /* Messages.Type.SetCSSDataURLBased */,
423
- id,
424
- data,
425
- baseURL,
426
- ];
427
- }
428
- exports.SetCSSDataURLBased = SetCSSDataURLBased;
429
- function TechnicalInfo(type, value) {
430
- return [
431
- 63 /* Messages.Type.TechnicalInfo */,
432
- type,
433
- value,
434
- ];
435
- }
436
- exports.TechnicalInfo = TechnicalInfo;
437
- function CustomIssue(name, payload) {
438
- return [
439
- 64 /* Messages.Type.CustomIssue */,
440
- name,
441
- payload,
442
- ];
443
- }
444
- exports.CustomIssue = CustomIssue;
445
- function CSSInsertRuleURLBased(id, rule, index, baseURL) {
446
- return [
447
- 67 /* Messages.Type.CSSInsertRuleURLBased */,
448
- id,
449
- rule,
450
- index,
451
- baseURL,
452
- ];
453
- }
454
- exports.CSSInsertRuleURLBased = CSSInsertRuleURLBased;
455
- function MouseClick(id, hesitationTime, label, selector, normalizedX, normalizedY) {
456
- return [
457
- 68 /* Messages.Type.MouseClick */,
458
- id,
459
- hesitationTime,
460
- label,
461
- selector,
462
- normalizedX,
463
- normalizedY,
464
- ];
465
- }
466
- exports.MouseClick = MouseClick;
467
- function MouseClickDeprecated(id, hesitationTime, label, selector) {
468
- return [
469
- 69 /* Messages.Type.MouseClickDeprecated */,
470
- id,
471
- hesitationTime,
472
- label,
473
- selector,
474
- ];
475
- }
476
- exports.MouseClickDeprecated = MouseClickDeprecated;
477
- function CreateIFrameDocument(frameID, id) {
478
- return [
479
- 70 /* Messages.Type.CreateIFrameDocument */,
480
- frameID,
481
- id,
482
- ];
483
- }
484
- exports.CreateIFrameDocument = CreateIFrameDocument;
485
- function AdoptedSSReplaceURLBased(sheetID, text, baseURL) {
486
- return [
487
- 71 /* Messages.Type.AdoptedSSReplaceURLBased */,
488
- sheetID,
489
- text,
490
- baseURL,
491
- ];
492
- }
493
- exports.AdoptedSSReplaceURLBased = AdoptedSSReplaceURLBased;
494
- function AdoptedSSInsertRuleURLBased(sheetID, rule, index, baseURL) {
495
- return [
496
- 73 /* Messages.Type.AdoptedSSInsertRuleURLBased */,
497
- sheetID,
498
- rule,
499
- index,
500
- baseURL,
501
- ];
502
- }
503
- exports.AdoptedSSInsertRuleURLBased = AdoptedSSInsertRuleURLBased;
504
- function AdoptedSSDeleteRule(sheetID, index) {
505
- return [
506
- 75 /* Messages.Type.AdoptedSSDeleteRule */,
507
- sheetID,
508
- index,
509
- ];
510
- }
511
- exports.AdoptedSSDeleteRule = AdoptedSSDeleteRule;
512
- function AdoptedSSAddOwner(sheetID, id) {
513
- return [
514
- 76 /* Messages.Type.AdoptedSSAddOwner */,
515
- sheetID,
516
- id,
517
- ];
518
- }
519
- exports.AdoptedSSAddOwner = AdoptedSSAddOwner;
520
- function AdoptedSSRemoveOwner(sheetID, id) {
521
- return [
522
- 77 /* Messages.Type.AdoptedSSRemoveOwner */,
523
- sheetID,
524
- id,
525
- ];
526
- }
527
- exports.AdoptedSSRemoveOwner = AdoptedSSRemoveOwner;
528
- function JSException(name, message, payload, metadata) {
529
- return [
530
- 78 /* Messages.Type.JSException */,
531
- name,
532
- message,
533
- payload,
534
- metadata,
535
- ];
536
- }
537
- exports.JSException = JSException;
538
- function Zustand(mutation, state) {
539
- return [
540
- 79 /* Messages.Type.Zustand */,
541
- mutation,
542
- state,
543
- ];
544
- }
545
- exports.Zustand = Zustand;
546
- function BatchMetadata(version, pageNo, firstIndex, timestamp, location) {
547
- return [
548
- 81 /* Messages.Type.BatchMetadata */,
549
- version,
550
- pageNo,
551
- firstIndex,
552
- timestamp,
553
- location,
554
- ];
555
- }
556
- exports.BatchMetadata = BatchMetadata;
557
- function PartitionedMessage(partNo, partTotal) {
558
- return [
559
- 82 /* Messages.Type.PartitionedMessage */,
560
- partNo,
561
- partTotal,
562
- ];
563
- }
564
- exports.PartitionedMessage = PartitionedMessage;
565
- function NetworkRequest(type, method, url, request, response, status, timestamp, duration, transferredBodySize) {
566
- return [
567
- 83 /* Messages.Type.NetworkRequest */,
568
- type,
569
- method,
570
- url,
571
- request,
572
- response,
573
- status,
574
- timestamp,
575
- duration,
576
- transferredBodySize,
577
- ];
578
- }
579
- exports.NetworkRequest = NetworkRequest;
580
- function WSChannel(chType, channelName, data, timestamp, dir, messageType) {
581
- return [
582
- 84 /* Messages.Type.WSChannel */,
583
- chType,
584
- channelName,
585
- data,
586
- timestamp,
587
- dir,
588
- messageType,
589
- ];
590
- }
591
- exports.WSChannel = WSChannel;
592
- function InputChange(id, value, valueMasked, label, hesitationTime, inputDuration) {
593
- return [
594
- 112 /* Messages.Type.InputChange */,
595
- id,
596
- value,
597
- valueMasked,
598
- label,
599
- hesitationTime,
600
- inputDuration,
601
- ];
602
- }
603
- exports.InputChange = InputChange;
604
- function SelectionChange(selectionStart, selectionEnd, selection) {
605
- return [
606
- 113 /* Messages.Type.SelectionChange */,
607
- selectionStart,
608
- selectionEnd,
609
- selection,
610
- ];
611
- }
612
- exports.SelectionChange = SelectionChange;
613
- function MouseThrashing(timestamp) {
614
- return [
615
- 114 /* Messages.Type.MouseThrashing */,
616
- timestamp,
617
- ];
618
- }
619
- exports.MouseThrashing = MouseThrashing;
620
- function UnbindNodes(totalRemovedPercent) {
621
- return [
622
- 115 /* Messages.Type.UnbindNodes */,
623
- totalRemovedPercent,
624
- ];
625
- }
626
- exports.UnbindNodes = UnbindNodes;
627
- function ResourceTiming(timestamp, duration, ttfb, headerSize, encodedBodySize, decodedBodySize, url, initiator, transferredSize, cached) {
628
- return [
629
- 116 /* Messages.Type.ResourceTiming */,
630
- timestamp,
631
- duration,
632
- ttfb,
633
- headerSize,
634
- encodedBodySize,
635
- decodedBodySize,
636
- url,
637
- initiator,
638
- transferredSize,
639
- cached,
640
- ];
641
- }
642
- exports.ResourceTiming = ResourceTiming;
643
- function TabChange(tabId) {
644
- return [
645
- 117 /* Messages.Type.TabChange */,
646
- tabId,
647
- ];
648
- }
649
- exports.TabChange = TabChange;
650
- function TabData(tabId) {
651
- return [
652
- 118 /* Messages.Type.TabData */,
653
- tabId,
654
- ];
655
- }
656
- exports.TabData = TabData;
657
- function CanvasNode(nodeId, timestamp) {
658
- return [
659
- 119 /* Messages.Type.CanvasNode */,
660
- nodeId,
661
- timestamp,
662
- ];
663
- }
664
- exports.CanvasNode = CanvasNode;
665
- function TagTrigger(tagId) {
666
- return [
667
- 120 /* Messages.Type.TagTrigger */,
668
- tagId,
669
- ];
670
- }
671
- exports.TagTrigger = TagTrigger;
672
- function Redux(action, state, duration, actionTime) {
673
- return [
674
- 121 /* Messages.Type.Redux */,
675
- action,
676
- state,
677
- duration,
678
- actionTime,
679
- ];
680
- }
681
- exports.Redux = Redux;
682
- function SetPageLocation(url, referrer, navigationStart, documentTitle) {
683
- return [
684
- 122 /* Messages.Type.SetPageLocation */,
685
- url,
686
- referrer,
687
- navigationStart,
688
- documentTitle,
689
- ];
690
- }
691
- exports.SetPageLocation = SetPageLocation;
692
- function GraphQL(operationKind, operationName, variables, response, duration) {
693
- return [
694
- 123 /* Messages.Type.GraphQL */,
695
- operationKind,
696
- operationName,
697
- variables,
698
- response,
699
- duration,
700
- ];
701
- }
702
- exports.GraphQL = GraphQL;