NIP-94 file headers #488

Merged
v0l merged 7 commits from nip94 into main 2023-04-17 10:57:13 +00:00
Showing only changes of commit eed1d43327 - Show all commits

View File

@ -74,10 +74,10 @@ export class EventBuilder {
}
#validate() {
if (!this.#kind) {
if (this.#kind === undefined) {
throw new Error("Kind must be set");
}
if (!this.#pubkey) {
if (this.#pubkey === undefined) {
throw new Error("Pubkey must be set");
}
}