diff --git a/packages/system/package.json b/packages/system/package.json index 5b6b4ed6..23c11a0f 100644 --- a/packages/system/package.json +++ b/packages/system/package.json @@ -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", diff --git a/packages/system/src/EventPublisher.ts b/packages/system/src/EventPublisher.ts index 5d0d9fa8..dfd3ad07 100644 --- a/packages/system/src/EventPublisher.ts +++ b/packages/system/src/EventPublisher.ts @@ -52,6 +52,10 @@ export class EventPublisher { } } + get pubKey() { + return this.#pubKey; + } + get #hasNip07() { return "nostr" in window; }