add timestamp to prepare method

This commit is contained in:
Андрей Бабушкин 2025-03-24 12:39:40 +01:00
parent f595a5932a
commit 22ee13e641
2 changed files with 3 additions and 0 deletions

View file

@ -52,10 +52,13 @@ export default class BatchWriter {
this.url,
]
const timestamp: Messages.Timestamp = [Messages.Type.Timestamp, this.timestamp]
const tabData: Messages.TabData = [Messages.Type.TabData, this.tabId]
this.writeType(batchMetadata)
this.writeFields(batchMetadata)
this.writeWithSize(timestamp as Message)
this.writeWithSize(tabData as Message)
this.isEmpty = true
}