包详细信息

@rrweb/record

rrweb-io31.8kMIT2.0.0-alpha.18

This package contains all the record related code in rrweb. See the guide for more info on rrweb.

rrweb, @rrweb/record

自述文件

@rrweb/record

This package contains all the record related code in rrweb. See the guide for more info on rrweb.

Installation

npm install @rrweb/record

Usage

import { record } from '@rrweb/record';

record({
  emit(event) {
    // send event to server
  },
});

Notes

Currently this package is really just a wrapper around the record function in the main rrweb package. All record related code will get moved here in the future.

Sponsors

Become a sponsor and get your logo on our README on Github with a link to your site.

Gold Sponsors 🥇

sponsor sponsor sponsor sponsor sponsor sponsor sponsor

Silver Sponsors 🥈

sponsor sponsor sponsor sponsor sponsor sponsor sponsor

Bronze Sponsors 🥉

sponsor sponsor sponsor sponsor sponsor sponsor sponsor sponsor sponsor

Backers

Core Team Members


Yuyz0112


Yun Feng


eoghanmurray


Juice10
open for rrweb consulting

Who's using rrweb?

Smart screen recording for SaaS
The first ever UX automation tool Remote Access & Co-Browsing The open source, fullstack Monitoring Platform. Comprehensive data analytics platform that empowers businesses to gain valuable insights and make data-driven decisions.
Intercept, Modify, Record & Replay HTTP Requests. In-app bug reporting & customer feedback platform. Self-hosted website analytics with heatmaps and session recordings. Interactive product demos for small marketing teams

更新日志

Changelog

v1.0.0

Featrues & Improvements

  • Support record same-origin non-sandboxed iframe.
  • Support record open-mode shadow DOM.
  • Implement the plugin API.
  • Export record.takeFullSnapshot as a public API
  • Record and replay drag events.
  • Add options to mask texts (#540).

Fixes

  • Get the original MutationObserver when Angular patched it.
  • Fix RangeError: Maximum call stack size exceeded (#479).
  • Fix the linked-list implementation in the recorder.
  • Don't perform newly added actions if the player is paused (#539).
  • Fix inaccurate mouse position (#522)

Breaking Changes

  • Deprecated the usage of rrweb.mirror. Please use record.mirror and replayer.getMirror() instead.
  • Deprecated the record option recordLog. See the new plugin API here.
  • Deprecated the replay option . See the new plugin API here.