Skip to content

Commit

Permalink
Merge pull request #254 from getAlby/fix/info-optional-notifications
Browse files Browse the repository at this point in the history
fix: make notifications optional in info response
  • Loading branch information
rolznz authored Sep 11, 2024
2 parents 46e9ac9 + 33d4549 commit 9725cc9
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 9725cc9

Please sign in to comment.