@highlight-run/rrweb 2.1.0 → 2.1.1
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
- package/typings/entries/all.d.ts +0 -0
- package/typings/entries/record-pack.d.ts +0 -0
- package/typings/entries/replay-unpack.d.ts +0 -0
- package/typings/index.d.ts +0 -0
- package/typings/packer/base.d.ts +0 -0
- package/typings/packer/index.d.ts +0 -0
- package/typings/packer/pack.d.ts +0 -0
- package/typings/packer/unpack.d.ts +0 -0
- package/typings/plugins/console/record/error-stack-parser.d.ts +0 -0
- package/typings/plugins/console/record/index.d.ts +0 -0
- package/typings/plugins/console/record/stringify.d.ts +0 -0
- package/typings/plugins/console/replay/index.d.ts +0 -0
- package/typings/plugins/sequential-id/record/index.d.ts +0 -0
- package/typings/plugins/sequential-id/replay/index.d.ts +0 -0
- package/typings/record/iframe-manager.d.ts +0 -0
- package/typings/record/index.d.ts +0 -0
- package/typings/record/mutation.d.ts +0 -0
- package/typings/record/observer.d.ts +0 -0
- package/typings/record/observers/canvas/2d.d.ts +0 -0
- package/typings/record/observers/canvas/canvas-manager.d.ts +0 -0
- package/typings/record/observers/canvas/canvas.d.ts +0 -0
- package/typings/record/observers/canvas/serialize-args.d.ts +0 -0
- package/typings/record/observers/canvas/webgl.d.ts +0 -0
- package/typings/record/shadow-dom-manager.d.ts +0 -0
- package/typings/record/stylesheet-manager.d.ts +0 -0
- package/typings/record/workers/image-bitmap-data-url-worker.d.ts +0 -0
- package/typings/replay/canvas/2d.d.ts +0 -0
- package/typings/replay/canvas/deserialize-args.d.ts +0 -0
- package/typings/replay/canvas/index.d.ts +0 -0
- package/typings/replay/canvas/webgl.d.ts +0 -0
- package/typings/replay/index.d.ts +0 -0
- package/typings/replay/machine.d.ts +0 -0
- package/typings/replay/smoothscroll.d.ts +0 -0
- package/typings/replay/styles/inject-style.d.ts +0 -0
- package/typings/replay/timer.d.ts +0 -0
- package/typings/rrdom/index.d.ts +0 -0
- package/typings/rrdom/tree-node.d.ts +0 -0
- package/typings/types.d.ts +0 -0
- package/typings/utils.d.ts +0 -0
|
@@ -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
|
});
|
|
@@ -3138,7 +3138,7 @@ let wrappedEmit;
|
|
|
3138
3138
|
let takeFullSnapshot;
|
|
3139
3139
|
const mirror = createMirror();
|
|
3140
3140
|
function record(options = {}) {
|
|
3141
|
-
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;
|
|
3141
|
+
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;
|
|
3142
3142
|
if (!emit) {
|
|
3143
3143
|
throw new Error('emit function is required');
|
|
3144
3144
|
}
|
|
@@ -3273,7 +3273,7 @@ function record(options = {}) {
|
|
|
3273
3273
|
stylesheetManager,
|
|
3274
3274
|
canvasManager,
|
|
3275
3275
|
keepIframeSrcFn,
|
|
3276
|
-
enableStrictPrivacy
|
|
3276
|
+
enableStrictPrivacy,
|
|
3277
3277
|
},
|
|
3278
3278
|
mirror,
|
|
3279
3279
|
});
|
package/lib/rrweb-all.js
CHANGED
|
@@ -4103,7 +4103,7 @@ let wrappedEmit;
|
|
|
4103
4103
|
let takeFullSnapshot;
|
|
4104
4104
|
const mirror = createMirror$2();
|
|
4105
4105
|
function record(options = {}) {
|
|
4106
|
-
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;
|
|
4106
|
+
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;
|
|
4107
4107
|
if (!emit) {
|
|
4108
4108
|
throw new Error('emit function is required');
|
|
4109
4109
|
}
|
|
@@ -4238,7 +4238,7 @@ function record(options = {}) {
|
|
|
4238
4238
|
stylesheetManager,
|
|
4239
4239
|
canvasManager,
|
|
4240
4240
|
keepIframeSrcFn,
|
|
4241
|
-
enableStrictPrivacy
|
|
4241
|
+
enableStrictPrivacy,
|
|
4242
4242
|
},
|
|
4243
4243
|
mirror,
|
|
4244
4244
|
});
|
package/lib/rrweb.js
CHANGED
|
@@ -4103,7 +4103,7 @@ let wrappedEmit;
|
|
|
4103
4103
|
let takeFullSnapshot;
|
|
4104
4104
|
const mirror = createMirror$2();
|
|
4105
4105
|
function record(options = {}) {
|
|
4106
|
-
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;
|
|
4106
|
+
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;
|
|
4107
4107
|
if (!emit) {
|
|
4108
4108
|
throw new Error('emit function is required');
|
|
4109
4109
|
}
|
|
@@ -4238,7 +4238,7 @@ function record(options = {}) {
|
|
|
4238
4238
|
stylesheetManager,
|
|
4239
4239
|
canvasManager,
|
|
4240
4240
|
keepIframeSrcFn,
|
|
4241
|
-
enableStrictPrivacy
|
|
4241
|
+
enableStrictPrivacy,
|
|
4242
4242
|
},
|
|
4243
4243
|
mirror,
|
|
4244
4244
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@highlight-run/rrweb",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "record and replay the web",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"prepare": "npm run prepack",
|
|
@@ -83,5 +83,5 @@
|
|
|
83
83
|
"fflate": "^0.4.4",
|
|
84
84
|
"mitt": "^3.0.0"
|
|
85
85
|
},
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "15a0a27697444a1d09f589e50fa9587ad8ca025e"
|
|
87
87
|
}
|
package/typings/entries/all.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/typings/index.d.ts
CHANGED
|
File without changes
|
package/typings/packer/base.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/typings/packer/pack.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/typings/rrdom/index.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/typings/types.d.ts
CHANGED
|
File without changes
|
package/typings/utils.d.ts
CHANGED
|
File without changes
|