From 4d6556890f04eb73e755fa914a92146716a054d1 Mon Sep 17 00:00:00 2001 From: urbanhusky Date: Mon, 7 Jun 2021 17:39:45 +0200 Subject: [PATCH] Make ClientOptions.udpBindAddress optional The type definitions define `ClientOptions.udpBindAddress` as mandatory, which breaks compatibility to 1.1.1 and requires to define a value even when it is not used. This commit fixes this by declaring `udpBindAddress` to be optional. --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 504d0b3..17218f4 100644 --- a/index.d.ts +++ b/index.d.ts @@ -57,7 +57,7 @@ export interface ClientOptions { transport?: Transport, timestamp?: Date, msgid?: string, - udpBindAddress: string + udpBindAddress?: string } export interface MessageOptions {