@openreplay/tracker 9.0.12 → 9.0.14
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/index.js +2 -2
- package/cjs/index.js +3 -2
- package/cjs/modules/Network/fetchProxy.d.ts +1 -1
- package/cjs/modules/Network/fetchProxy.js +2 -0
- package/cjs/modules/mouse.js +1 -0
- package/cjs/modules/network.js +1 -0
- package/coverage/clover.xml +1783 -995
- package/coverage/coverage-final.json +30 -25
- package/coverage/lcov-report/index.html +45 -45
- package/coverage/lcov-report/main/app/canvas.ts.html +535 -0
- package/coverage/lcov-report/main/app/guards.ts.html +5 -2
- package/coverage/lcov-report/main/app/index.html +34 -19
- package/coverage/lcov-report/main/app/index.ts.html +1769 -116
- package/coverage/lcov-report/main/app/logger.ts.html +25 -91
- package/coverage/lcov-report/main/app/messages.gen.ts.html +122 -5
- package/coverage/lcov-report/main/app/nodes.ts.html +26 -8
- package/coverage/lcov-report/main/app/observer/iframe_observer.ts.html +2 -2
- package/coverage/lcov-report/main/app/observer/iframe_offsets.ts.html +1 -1
- package/coverage/lcov-report/main/app/observer/index.html +1 -1
- package/coverage/lcov-report/main/app/observer/shadow_root_observer.ts.html +2 -2
- package/coverage/lcov-report/main/app/observer/top_observer.ts.html +1 -1
- package/coverage/lcov-report/main/app/sanitizer.ts.html +12 -3
- package/coverage/lcov-report/main/app/session.ts.html +30 -9
- package/coverage/lcov-report/main/app/ticker.ts.html +1 -1
- package/coverage/lcov-report/main/index.html +13 -13
- package/coverage/lcov-report/main/index.ts.html +468 -102
- package/coverage/lcov-report/main/modules/Network/beaconProxy.ts.html +1 -1
- package/coverage/lcov-report/main/modules/Network/fetchProxy.ts.html +27 -6
- package/coverage/lcov-report/main/modules/Network/index.html +13 -13
- package/coverage/lcov-report/main/modules/Network/index.ts.html +1 -1
- package/coverage/lcov-report/main/modules/Network/networkMessage.ts.html +17 -8
- package/coverage/lcov-report/main/modules/Network/utils.ts.html +1 -1
- package/coverage/lcov-report/main/modules/Network/xhrProxy.ts.html +3 -3
- package/coverage/lcov-report/main/modules/attributeSender.ts.html +13 -4
- package/coverage/lcov-report/main/modules/axiosSpy.ts.html +1 -1
- package/coverage/lcov-report/main/modules/conditionsManager.ts.html +1399 -0
- package/coverage/lcov-report/main/modules/connection.ts.html +1 -1
- package/coverage/lcov-report/main/modules/console.ts.html +1 -1
- package/coverage/lcov-report/main/modules/constructedStyleSheets.ts.html +42 -30
- package/coverage/lcov-report/main/modules/cssrules.ts.html +1 -1
- package/coverage/lcov-report/main/modules/exception.ts.html +1 -1
- package/coverage/lcov-report/main/modules/featureFlags.ts.html +10 -7
- package/coverage/lcov-report/main/modules/focus.ts.html +1 -1
- package/coverage/lcov-report/main/modules/fonts.ts.html +1 -1
- package/coverage/lcov-report/main/modules/img.ts.html +23 -20
- package/coverage/lcov-report/main/modules/index.html +50 -20
- package/coverage/lcov-report/main/modules/input.ts.html +1 -1
- package/coverage/lcov-report/main/modules/mouse.ts.html +1 -1
- package/coverage/lcov-report/main/modules/network.ts.html +3 -3
- package/coverage/lcov-report/main/modules/performance.ts.html +1 -1
- package/coverage/lcov-report/main/modules/scroll.ts.html +1 -1
- package/coverage/lcov-report/main/modules/selection.ts.html +1 -1
- package/coverage/lcov-report/main/modules/tabs.ts.html +1 -1
- package/coverage/lcov-report/main/modules/tagWatcher.ts.html +334 -0
- package/coverage/lcov-report/main/modules/timing.ts.html +42 -6
- package/coverage/lcov-report/main/modules/userTesting/SignalManager.ts.html +370 -0
- package/coverage/lcov-report/main/modules/userTesting/dnd.ts.html +10 -22
- package/coverage/lcov-report/main/modules/userTesting/index.html +57 -27
- package/coverage/lcov-report/main/modules/userTesting/index.ts.html +814 -115
- package/coverage/lcov-report/main/modules/userTesting/recorder.ts.html +136 -67
- package/coverage/lcov-report/main/modules/userTesting/styles.ts.html +111 -39
- package/coverage/lcov-report/main/modules/userTesting/utils.ts.html +364 -0
- package/coverage/lcov-report/main/modules/viewport.ts.html +1 -1
- package/coverage/lcov-report/main/utils.ts.html +264 -6
- package/coverage/lcov-report/webworker/BatchWriter.ts.html +23 -5
- package/coverage/lcov-report/webworker/MessageEncoder.gen.ts.html +41 -5
- package/coverage/lcov-report/webworker/PrimitiveEncoder.ts.html +1 -1
- package/coverage/lcov-report/webworker/QueueSender.ts.html +18 -6
- package/coverage/lcov-report/webworker/index.html +17 -17
- package/coverage/lcov-report/webworker/index.ts.html +24 -15
- package/coverage/lcov.info +3283 -1718
- package/lib/app/index.js +2 -2
- package/lib/common/tsconfig.tsbuildinfo +1 -1
- package/lib/index.js +3 -2
- package/lib/modules/Network/fetchProxy.d.ts +1 -1
- package/lib/modules/Network/fetchProxy.js +2 -0
- package/lib/modules/mouse.js +1 -0
- package/lib/modules/network.js +1 -0
- package/package.json +1 -1
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
26
|
<span class="strong">0% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>0/
|
|
28
|
+
<span class='fraction'>0/75</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
40
|
<span class="strong">0% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>0/
|
|
42
|
+
<span class='fraction'>0/20</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
47
|
<span class="strong">0% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>0/
|
|
49
|
+
<span class='fraction'>0/72</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -235,7 +235,14 @@
|
|
|
235
235
|
<a name='L170'></a><a href='#L170'>170</a>
|
|
236
236
|
<a name='L171'></a><a href='#L171'>171</a>
|
|
237
237
|
<a name='L172'></a><a href='#L172'>172</a>
|
|
238
|
-
<a name='L173'></a><a href='#L173'>173</a
|
|
238
|
+
<a name='L173'></a><a href='#L173'>173</a>
|
|
239
|
+
<a name='L174'></a><a href='#L174'>174</a>
|
|
240
|
+
<a name='L175'></a><a href='#L175'>175</a>
|
|
241
|
+
<a name='L176'></a><a href='#L176'>176</a>
|
|
242
|
+
<a name='L177'></a><a href='#L177'>177</a>
|
|
243
|
+
<a name='L178'></a><a href='#L178'>178</a>
|
|
244
|
+
<a name='L179'></a><a href='#L179'>179</a>
|
|
245
|
+
<a name='L180'></a><a href='#L180'>180</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
239
246
|
<span class="cline-any cline-no"> </span>
|
|
240
247
|
<span class="cline-any cline-neutral"> </span>
|
|
241
248
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -272,7 +279,10 @@
|
|
|
272
279
|
<span class="cline-any cline-neutral"> </span>
|
|
273
280
|
<span class="cline-any cline-neutral"> </span>
|
|
274
281
|
<span class="cline-any cline-neutral"> </span>
|
|
282
|
+
<span class="cline-any cline-neutral"> </span>
|
|
283
|
+
<span class="cline-any cline-no"> </span>
|
|
275
284
|
<span class="cline-any cline-no"> </span>
|
|
285
|
+
<span class="cline-any cline-neutral"> </span>
|
|
276
286
|
<span class="cline-any cline-no"> </span>
|
|
277
287
|
<span class="cline-any cline-neutral"> </span>
|
|
278
288
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -383,10 +393,14 @@
|
|
|
383
393
|
<span class="cline-any cline-no"> </span>
|
|
384
394
|
<span class="cline-any cline-no"> </span>
|
|
385
395
|
<span class="cline-any cline-neutral"> </span>
|
|
396
|
+
<span class="cline-any cline-neutral"> </span>
|
|
397
|
+
<span class="cline-any cline-neutral"> </span>
|
|
386
398
|
<span class="cline-any cline-no"> </span>
|
|
387
399
|
<span class="cline-any cline-no"> </span>
|
|
388
400
|
<span class="cline-any cline-no"> </span>
|
|
389
401
|
<span class="cline-any cline-neutral"> </span>
|
|
402
|
+
<span class="cline-any cline-no"> </span>
|
|
403
|
+
<span class="cline-any cline-neutral"> </span>
|
|
390
404
|
<span class="cline-any cline-neutral"> </span>
|
|
391
405
|
<span class="cline-any cline-neutral"> </span>
|
|
392
406
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -444,7 +458,10 @@ export type Options = {
|
|
|
444
458
|
private tabId: string
|
|
445
459
|
public userInfo: UserInfo
|
|
446
460
|
|
|
447
|
-
<span class="fstat-no" title="function not covered" > constructor(
|
|
461
|
+
<span class="fstat-no" title="function not covered" > constructor(</span>
|
|
462
|
+
private readonly <span class="cstat-no" title="statement not covered" >app: App,</span>
|
|
463
|
+
private readonly <span class="cstat-no" title="statement not covered" >options: Options,</span>
|
|
464
|
+
) {
|
|
448
465
|
<span class="cstat-no" title="statement not covered" > this.createTabId()</span>
|
|
449
466
|
}
|
|
450
467
|
|
|
@@ -549,15 +566,19 @@ export type Options = {
|
|
|
549
566
|
<span class="cstat-no" title="statement not covered" > <span class="missing-if-branch" title="if path not taken" >I</span>if (!this.tabId) <span class="cstat-no" title="statement not covered" >this.createTabId()</span></span>
|
|
550
567
|
<span class="cstat-no" title="statement not covered" > return this.tabId</span>
|
|
551
568
|
}
|
|
569
|
+
|
|
570
|
+
public <span class="fstat-no" title="function not covered" >regenerateTabId(</span>) {
|
|
571
|
+
const randomId = <span class="cstat-no" title="statement not covered" >generateRandomId(12)</span>
|
|
572
|
+
<span class="cstat-no" title="statement not covered" > this.app.sessionStorage.setItem(this.options.session_tabid_key, randomId)</span>
|
|
573
|
+
<span class="cstat-no" title="statement not covered" > this.tabId = randomId</span>
|
|
574
|
+
}
|
|
552
575
|
|
|
553
576
|
private <span class="fstat-no" title="function not covered" >createTabId(</span>) {
|
|
554
577
|
const localId = <span class="cstat-no" title="statement not covered" >this.app.sessionStorage.getItem(this.options.session_tabid_key)</span>
|
|
555
578
|
<span class="cstat-no" title="statement not covered" > if (localId) {</span>
|
|
556
579
|
<span class="cstat-no" title="statement not covered" > this.tabId = localId</span>
|
|
557
580
|
} else {
|
|
558
|
-
|
|
559
|
-
<span class="cstat-no" title="statement not covered" > this.app.sessionStorage.setItem(this.options.session_tabid_key, randomId)</span>
|
|
560
|
-
<span class="cstat-no" title="statement not covered" > this.tabId = randomId</span>
|
|
581
|
+
<span class="cstat-no" title="statement not covered" > this.regenerateTabId()</span>
|
|
561
582
|
}
|
|
562
583
|
}
|
|
563
584
|
|
|
@@ -586,7 +607,7 @@ export type Options = {
|
|
|
586
607
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
587
608
|
Code coverage generated by
|
|
588
609
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
589
|
-
at
|
|
610
|
+
at 2024-01-23T12:19:37.435Z
|
|
590
611
|
</div>
|
|
591
612
|
<script src="../../prettify.js"></script>
|
|
592
613
|
<script>
|
|
@@ -235,7 +235,7 @@ function <span class="fstat-no" title="function not covered" >wrap(</span>callba
|
|
|
235
235
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
236
236
|
Code coverage generated by
|
|
237
237
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
238
|
-
at
|
|
238
|
+
at 2024-01-23T12:19:37.435Z
|
|
239
239
|
</div>
|
|
240
240
|
<script src="../../prettify.js"></script>
|
|
241
241
|
<script>
|
|
@@ -25,28 +25,28 @@
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
26
|
<span class="strong">0% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>0/
|
|
28
|
+
<span class='fraction'>0/298</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
33
|
<span class="strong">0% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>0/
|
|
35
|
+
<span class='fraction'>0/150</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
40
|
<span class="strong">0% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>0/
|
|
42
|
+
<span class='fraction'>0/63</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
47
|
<span class="strong">0% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>0/
|
|
49
|
+
<span class='fraction'>0/296</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -84,13 +84,13 @@
|
|
|
84
84
|
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
|
|
85
85
|
</td>
|
|
86
86
|
<td data-value="0" class="pct low">0%</td>
|
|
87
|
-
<td data-value="
|
|
87
|
+
<td data-value="217" class="abs low">0/217</td>
|
|
88
88
|
<td data-value="0" class="pct low">0%</td>
|
|
89
|
-
<td data-value="
|
|
89
|
+
<td data-value="120" class="abs low">0/120</td>
|
|
90
90
|
<td data-value="0" class="pct low">0%</td>
|
|
91
|
-
<td data-value="
|
|
91
|
+
<td data-value="41" class="abs low">0/41</td>
|
|
92
92
|
<td data-value="0" class="pct low">0%</td>
|
|
93
|
-
<td data-value="
|
|
93
|
+
<td data-value="215" class="abs low">0/215</td>
|
|
94
94
|
</tr>
|
|
95
95
|
|
|
96
96
|
<tr>
|
|
@@ -99,13 +99,13 @@
|
|
|
99
99
|
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
|
|
100
100
|
</td>
|
|
101
101
|
<td data-value="0" class="pct low">0%</td>
|
|
102
|
-
<td data-value="
|
|
102
|
+
<td data-value="81" class="abs low">0/81</td>
|
|
103
103
|
<td data-value="0" class="pct low">0%</td>
|
|
104
|
-
<td data-value="
|
|
104
|
+
<td data-value="30" class="abs low">0/30</td>
|
|
105
105
|
<td data-value="0" class="pct low">0%</td>
|
|
106
|
-
<td data-value="
|
|
106
|
+
<td data-value="22" class="abs low">0/22</td>
|
|
107
107
|
<td data-value="0" class="pct low">0%</td>
|
|
108
|
-
<td data-value="
|
|
108
|
+
<td data-value="81" class="abs low">0/81</td>
|
|
109
109
|
</tr>
|
|
110
110
|
|
|
111
111
|
</tbody>
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
117
117
|
Code coverage generated by
|
|
118
118
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
119
|
-
at
|
|
119
|
+
at 2024-01-23T12:19:37.435Z
|
|
120
120
|
</div>
|
|
121
121
|
<script src="../prettify.js"></script>
|
|
122
122
|
<script>
|