@browser-replay/plugin-sequential-id-record
Use this plugin in combination with the @browser-replay/plugin-sequential-id-replay plugin to record and replay events with a sequential id.
See the guide for more info.
Installation
npm install @browser-replay/plugin-sequential-id-record
Usage
import { record } from '@browser-replay/record';
import { getRecordSequentialIdPlugin } from '@browser-replay/plugin-sequential-id-record';
record({
emit: function emit(event) {
},
plugins: [
getRecordSequentialIdPlugin({
key: '_sid',
}),
],
});