add timestamp to prepare method

This commit is contained in:
Андрей Бабушкин 2025-03-24 12:39:40 +01:00 committed by nick-delirium
parent 8ecc67c745
commit 71e0c6915e
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0

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
}