🔧 chore: Update dependencies

This commit is contained in:
2026-06-16 01:20:17 +07:00
parent 8c3ca82a03
commit 553df6a62c
6 changed files with 355 additions and 436 deletions
+2 -2
View File
@@ -303,7 +303,7 @@ export class RpcRelay extends EventEmitter {
let primaryConnected = false
const pendingToPrimary: Buffer[] = []
client.on('data', (chunk) => {
client.on('data', (chunk: Buffer) => {
for (const frame of clientReader.push(chunk)) {
if (frame.op === OP_HANDSHAKE) {
handshakePayload = frame.payload
@@ -326,7 +326,7 @@ export class RpcRelay extends EventEmitter {
primaryConnected = true
for (const encoded of pendingToPrimary.splice(0)) primary.write(encoded)
primary.on('data', (chunk) => {
primary.on('data', (chunk: Buffer) => {
for (const frame of primaryReader.push(chunk)) {
if (client.writable) client.write(encodeFrame(frame.op, frame.payload))
}