New:Socket for Asana Is Now Available.Learn more
Get Started

@browser-replay/plugin-sequential-id-replay

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@browser-replay/plugin-sequential-id-replay

browser-replay plugin for sequential node IDs during replay

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

@browser-replay/plugin-sequential-id-replay

Use this plugin in combination with the @browser-replay/plugin-sequential-id-record plugin to record and replay events with a sequential id. See the guide for more info.

Installation

npm install @browser-replay/plugin-sequential-id-replay

Usage

import { Replayer } from '@browser-replay/replay';
import { getReplaySequentialIdPlugin } from '@browser-replay/plugin-sequential-id-replay';

const replayer = new Replayer(events, {
  plugins: [
    getReplaySequentialIdPlugin({
      // make sure this is the same as the record side
      key: '_id', // default value
      warnOnMissingId: true, // default value
    }),
  ],
});
replayer.play(); // ERROR: [sequential-id-plugin]: expect to get an id with value "42", but got "666"`

Keywords

browser-replay

FAQs

Package last updated on 17 Jun 2026

Related posts