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