From 737cc10af715612c556f48f83c839e855bdcc639 Mon Sep 17 00:00:00 2001 From: tsukino <87639218+0xtsukino@users.noreply.github.com> Date: Thu, 22 Aug 2024 04:36:24 -0400 Subject: [PATCH] fix: add default empty array for secret values (#86) --- src/entries/Offscreen/Offscreen.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/entries/Offscreen/Offscreen.tsx b/src/entries/Offscreen/Offscreen.tsx index 1d92c1c9..2a0b7c51 100644 --- a/src/entries/Offscreen/Offscreen.tsx +++ b/src/entries/Offscreen/Offscreen.tsx @@ -205,8 +205,8 @@ async function createProof(options: { notaryUrl, websocketProxyUrl, id, - secretHeaders, - secretResps, + secretHeaders = [], + secretResps = [], } = options; const hostname = urlify(url)?.hostname || '';