diff --git a/packages/seroval/src/core/Serializer.ts b/packages/seroval/src/core/Serializer.ts index ae3f07bc..32d5632f 100644 --- a/packages/seroval/src/core/Serializer.ts +++ b/packages/seroval/src/core/Serializer.ts @@ -1,5 +1,4 @@ import { crossSerializeStream } from './cross'; -import { CROSS_REFERENCE_HEADER } from './keys'; import { serializeString } from './string'; export interface SerializerOptions { @@ -20,10 +19,6 @@ export default class Serializer { ) { } - getHeader(): string { - return this.options.globalIdentifier + '={};' + CROSS_REFERENCE_HEADER; - } - write(key: string, value: unknown): void { if (this.alive) { this.cleanups.push(crossSerializeStream(value, {