Add kind 30064 named communities
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
"dependencies": {
|
||||
"@welshman/lib": "0.0.11",
|
||||
"@welshman/net": "0.0.14",
|
||||
"@welshman/util": "0.0.20",
|
||||
"@welshman/util": "0.0.21",
|
||||
"nostr-tools": "^2.7.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,6 +31,6 @@
|
||||
"typescript": "~5.1.6"
|
||||
},
|
||||
"dependencies": {
|
||||
"@welshman/util": "0.0.20"
|
||||
"@welshman/util": "0.0.21"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -109,7 +109,7 @@ export const difference = <T>(a: T[], b: T[]) => {
|
||||
return a.filter(x => !s.has(x))
|
||||
}
|
||||
|
||||
export const remove = <T>(a: T, b: T[]) => b.filter(x => x !== a)
|
||||
export const remove = <T>(a: T, xs: T[]) => xs.filter(x => x !== a)
|
||||
|
||||
export const without = <T>(a: T[], b: T[]) => b.filter(x => !a.includes(x))
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@welshman/lib": "0.0.11",
|
||||
"@welshman/util": "0.0.20",
|
||||
"@welshman/util": "0.0.21",
|
||||
"isomorphic-ws": "^5.0.0",
|
||||
"ws": "^8.16.0"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@welshman/util",
|
||||
"version": "0.0.20",
|
||||
"version": "0.0.21",
|
||||
"author": "hodlbod",
|
||||
"license": "MIT",
|
||||
"description": "A collection of nostr-related utilities.",
|
||||
|
||||
@@ -119,6 +119,7 @@ export const NAMED_WIKI_RELAYS = 30102
|
||||
export const NAMED_EMOJIS = 30030
|
||||
export const NAMED_TOPICS = 30015
|
||||
export const NAMED_ARTIFACTS = 30063
|
||||
export const NAMED_COMMUNITIES = 30064
|
||||
export const BADGES = 30008
|
||||
export const BADGE_DEFINITION = 30009
|
||||
export const STALL = 30017
|
||||
|
||||
Reference in New Issue
Block a user