@highlight-run/rrweb 2.0.18 → 2.0.19
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/record/rrweb-record.js +3 -3
- package/dist/record/rrweb-record.min.js +3 -3
- package/dist/record/rrweb-record.min.js.map +1 -1
- package/dist/rrweb-all.js +8 -8
- package/dist/rrweb-all.min.js +8 -8
- package/dist/rrweb-all.min.js.map +1 -1
- package/dist/rrweb.js +5 -5
- package/dist/rrweb.min.js +5 -5
- package/dist/rrweb.min.js.map +1 -1
- package/es/rrweb/packages/rrweb/src/record/index.js +3 -3
- package/lib/record/rrweb-record.js +2 -2
- package/lib/rrweb-all.js +2 -2
- package/lib/rrweb.js +2 -2
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createMirror, snapshot } from '../../../rrweb-snapshot/es/rrweb-snapshot.js';
|
|
1
|
+
import { createMirror, obfuscateText, snapshot } from '../../../rrweb-snapshot/es/rrweb-snapshot.js';
|
|
2
2
|
import { initObservers, mutationBuffers } from './observer.js';
|
|
3
3
|
import { polyfill, on, getWindowWidth, getWindowHeight, isSerializedIframe, isSerializedStylesheet, hasShadowRoot } from '../utils.js';
|
|
4
4
|
import { EventType, IncrementalSource } from '../types.js';
|
|
@@ -14,7 +14,7 @@ let wrappedEmit;
|
|
|
14
14
|
let takeFullSnapshot;
|
|
15
15
|
const mirror = createMirror();
|
|
16
16
|
function record(options = {}) {
|
|
17
|
-
const { emit, checkoutEveryNms, checkoutEveryNth, blockClass = 'highlight-block', blockSelector = null, ignoreClass = 'highlight-ignore', maskTextClass = 'highlight-mask', maskTextSelector = null, inlineStylesheet = true, maskAllInputs, maskInputOptions: _maskInputOptions, slimDOMOptions: _slimDOMOptions, maskInputFn, maskTextFn, hooks, packFn, sampling = {}, mousemoveWait, recordCanvas = false, userTriggeredOnInput = false, collectFonts = false, inlineImages = false, plugins, keepIframeSrcFn = () => false, enableStrictPrivacy = false, } = options;
|
|
17
|
+
const { emit, checkoutEveryNms, checkoutEveryNth, blockClass = 'highlight-block', blockSelector = null, ignoreClass = 'highlight-ignore', maskTextClass = 'highlight-mask', maskTextSelector = null, inlineStylesheet = true, maskAllInputs, maskInputOptions: _maskInputOptions, slimDOMOptions: _slimDOMOptions, maskInputFn, maskTextFn = obfuscateText, hooks, packFn, sampling = {}, mousemoveWait, recordCanvas = false, userTriggeredOnInput = false, collectFonts = false, inlineImages = false, plugins, keepIframeSrcFn = () => false, enableStrictPrivacy = false, } = options;
|
|
18
18
|
if (!emit) {
|
|
19
19
|
throw new Error('emit function is required');
|
|
20
20
|
}
|
|
@@ -149,7 +149,7 @@ function record(options = {}) {
|
|
|
149
149
|
stylesheetManager,
|
|
150
150
|
canvasManager,
|
|
151
151
|
keepIframeSrcFn,
|
|
152
|
-
enableStrictPrivacy
|
|
152
|
+
enableStrictPrivacy,
|
|
153
153
|
},
|
|
154
154
|
mirror,
|
|
155
155
|
});
|
|
@@ -3078,7 +3078,7 @@ let wrappedEmit;
|
|
|
3078
3078
|
let takeFullSnapshot;
|
|
3079
3079
|
const mirror = createMirror();
|
|
3080
3080
|
function record(options = {}) {
|
|
3081
|
-
const { emit, checkoutEveryNms, checkoutEveryNth, blockClass = 'highlight-block', blockSelector = null, ignoreClass = 'highlight-ignore', maskTextClass = 'highlight-mask', maskTextSelector = null, inlineStylesheet = true, maskAllInputs, maskInputOptions: _maskInputOptions, slimDOMOptions: _slimDOMOptions, maskInputFn, maskTextFn, hooks, packFn, sampling = {}, mousemoveWait, recordCanvas = false, userTriggeredOnInput = false, collectFonts = false, inlineImages = false, plugins, keepIframeSrcFn = () => false, enableStrictPrivacy = false, } = options;
|
|
3081
|
+
const { emit, checkoutEveryNms, checkoutEveryNth, blockClass = 'highlight-block', blockSelector = null, ignoreClass = 'highlight-ignore', maskTextClass = 'highlight-mask', maskTextSelector = null, inlineStylesheet = true, maskAllInputs, maskInputOptions: _maskInputOptions, slimDOMOptions: _slimDOMOptions, maskInputFn, maskTextFn = obfuscateText, hooks, packFn, sampling = {}, mousemoveWait, recordCanvas = false, userTriggeredOnInput = false, collectFonts = false, inlineImages = false, plugins, keepIframeSrcFn = () => false, enableStrictPrivacy = false, } = options;
|
|
3082
3082
|
if (!emit) {
|
|
3083
3083
|
throw new Error('emit function is required');
|
|
3084
3084
|
}
|
|
@@ -3213,7 +3213,7 @@ function record(options = {}) {
|
|
|
3213
3213
|
stylesheetManager,
|
|
3214
3214
|
canvasManager,
|
|
3215
3215
|
keepIframeSrcFn,
|
|
3216
|
-
enableStrictPrivacy
|
|
3216
|
+
enableStrictPrivacy,
|
|
3217
3217
|
},
|
|
3218
3218
|
mirror,
|
|
3219
3219
|
});
|
package/lib/rrweb-all.js
CHANGED
|
@@ -4039,7 +4039,7 @@ let wrappedEmit;
|
|
|
4039
4039
|
let takeFullSnapshot;
|
|
4040
4040
|
const mirror = createMirror$2();
|
|
4041
4041
|
function record(options = {}) {
|
|
4042
|
-
const { emit, checkoutEveryNms, checkoutEveryNth, blockClass = 'highlight-block', blockSelector = null, ignoreClass = 'highlight-ignore', maskTextClass = 'highlight-mask', maskTextSelector = null, inlineStylesheet = true, maskAllInputs, maskInputOptions: _maskInputOptions, slimDOMOptions: _slimDOMOptions, maskInputFn, maskTextFn, hooks, packFn, sampling = {}, mousemoveWait, recordCanvas = false, userTriggeredOnInput = false, collectFonts = false, inlineImages = false, plugins, keepIframeSrcFn = () => false, enableStrictPrivacy = false, } = options;
|
|
4042
|
+
const { emit, checkoutEveryNms, checkoutEveryNth, blockClass = 'highlight-block', blockSelector = null, ignoreClass = 'highlight-ignore', maskTextClass = 'highlight-mask', maskTextSelector = null, inlineStylesheet = true, maskAllInputs, maskInputOptions: _maskInputOptions, slimDOMOptions: _slimDOMOptions, maskInputFn, maskTextFn = obfuscateText, hooks, packFn, sampling = {}, mousemoveWait, recordCanvas = false, userTriggeredOnInput = false, collectFonts = false, inlineImages = false, plugins, keepIframeSrcFn = () => false, enableStrictPrivacy = false, } = options;
|
|
4043
4043
|
if (!emit) {
|
|
4044
4044
|
throw new Error('emit function is required');
|
|
4045
4045
|
}
|
|
@@ -4174,7 +4174,7 @@ function record(options = {}) {
|
|
|
4174
4174
|
stylesheetManager,
|
|
4175
4175
|
canvasManager,
|
|
4176
4176
|
keepIframeSrcFn,
|
|
4177
|
-
enableStrictPrivacy
|
|
4177
|
+
enableStrictPrivacy,
|
|
4178
4178
|
},
|
|
4179
4179
|
mirror,
|
|
4180
4180
|
});
|
package/lib/rrweb.js
CHANGED
|
@@ -4039,7 +4039,7 @@ let wrappedEmit;
|
|
|
4039
4039
|
let takeFullSnapshot;
|
|
4040
4040
|
const mirror = createMirror$2();
|
|
4041
4041
|
function record(options = {}) {
|
|
4042
|
-
const { emit, checkoutEveryNms, checkoutEveryNth, blockClass = 'highlight-block', blockSelector = null, ignoreClass = 'highlight-ignore', maskTextClass = 'highlight-mask', maskTextSelector = null, inlineStylesheet = true, maskAllInputs, maskInputOptions: _maskInputOptions, slimDOMOptions: _slimDOMOptions, maskInputFn, maskTextFn, hooks, packFn, sampling = {}, mousemoveWait, recordCanvas = false, userTriggeredOnInput = false, collectFonts = false, inlineImages = false, plugins, keepIframeSrcFn = () => false, enableStrictPrivacy = false, } = options;
|
|
4042
|
+
const { emit, checkoutEveryNms, checkoutEveryNth, blockClass = 'highlight-block', blockSelector = null, ignoreClass = 'highlight-ignore', maskTextClass = 'highlight-mask', maskTextSelector = null, inlineStylesheet = true, maskAllInputs, maskInputOptions: _maskInputOptions, slimDOMOptions: _slimDOMOptions, maskInputFn, maskTextFn = obfuscateText, hooks, packFn, sampling = {}, mousemoveWait, recordCanvas = false, userTriggeredOnInput = false, collectFonts = false, inlineImages = false, plugins, keepIframeSrcFn = () => false, enableStrictPrivacy = false, } = options;
|
|
4043
4043
|
if (!emit) {
|
|
4044
4044
|
throw new Error('emit function is required');
|
|
4045
4045
|
}
|
|
@@ -4174,7 +4174,7 @@ function record(options = {}) {
|
|
|
4174
4174
|
stylesheetManager,
|
|
4175
4175
|
canvasManager,
|
|
4176
4176
|
keepIframeSrcFn,
|
|
4177
|
-
enableStrictPrivacy
|
|
4177
|
+
enableStrictPrivacy,
|
|
4178
4178
|
},
|
|
4179
4179
|
mirror,
|
|
4180
4180
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@highlight-run/rrweb",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.19",
|
|
4
4
|
"description": "record and replay the web",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"prepare": "npm run prepack",
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"fflate": "^0.4.4",
|
|
83
83
|
"mitt": "^1.1.3"
|
|
84
84
|
},
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "5970e6ace1e9ad241df8bf928c85577cdcf8f9d8"
|
|
86
86
|
}
|