Cache all the things

This commit is contained in:
2023-09-05 14:57:50 +01:00
parent 5521f685fc
commit b1459d0f49
49 changed files with 805 additions and 243 deletions

View File

@ -63,6 +63,10 @@ export class Nip46Signer implements EventSigner {
this.#insideSigner = insideSigner ?? new PrivateKeySigner(secp256k1.utils.randomPrivateKey());
}
get supports(): string[] {
return ["nip04"]
}
get relays() {
return [this.#relay];
}