Release 0.9.9

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent f8c0643eb8
commit 8607cb6071
2 changed files with 1 additions and 23 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "rrweb",
"version": "0.9.8",
"version": "0.9.9",
"description": "record and replay the web",
"scripts": {
"test": "npm run bundle:browser && cross-env TS_NODE_CACHE=false TS_NODE_FILES=true mocha -r ts-node/register test/**/*.test.ts",

View File

@@ -1,22 +0,0 @@
import * as fsm from '@xstate/fsm';
declare module '@xstate/fsm' {
export namespace StateMachine {
interface Service<
TContext extends object,
TEvent extends fsm.EventObject,
TState extends fsm.Typestate<TContext> = any
> {
send: (event: TEvent | TEvent['type']) => void;
subscribe: (
listener: StateListener<State<TContext, TEvent, TState>>,
) => {
unsubscribe: () => void;
};
start: () => Service<TContext, TEvent, TState>;
stop: () => Service<TContext, TEvent, TState>;
readonly status: fsm.InterpreterStatus;
readonly state: State<TContext, TEvent, TState>;
}
}
}