Expose EventPublisher pubkey
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
a5ae907cf7
commit
a1409b6eaa
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user