Add blossom server collections

This commit is contained in:
Jon Staab
2025-04-29 14:30:12 -07:00
parent dcf8569376
commit a42ee30066
5 changed files with 67 additions and 41 deletions
+1
View File
@@ -118,6 +118,7 @@ export const FEEDS = 10014
export const TOPICS = 10015
export const EMOJIS = 10030
export const INBOX_RELAYS = 10050
export const BLOSSOM_SERVERS = 10063
export const FILE_SERVERS = 10096
export const LIGHTNING_PUB_RPC = 21000
export const CLIENT_AUTH = 22242
+2
View File
@@ -109,3 +109,5 @@ export const getReplyTagValues = (tags: string[][]) =>
export const uniqTags = (tags: string[][]) => uniqBy(t => t.slice(0, 2).join(":"), tags)
export const tagsFromIMeta = (imeta: string[]) => imeta.map((m: string) => m.split(" "))
export const tagger = (name: string) => (value: string) => [name, value]