20 lines
658 B
JavaScript
20 lines
658 B
JavaScript
// Metro module 1134 (f1135).
|
|
import { notWeb } from "./Module1002";
|
|
import { replayIntegration } from "./Module1135";
|
|
const browserReplayIntegrationNoop = () => {};
|
|
export const browserReplayIntegration = function(r10 = {}) {
|
|
return notWeb() ? {
|
|
name: "Replay",
|
|
start: () => {},
|
|
startBuffering: () => {},
|
|
stop: () => Promise.resolve(),
|
|
flush: () => Promise.resolve(),
|
|
getReplayId: () => {},
|
|
getRecordingMode: () => {}
|
|
} : replayIntegration({
|
|
...r10,
|
|
mask: [".sentry-react-native-mask", ...r10.mask || []],
|
|
unmask: [".sentry-react-native-unmask:not(.sentry-react-native-mask *) > *", ...r10.unmask || []]
|
|
});
|
|
};
|