Expose EventPublisher pubkey
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@snort/system",
|
"name": "@snort/system",
|
||||||
"version": "1.0.7",
|
"version": "1.0.8",
|
||||||
"description": "Snort nostr system package",
|
"description": "Snort nostr system package",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
|
@ -52,6 +52,10 @@ export class EventPublisher {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get pubKey() {
|
||||||
|
return this.#pubKey;
|
||||||
|
}
|
||||||
|
|
||||||
get #hasNip07() {
|
get #hasNip07() {
|
||||||
return "nostr" in window;
|
return "nostr" in window;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user