2020117-agent 0.4.0 → 0.4.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.
Files changed (2) hide show
  1. package/dist/agent.js +2 -1
  2. package/package.json +1 -1
package/dist/agent.js CHANGED
@@ -357,7 +357,8 @@ function subscribeNipXX(label) {
357
357
  function subscribeDvmRequests(label) {
358
358
  if (!state.sovereignKeys || !state.relayPool)
359
359
  return;
360
- state.relayPool.subscribe({ kinds: [KIND], '#p': [state.sovereignKeys.pubkey] }, (event) => {
360
+ // Subscribe to all DVM requests of our kind (broadcast + directed)
361
+ state.relayPool.subscribe({ kinds: [KIND] }, (event) => {
361
362
  handleDvmRequest(label, event).catch(e => {
362
363
  console.error(`[${label}] DVM request error: ${e.message}`);
363
364
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "2020117-agent",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "2020117 agent runtime — API polling + Hyperswarm P2P + Sovereign Nostr mode + Cashu/Lightning payments",
5
5
  "type": "module",
6
6
  "bin": {