From d42cdbbc5b3d406db373a83609e3dac9fa1bca7b Mon Sep 17 00:00:00 2001 From: Dexter Chua Date: Sat, 29 Aug 2020 14:37:11 +0800 Subject: [PATCH] Add missing options in ICreateClientOpts This makes the examples in the README actually compile. Signed-off-by: Dexter Chua --- src/matrix.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/matrix.ts b/src/matrix.ts index 204971f3f..46c009f2b 100644 --- a/src/matrix.ts +++ b/src/matrix.ts @@ -120,6 +120,12 @@ interface ICreateClientOpts { cryptoStore?: CryptoStore; scheduler?: MatrixScheduler; request?: Request; + userId?: string; + accessToken?: string; + identityServer?: any; + localTimeoutMs?: number; + useAuthorizationHeader?: boolean; + queryParams?: Record; } /**