Expose EventPublisher pubkey

This commit is contained in:
Kieran 2023-06-21 15:02:31 +01:00
parent a5ae907cf7
commit a1409b6eaa
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941
2 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@snort/system",
"version": "1.0.7",
"version": "1.0.8",
"description": "Snort nostr system package",
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -52,6 +52,10 @@ export class EventPublisher {
}
}
get pubKey() {
return this.#pubKey;
}
get #hasNip07() {
return "nostr" in window;
}