feat: expose signer via UserState

This commit is contained in:
2024-11-25 12:30:04 +00:00
parent f081405e3c
commit 6eafdc1367
4 changed files with 9 additions and 5 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@snort/system",
"version": "1.5.6",
"version": "1.5.7",
"description": "Snort nostr system package",
"type": "module",
"main": "dist/index.js",

View File

@ -137,6 +137,10 @@ export class UserState<TAppData> extends EventEmitter<UserStateEvents> {
}
}
get signer() {
return this.#signer;
}
get version() {
return this.#version;
}