@openclaw/nostr 2026.3.7 → 2026.3.8-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 2026.3.8-beta.1
4
+
5
+ ### Changes
6
+
7
+ - Version alignment with core OpenClaw release numbers.
8
+
9
+ ## 2026.3.8
10
+
11
+ ### Changes
12
+
13
+ - Version alignment with core OpenClaw release numbers.
14
+
3
15
  ## 2026.3.7
4
16
 
5
17
  ### Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/nostr",
3
- "version": "2026.3.7",
3
+ "version": "2026.3.8-beta.1",
4
4
  "description": "OpenClaw Nostr channel plugin for NIP-04 encrypted DMs",
5
5
  "type": "module",
6
6
  "dependencies": {
@@ -25,6 +25,11 @@
25
25
  "npmSpec": "@openclaw/nostr",
26
26
  "localPath": "extensions/nostr",
27
27
  "defaultChoice": "npm"
28
+ },
29
+ "releaseChecks": {
30
+ "rootDependencyMirrorAllowlist": [
31
+ "nostr-tools"
32
+ ]
28
33
  }
29
34
  }
30
35
  }
package/src/runtime.ts CHANGED
@@ -1,14 +1,6 @@
1
+ import { createPluginRuntimeStore } from "openclaw/plugin-sdk/compat";
1
2
  import type { PluginRuntime } from "openclaw/plugin-sdk/nostr";
2
3
 
3
- let runtime: PluginRuntime | null = null;
4
-
5
- export function setNostrRuntime(next: PluginRuntime): void {
6
- runtime = next;
7
- }
8
-
9
- export function getNostrRuntime(): PluginRuntime {
10
- if (!runtime) {
11
- throw new Error("Nostr runtime not initialized");
12
- }
13
- return runtime;
14
- }
4
+ const { setRuntime: setNostrRuntime, getRuntime: getNostrRuntime } =
5
+ createPluginRuntimeStore<PluginRuntime>("Nostr runtime not initialized");
6
+ export { getNostrRuntime, setNostrRuntime };