nip-114: filter.ids_only, HAVE message

This commit is contained in:
Martti Malmi
2024-01-16 13:23:57 +02:00
parent 7c1f2c539f
commit 579589f635
5 changed files with 27 additions and 1 deletions

View File

@ -37,7 +37,7 @@ export type MaybeHexKey = HexKey | undefined;
*/
export type u256 = string;
export type ReqCommand = [cmd: "REQ", id: string, ...filters: Array<ReqFilter>];
export type ReqCommand = [cmd: "REQ" | "IDS", id: string, ...filters: Array<ReqFilter>];
/**
* Raw REQ filter object