@screeb/rrweb 1.0.0 → 1.0.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/dist/rrweb.cjs +3 -3
- package/dist/rrweb.cjs.map +1 -1
- package/dist/rrweb.d.cts +3 -1
- package/dist/rrweb.d.ts +3 -1
- package/dist/rrweb.js +3 -3
- package/dist/rrweb.js.map +1 -1
- package/dist/rrweb.umd.cjs +3 -3
- package/dist/rrweb.umd.cjs.map +2 -2
- package/dist/rrweb.umd.min.cjs +26 -26
- package/dist/rrweb.umd.min.cjs.map +3 -3
- package/package.json +1 -1
package/dist/rrweb.umd.cjs
CHANGED
|
@@ -11624,7 +11624,6 @@ function initMoveObserver({
|
|
|
11624
11624
|
function initMouseInteractionObserver({
|
|
11625
11625
|
mouseInteractionCb,
|
|
11626
11626
|
doc,
|
|
11627
|
-
win,
|
|
11628
11627
|
mirror: mirror2,
|
|
11629
11628
|
blockClass,
|
|
11630
11629
|
blockSelector,
|
|
@@ -11695,7 +11694,7 @@ function initMouseInteractionObserver({
|
|
|
11695
11694
|
).forEach((eventKey) => {
|
|
11696
11695
|
let eventName = toLowerCase(eventKey);
|
|
11697
11696
|
const handler = getHandler(eventKey);
|
|
11698
|
-
if (
|
|
11697
|
+
if (window.PointerEvent) {
|
|
11699
11698
|
switch (MouseInteractions[eventKey]) {
|
|
11700
11699
|
case MouseInteractions.MouseDown:
|
|
11701
11700
|
case MouseInteractions.MouseUp:
|
|
@@ -13619,12 +13618,13 @@ function record(options = {}) {
|
|
|
13619
13618
|
userTriggeredOnInput = false,
|
|
13620
13619
|
collectFonts = false,
|
|
13621
13620
|
inlineImages = false,
|
|
13622
|
-
win = window,
|
|
13621
|
+
win: _win = window,
|
|
13623
13622
|
plugins,
|
|
13624
13623
|
keepIframeSrcFn = () => false,
|
|
13625
13624
|
ignoreCSSAttributes = /* @__PURE__ */ new Set([]),
|
|
13626
13625
|
errorHandler: errorHandler2
|
|
13627
13626
|
} = options;
|
|
13627
|
+
const win = _win;
|
|
13628
13628
|
registerErrorHandler(errorHandler2);
|
|
13629
13629
|
const inEmittingFrame = recordCrossOriginIframes ? win.parent === win : true;
|
|
13630
13630
|
let passEmitsToParent = false;
|