nip55: remove getRelays()

This commit is contained in:
fiatjaf
2025-03-01 19:44:13 -03:00
parent 05eb62da5b
commit 0177b130c3
2 changed files with 0 additions and 24 deletions

View File

@@ -90,13 +90,6 @@ export function signEventUri({ eventJson, ...params }: EventUriParams): string {
})
}
/**
* @deprecated removed from NIP
*/
export function getRelaysUri(params: BaseParams & { id?: string; currentUser?: string }): string {
return buildDefaultUri('get_relays', params)
}
function encryptUri(type: 'nip44_encrypt' | 'nip04_encrypt', params: EncryptDecryptParams): string {
return buildDefaultUri(type, { ...params, plainText: params.content })
}