Files
rrweb/src/index.ts
re-fort a0d82589b7 Enable to mask texts (#73)
* chore: reorder options

* feat: enable to mask texts

* feat: add the default mask function

* refactor: rename options to identify the difference between  mask text and mask input

* test: add tests about masking
2021-04-22 15:34:36 +08:00

25 lines
463 B
TypeScript

import snapshot, {
serializeNodeWithId,
transformAttribute,
visitSnapshot,
cleanupSnapshot,
needMaskingText,
IGNORED_NODE,
} from './snapshot';
import rebuild, { buildNodeWithSN, addHoverClass } from './rebuild';
export * from './types';
export * from './utils';
export {
snapshot,
serializeNodeWithId,
rebuild,
buildNodeWithSN,
addHoverClass,
transformAttribute,
visitSnapshot,
cleanupSnapshot,
needMaskingText,
IGNORED_NODE,
};