mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-04-10 04:39:19 +02:00
Correct Nip-46 kind for nostr-connect
This commit is contained in:
parent
855692c1b4
commit
fa7f3b0952
@ -82,7 +82,7 @@ export class NostrConnectClient {
|
||||
this.sub.onEvent.subscribe((e) => this.handleEvent(e));
|
||||
this.sub.setQueryMap(
|
||||
createSimpleQueryMap(this.relays, {
|
||||
kinds: [kinds.NostrConnect, 24134],
|
||||
kinds: [kinds.NostrConnect, 24133],
|
||||
"#p": [this.publicKey],
|
||||
}),
|
||||
);
|
||||
@ -165,7 +165,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