moved rrweb into packages/rrweb

This commit is contained in:
Mark-fenng
2021-07-22 23:43:52 +08:00
parent 734f70543c
commit 6c34ffa7ce
102 changed files with 1676 additions and 401 deletions

View File

@@ -0,0 +1,7 @@
import { eventWithTime } from '../types';
export declare type PackFn = (event: eventWithTime) => string;
export declare type UnpackFn = (raw: string) => eventWithTime;
export declare type eventWithTimeAndPacker = eventWithTime & {
v: string;
};
export declare const MARK = "v1";

View File

@@ -0,0 +1,2 @@
export { pack } from './pack';
export { unpack } from './unpack';

View File

@@ -0,0 +1,2 @@
import { PackFn } from './base';
export declare const pack: PackFn;

View File

@@ -0,0 +1,2 @@
import { UnpackFn } from './base';
export declare const unpack: UnpackFn;