bump version

This commit is contained in:
Jon Staab
2026-01-16 10:50:23 -08:00
parent 1947522620
commit 481a1fc5b7
14 changed files with 20 additions and 22 deletions
+1 -10
View File
@@ -113,16 +113,7 @@ export const updateSession = (pubkey: string, f: (session: Session) => Session)
putSession(f(getSession(pubkey)))
export const dropSession = (_pubkey: string) => {
const $signer = getSigner.pop(getSession(_pubkey))
if ($signer instanceof Nip46Signer) {
$signer.broker.cleanup()
}
if ($signer instanceof PomadeSigner) {
$signer.client.rpc.stop()
}
getSigner.pop(getSession(_pubkey))?.cleanup()
pubkey.update($pubkey => ($pubkey === _pubkey ? undefined : $pubkey))
sessions.update($sessions => omit([_pubkey], $sessions))
}