From 07936d219a124e99bf4436348e271a9928e668c8 Mon Sep 17 00:00:00 2001 From: alpers Date: Fri, 24 Nov 2023 13:34:50 +0800 Subject: [PATCH 1/2] fix batch encrypt param --- packages/message/src/encrypt/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/message/src/encrypt/index.ts b/packages/message/src/encrypt/index.ts index 09391eb..20e26c3 100644 --- a/packages/message/src/encrypt/index.ts +++ b/packages/message/src/encrypt/index.ts @@ -100,7 +100,7 @@ export async function batchEncryptMessage( }; }); - const results = await sender.batchEncrypt(messages, sender.id, resolver); + const results = await sender.batchEncrypt(messages, undefined, resolver); return results.map((result, index) => { const ctype = getCtype('Send_issuedVC', data[index]); From 8ba3afcc5902fe564fa40a3fccd33bc183c04d7e Mon Sep 17 00:00:00 2001 From: alpers Date: Fri, 24 Nov 2023 13:35:58 +0800 Subject: [PATCH 2/2] add changeset --- .changeset/strong-avocados-prove.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/strong-avocados-prove.md diff --git a/.changeset/strong-avocados-prove.md b/.changeset/strong-avocados-prove.md new file mode 100644 index 0000000..f33488d --- /dev/null +++ b/.changeset/strong-avocados-prove.md @@ -0,0 +1,5 @@ +--- +"@zcloak/message": patch +--- + +fix batch encrypt param