Bump lib version

This commit is contained in:
Jon Staab
2024-08-06 11:57:20 -07:00
parent a10b322157
commit 3404a471bb
4 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -32,7 +32,7 @@
},
"dependencies": {
"@welshman/lib": "0.0.12",
"@welshman/net": "0.0.15",
"@welshman/net": "0.0.16",
"@welshman/util": "0.0.23",
"nostr-tools": "^2.7.0"
}
+3
View File
@@ -350,6 +350,9 @@ export const pushToMapKey = <K, T>(m: Map<K, T[]>, k: K, v: T) => {
m.set(k, a)
}
export const switcher = <T>(k: string, m: Record<string, T>) =>
m[k] === undefined ? m.default : m[k]
// Random obscure stuff
export const hexToBech32 = (prefix: string, url: string) =>
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@welshman/net",
"version": "0.0.15",
"version": "0.0.16",
"author": "hodlbod",
"license": "MIT",
"description": "Utilities for connecting with nostr relays.",