Bump lib version
This commit is contained in:
Generated
+2
-2
@@ -3283,7 +3283,7 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@welshman/lib": "0.0.12",
|
"@welshman/lib": "0.0.12",
|
||||||
"@welshman/net": "0.0.15",
|
"@welshman/net": "0.0.16",
|
||||||
"@welshman/util": "0.0.23",
|
"@welshman/util": "0.0.23",
|
||||||
"nostr-tools": "^2.7.0"
|
"nostr-tools": "^2.7.0"
|
||||||
},
|
},
|
||||||
@@ -3332,7 +3332,7 @@
|
|||||||
},
|
},
|
||||||
"packages/net": {
|
"packages/net": {
|
||||||
"name": "@welshman/net",
|
"name": "@welshman/net",
|
||||||
"version": "0.0.15",
|
"version": "0.0.16",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@welshman/lib": "0.0.12",
|
"@welshman/lib": "0.0.12",
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@welshman/lib": "0.0.12",
|
"@welshman/lib": "0.0.12",
|
||||||
"@welshman/net": "0.0.15",
|
"@welshman/net": "0.0.16",
|
||||||
"@welshman/util": "0.0.23",
|
"@welshman/util": "0.0.23",
|
||||||
"nostr-tools": "^2.7.0"
|
"nostr-tools": "^2.7.0"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -350,6 +350,9 @@ export const pushToMapKey = <K, T>(m: Map<K, T[]>, k: K, v: T) => {
|
|||||||
m.set(k, a)
|
m.set(k, a)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export const switcher = <T>(k: string, m: Record<string, T>) =>
|
||||||
|
m[k] === undefined ? m.default : m[k]
|
||||||
|
|
||||||
// Random obscure stuff
|
// Random obscure stuff
|
||||||
|
|
||||||
export const hexToBech32 = (prefix: string, url: string) =>
|
export const hexToBech32 = (prefix: string, url: string) =>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@welshman/net",
|
"name": "@welshman/net",
|
||||||
"version": "0.0.15",
|
"version": "0.0.16",
|
||||||
"author": "hodlbod",
|
"author": "hodlbod",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"description": "Utilities for connecting with nostr relays.",
|
"description": "Utilities for connecting with nostr relays.",
|
||||||
|
|||||||
Reference in New Issue
Block a user