mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-04-10 04:39:19 +02:00
Merge pull request #181 from vazw/master
Correct Nip-46 kind for nostr-connect
This commit is contained in:
commit
e4c96851a5
@ -87,7 +87,7 @@ export class NostrConnectClient {
|
||||
this.sub.setRelays(this.relays);
|
||||
this.sub.setFilters([
|
||||
{
|
||||
kinds: [kinds.NostrConnect, 24134],
|
||||
kinds: [kinds.NostrConnect],
|
||||
"#p": [this.publicKey],
|
||||
},
|
||||
]);
|
||||
@ -189,7 +189,7 @@ export class NostrConnectClient {
|
||||
private async makeAdminRequest<T extends NostrConnectMethod>(
|
||||
method: T,
|
||||
params: RequestParams[T],
|
||||
kind = 24134,
|
||||
kind = 24133,
|
||||
): Promise<ResponseResults[T]> {
|
||||
if (!this.provider) throw new Error("Missing provider");
|
||||
const id = nanoid(8);
|
||||
|
Loading…
x
Reference in New Issue
Block a user