From 3104c93cece2104457d672aef59da2327659de4b Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 13 Aug 2026 23:22:17 -0700 Subject: Answering while closed becomes the default: a new connection asks once, and anywhere permission is already granted it arms itself — only an explicit Off is honored forever MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_014tE4U5nEjGTQy8PwYqamfv --- tools/nwc-test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/nwc-test.js') diff --git a/tools/nwc-test.js b/tools/nwc-test.js index d1d0cbc..379df6c 100644 --- a/tools/nwc-test.js +++ b/tools/nwc-test.js @@ -3,8 +3,8 @@ // encrypted 23194 // requests in, encrypted 23195 responses out, both nip04 and nip44. import { hex } from '@scure/base'; -import { nwcFeature } from '/home/adam/halwallet/src/features/nwc.js'; -import { nip04, nip44, getPublicKey, finalizeEvent, generateSecretKey } from '/home/adam/halwallet/src/nostr.js'; +import { nwcFeature } from '../src/features/nwc.js'; +import { nip04, nip44, getPublicKey, finalizeEvent, generateSecretKey } from '../src/nostr.js'; let ok = true; const check = (n, c, d='') => { console.log(` ${c?'✓':'✗'} ${n}${d?' — '+d:''}`); if(!c) ok=false; }; -- cgit v1.2.3