@sentry/replay 7.111.0 → 7.112.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/cjs/index.js +2 -1
- package/cjs/index.js.map +1 -1
- package/esm/index.js +2 -1
- package/esm/index.js.map +1 -1
- package/package.json +8 -8
package/cjs/index.js
CHANGED
|
@@ -3511,7 +3511,7 @@ function wrapEvent(e) {
|
|
|
3511
3511
|
let _takeFullSnapshot;
|
|
3512
3512
|
const mirror = createMirror();
|
|
3513
3513
|
function record(options = {}) {
|
|
3514
|
-
const { emit, checkoutEveryNms, checkoutEveryNth, blockClass = 'rr-block', blockSelector = null, unblockSelector = null, ignoreClass = 'rr-ignore', ignoreSelector = null, maskAllText = false, maskTextClass = 'rr-mask', unmaskTextClass = null, maskTextSelector = null, unmaskTextSelector = null, inlineStylesheet = true, maskAllInputs, maskInputOptions: _maskInputOptions, slimDOMOptions: _slimDOMOptions, maskAttributeFn, maskInputFn, maskTextFn, packFn, sampling = {}, dataURLOptions = {}, mousemoveWait, recordCanvas = false, recordCrossOriginIframes = false, recordAfter = options.recordAfter === 'DOMContentLoaded'
|
|
3514
|
+
const { emit, checkoutEveryNms, checkoutEveryNth, blockClass = 'rr-block', blockSelector = null, unblockSelector = null, ignoreClass = 'rr-ignore', ignoreSelector = null, maskAllText = false, maskTextClass = 'rr-mask', unmaskTextClass = null, maskTextSelector = null, unmaskTextSelector = null, inlineStylesheet = true, maskAllInputs, maskInputOptions: _maskInputOptions, slimDOMOptions: _slimDOMOptions, maskAttributeFn, maskInputFn, maskTextFn, maxCanvasSize = null, packFn, sampling = {}, dataURLOptions = {}, mousemoveWait, recordCanvas = false, recordCrossOriginIframes = false, recordAfter = options.recordAfter === 'DOMContentLoaded'
|
|
3515
3515
|
? options.recordAfter
|
|
3516
3516
|
: 'load', userTriggeredOnInput = false, collectFonts = false, inlineImages = false, plugins, keepIframeSrcFn = () => false, ignoreCSSAttributes = new Set([]), errorHandler, onMutation, getCanvasManager, } = options;
|
|
3517
3517
|
registerErrorHandler(errorHandler);
|
|
@@ -3694,6 +3694,7 @@ function record(options = {}) {
|
|
|
3694
3694
|
blockClass,
|
|
3695
3695
|
blockSelector,
|
|
3696
3696
|
unblockSelector,
|
|
3697
|
+
maxCanvasSize,
|
|
3697
3698
|
sampling: sampling['canvas'],
|
|
3698
3699
|
dataURLOptions,
|
|
3699
3700
|
errorHandler,
|