From 6ec836dac57bfab5e096e3cde7aa16c46decbfc7 Mon Sep 17 00:00:00 2001 From: Sylvain Lesage Date: Fri, 8 Nov 2024 22:22:30 +0100 Subject: [PATCH] pass requestInit to fetch utils (#34) * pass requestInit to fetch utils It will allow authentication * add tests --- demo/bundle.min.js | 2 +- demo/bundle.min.js.map | 2 +- demo/workers/parquetWorkerClient.ts | 2 +- demo/workers/worker.min.js | 2 +- demo/workers/worker.min.js.map | 2 +- src/utils.js | 20 ++++--- test/utils.test.js | 83 +++++++++++++++++++++++++++-- 7 files changed, 95 insertions(+), 18 deletions(-) diff --git a/demo/bundle.min.js b/demo/bundle.min.js index f43cfdd..3911e66 100644 --- a/demo/bundle.min.js +++ b/demo/bundle.min.js @@ -7,5 +7,5 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */function _(){if(c)return v;c=1;var e=i(),t=w();function n(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n