From 72e309f643670232bbe4a8211bbe2c8e3123ab0e Mon Sep 17 00:00:00 2001 From: Graham Barber Date: Sun, 9 Nov 2025 15:52:32 -0800 Subject: [PATCH] fix(consumer): only list items for the current keypair --- packages/consumer/mod.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/consumer/mod.ts b/packages/consumer/mod.ts index 2c19242..26de50c 100644 --- a/packages/consumer/mod.ts +++ b/packages/consumer/mod.ts @@ -122,6 +122,9 @@ export class Consumer { for (const record of res.data.records) { const item = parse(AppCisternLexiconItem.mainSchema, record.value); + + if (item.pubkey !== this.keypair.publicKey) continue; + const decrypted = decryptText(this.keypair.privateKey, { nonce: item.nonce, cipherText: item.ciphertext, -- 2.51.2