@openclaw/nostr 2026.10.5 → 2026.10.7

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.
@@ -1207,8 +1207,10 @@ const nostrPairingTextAdapter = {
1207
1207
  }
1208
1208
  },
1209
1209
  notify: async ({ cfg, id, message, accountId }) => {
1210
- const bus = activeBuses.get(accountId ?? resolveDefaultNostrAccountId(cfg));
1211
- if (bus) await bus.sendDm(id, message);
1210
+ const aid = accountId ?? resolveDefaultNostrAccountId(cfg);
1211
+ const bus = activeBuses.get(aid);
1212
+ if (!bus) throw new Error(`Nostr bus not running for account ${aid}`);
1213
+ await bus.sendDm(id, message);
1212
1214
  }
1213
1215
  };
1214
1216
  const nostrOutboundAdapter = {
package/dist/api.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { s as resolveNostrAccount } from "./.setup/setup-surface-BAq4Fs6P.mjs";
2
2
  import { getPluginRuntimeGatewayRequestScope } from "./runtime-api.js";
3
3
  import { n as NostrProfileSchema } from "./.setup/config-schema-CkZgmIVF.mjs";
4
- import { a as getNostrRuntime, i as contentToProfile, n as nostrPlugin, o as setNostrRuntime, r as publishNostrProfile, t as getNostrProfileState } from "./.setup/channel-B_rRGVN_.mjs";
4
+ import { a as getNostrRuntime, i as contentToProfile, n as nostrPlugin, o as setNostrRuntime, r as publishNostrProfile, t as getNostrProfileState } from "./.setup/channel-okqFzt1Z.mjs";
5
5
  import { getPluginRuntimeGatewayRequestScope as getPluginRuntimeGatewayRequestScope$1 } from "openclaw/plugin-sdk/plugin-runtime";
6
6
  import { isRecord, normalizeLowercaseStringOrEmpty, normalizeOptionalLowercaseString } from "openclaw/plugin-sdk/string-coerce-runtime";
7
7
  import { z } from "zod";
@@ -1 +1 @@
1
- export { n as nostrPlugin } from "./.setup/channel-B_rRGVN_.mjs";
1
+ export { n as nostrPlugin } from "./.setup/channel-okqFzt1Z.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/nostr",
3
- "version": "2026.10.5",
3
+ "version": "2026.10.7",
4
4
  "description": "OpenClaw Nostr channel plugin for NIP-04 encrypted direct messages.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -12,7 +12,7 @@
12
12
  "zod": "4.6.5"
13
13
  },
14
14
  "peerDependencies": {
15
- "openclaw": ">=2026.10.5"
15
+ "openclaw": ">=2026.10.7"
16
16
  },
17
17
  "peerDependenciesMeta": {
18
18
  "openclaw": {
@@ -80,10 +80,10 @@
80
80
  "minHostVersion": ">=2026.4.10"
81
81
  },
82
82
  "compat": {
83
- "pluginApi": ">=2026.10.5"
83
+ "pluginApi": ">=2026.10.7"
84
84
  },
85
85
  "build": {
86
- "openclawVersion": "2026.10.5"
86
+ "openclawVersion": "2026.10.7"
87
87
  },
88
88
  "release": {
89
89
  "publishToClawHub": true,