From b557847131424f3330811862b1a47d6d1da7ec22 Mon Sep 17 00:00:00 2001 From: Benjamin Ramser Date: Tue, 13 Dec 2022 08:49:24 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20add=20pending=5Fevents=20?= =?UTF-8?q?to=20SERVER=20response?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/responses.ts | 1 + src/tests/server.test.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/responses.ts b/src/responses.ts index b1ef268..87f9560 100644 --- a/src/responses.ts +++ b/src/responses.ts @@ -163,6 +163,7 @@ export type ServerResponse = ExtendResponse<{ read_only: boolean; threads: number; version: string; + pending_events: number; }; }>; diff --git a/src/tests/server.test.ts b/src/tests/server.test.ts index 778b5ab..83b1d59 100644 --- a/src/tests/server.test.ts +++ b/src/tests/server.test.ts @@ -32,6 +32,7 @@ describe('server', () => { read_only: expect.any(Boolean) as boolean, threads: expect.any(Number) as number, version: expect.any(String) as string, + pending_events: expect.any(Number) as number, }, };