Skip to content

Commit

Permalink
fix: make notifications optional in info response
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz committed Sep 11, 2024
1 parent 46e9ac9 commit 33d4549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NWCClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export type Nip47GetInfoResponse = {
block_height: number;
block_hash: string;
methods: Nip47Method[];
notifications: Nip47NotificationType[];
notifications?: Nip47NotificationType[];
};

export type Nip47GetBalanceResponse = {
Expand Down

0 comments on commit 33d4549

Please sign in to comment.