From 33d4549e71b696aa21d8df7fef8f388ea8209a2c Mon Sep 17 00:00:00 2001 From: Roland Bewick Date: Wed, 11 Sep 2024 23:15:31 +0700 Subject: [PATCH] fix: make notifications optional in info response --- src/NWCClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NWCClient.ts b/src/NWCClient.ts index 929238b..44bb051 100644 --- a/src/NWCClient.ts +++ b/src/NWCClient.ts @@ -44,7 +44,7 @@ export type Nip47GetInfoResponse = { block_height: number; block_hash: string; methods: Nip47Method[]; - notifications: Nip47NotificationType[]; + notifications?: Nip47NotificationType[]; }; export type Nip47GetBalanceResponse = {