feat: per event zap targets

This commit is contained in:
2023-03-27 23:58:29 +01:00
parent 293510069c
commit 8ef20c27b3
6 changed files with 90 additions and 10 deletions

View File

@ -12,6 +12,7 @@ export default class Tag {
DTag?: string;
Index: number;
Invalid: boolean;
LNURL?: string;
constructor(tag: string[], index: number) {
this.Original = tag;
@ -50,6 +51,10 @@ export default class Tag {
this.PubKey = tag[1];
break;
}
case "zap": {
this.LNURL = tag[1];
break;
}
}
}