Add kind 30064 named communities

This commit is contained in:
Jon Staab
2024-07-22 10:11:22 -07:00
parent f6b10ee7b6
commit 69effe4f41
7 changed files with 10 additions and 9 deletions
+1 -1
View File
@@ -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"
}
}
+1 -1
View File
@@ -31,6 +31,6 @@
"typescript": "~5.1.6"
},
"dependencies": {
"@welshman/util": "0.0.20"
"@welshman/util": "0.0.21"
}
}
+1 -1
View File
@@ -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))
+1 -1
View File
@@ -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 -1
View File
@@ -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.",
+1
View File
@@ -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