Yarn upgrade

@snort/system upgrade
Setup ts-load for react-intl
This commit is contained in:
2023-08-27 14:26:22 +01:00
parent 7cba67e4c1
commit 6587923bdc
29 changed files with 1266 additions and 1570 deletions

View File

@ -1,7 +1,7 @@
import {
NostrEvent,
NostrPrefix,
TaggedRawEvent,
TaggedNostrEvent,
encodeTLV,
parseNostrLink,
} from "@snort/system";
@ -77,7 +77,7 @@ export function splitByUrl(str: string) {
return str.split(urlRegex);
}
export function eventLink(ev: NostrEvent | TaggedRawEvent) {
export function eventLink(ev: NostrEvent | TaggedNostrEvent) {
if (ev.kind && ev.kind >= 30000 && ev.kind <= 40000) {
const d = findTag(ev, "d") ?? "";
return encodeTLV(