mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-13 10:28:51 +00:00
nip55: remove getRelays()
This commit is contained in:
7
nip55.ts
7
nip55.ts
@@ -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 })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user