diff --git a/src/Level2Snapshots.ts b/src/Level2Snapshots.ts index accd95ce..33886dc2 100644 --- a/src/Level2Snapshots.ts +++ b/src/Level2Snapshots.ts @@ -1,10 +1,16 @@ /* eslint-disable @typescript-eslint/no-unsafe-member-access */ /* eslint-disable @typescript-eslint/no-unsafe-assignment */ +import { Level2Point } from "./Level2Point"; + export class Level2Snapshot { public base: string; public quote: string; public exchange: string; + public sequenceId: number; + public timestampMs: number; + public asks: Level2Point[]; + public bids: Level2Point[]; constructor(props) { for (const key in props) { diff --git a/src/Level3Snapshot.ts b/src/Level3Snapshot.ts index 627ac5cd..f0015f14 100644 --- a/src/Level3Snapshot.ts +++ b/src/Level3Snapshot.ts @@ -1,10 +1,16 @@ /* eslint-disable @typescript-eslint/no-unsafe-member-access */ /* eslint-disable @typescript-eslint/no-unsafe-assignment */ +import { Level3Point } from "./Level3Point"; + export class Level3Snapshot { public exchange: string; public base: string; public quote: string; + public sequenceId: number; + public timestampMs: number; + public asks: Level3Point[]; + public bids: Level3Point[]; constructor(props: any) { for (const key in props) {