mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-09 16:48:50 +00:00
nip96: type fix.
This commit is contained in:
2
nip96.ts
2
nip96.ts
@@ -242,7 +242,7 @@ export async function readServerConfig(serverUrl: string): Promise<ServerConfigu
|
|||||||
throw new Error(`Error fetching ${fetchUrl}: ${response.statusText}`)
|
throw new Error(`Error fetching ${fetchUrl}: ${response.statusText}`)
|
||||||
}
|
}
|
||||||
|
|
||||||
const data = await response.json()
|
const data: any = await response.json()
|
||||||
|
|
||||||
if (!data) {
|
if (!data) {
|
||||||
throw new Error('No data')
|
throw new Error('No data')
|
||||||
|
|||||||
@@ -220,6 +220,6 @@
|
|||||||
"typescript": "^5.0.4"
|
"typescript": "^5.0.4"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublish": "just build && just emit-types"
|
"prepublish": "just build"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user