From a0374566a5c69d87e5a156f5fabecf5b9b45d6f9 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 18 Aug 2026 12:06:04 -0700 Subject: A message sends the instant you let go of it: the rumor hashes synchronously onto the screen as a dimmed bubble, crypto and relays catch up in the background, and one small tick marks the moment a relay takes it Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_012u4oe1KPx9faCsDBLfZYqi --- src/concord.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/concord.js') diff --git a/src/concord.js b/src/concord.js index 09e4f72..9f6803d 100644 --- a/src/concord.js +++ b/src/concord.js @@ -82,7 +82,7 @@ export const banlistEid = (cid) => bytesToHex(hkdf32(hexToBytes(cid), "concord/b // ---- CORD-01 envelope ---- // wrap(1059, signed by stream key) > seal(20013 encrypted | 20014 plaintext, author-signed) > rumor -const rumorWithId = (rumor) => ({ ...rumor, id: getEventHash({ ...rumor, tags: rumor.tags || [] }) }); +export const rumorWithId = (rumor) => ({ ...rumor, id: getEventHash({ ...rumor, tags: rumor.tags || [] }) }); // Sign a seal around a rumor. `signer` is a raw secret key (Uint8Array) or a // { signEvent } adapter (nostr-login extension/bunker). Plaintext seals -- cgit v1.2.3