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
+4 -4
View File
@@ -3097,7 +3097,7 @@
"dependencies": { "dependencies": {
"@welshman/lib": "0.0.11", "@welshman/lib": "0.0.11",
"@welshman/net": "0.0.14", "@welshman/net": "0.0.14",
"@welshman/util": "0.0.20", "@welshman/util": "0.0.21",
"nostr-tools": "^2.7.0" "nostr-tools": "^2.7.0"
}, },
"devDependencies": { "devDependencies": {
@@ -3111,7 +3111,7 @@
"version": "0.0.12", "version": "0.0.12",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@welshman/util": "0.0.20" "@welshman/util": "0.0.21"
}, },
"devDependencies": { "devDependencies": {
"gts": "^5.0.1", "gts": "^5.0.1",
@@ -3149,7 +3149,7 @@
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@welshman/lib": "0.0.11", "@welshman/lib": "0.0.11",
"@welshman/util": "0.0.20", "@welshman/util": "0.0.21",
"isomorphic-ws": "^5.0.0", "isomorphic-ws": "^5.0.0",
"ws": "^8.16.0" "ws": "^8.16.0"
}, },
@@ -3161,7 +3161,7 @@
}, },
"packages/util": { "packages/util": {
"name": "@welshman/util", "name": "@welshman/util",
"version": "0.0.20", "version": "0.0.21",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@welshman/lib": "0.0.11", "@welshman/lib": "0.0.11",
+1 -1
View File
@@ -33,7 +33,7 @@
"dependencies": { "dependencies": {
"@welshman/lib": "0.0.11", "@welshman/lib": "0.0.11",
"@welshman/net": "0.0.14", "@welshman/net": "0.0.14",
"@welshman/util": "0.0.20", "@welshman/util": "0.0.21",
"nostr-tools": "^2.7.0" "nostr-tools": "^2.7.0"
} }
} }
+1 -1
View File
@@ -31,6 +31,6 @@
"typescript": "~5.1.6" "typescript": "~5.1.6"
}, },
"dependencies": { "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)) 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)) export const without = <T>(a: T[], b: T[]) => b.filter(x => !a.includes(x))
+1 -1
View File
@@ -32,7 +32,7 @@
}, },
"dependencies": { "dependencies": {
"@welshman/lib": "0.0.11", "@welshman/lib": "0.0.11",
"@welshman/util": "0.0.20", "@welshman/util": "0.0.21",
"isomorphic-ws": "^5.0.0", "isomorphic-ws": "^5.0.0",
"ws": "^8.16.0" "ws": "^8.16.0"
} }
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@welshman/util", "name": "@welshman/util",
"version": "0.0.20", "version": "0.0.21",
"author": "hodlbod", "author": "hodlbod",
"license": "MIT", "license": "MIT",
"description": "A collection of nostr-related utilities.", "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_EMOJIS = 30030
export const NAMED_TOPICS = 30015 export const NAMED_TOPICS = 30015
export const NAMED_ARTIFACTS = 30063 export const NAMED_ARTIFACTS = 30063
export const NAMED_COMMUNITIES = 30064
export const BADGES = 30008 export const BADGES = 30008
export const BADGE_DEFINITION = 30009 export const BADGE_DEFINITION = 30009
export const STALL = 30017 export const STALL = 30017