+3
packages/consumer/mod.ts
+3
packages/consumer/mod.ts
···
122
122
123
123
for (const record of res.data.records) {
124
124
const item = parse(AppCisternLexiconItem.mainSchema, record.value);
125
+
126
+
if (item.pubkey !== this.keypair.publicKey) continue;
127
+
125
128
const decrypted = decryptText(this.keypair.privateKey, {
126
129
nonce: item.nonce,
127
130
cipherText: item.ciphertext,