From 7b013a3c5a6c2a1d07b3e5ade9b0455163428df7 Mon Sep 17 00:00:00 2001 From: Javad Mnjd Date: Tue, 9 Feb 2021 09:55:43 +0330 Subject: [PATCH] allow qs value to be undefined --- CHANGELOG.md | 4 ++++ README.md | 2 +- extended_request_init.ts | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f6ae20..de619a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Changelog +# v1.3.2 + +- allow qs value to be undefined + # v1.3.1 - only add qs if value not undefined diff --git a/README.md b/README.md index dfb21c5..21f05aa 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Also adds `Accept` header with value `application/json, text/plain, */*` if not you can import `wrapFetch` from `mod.ts` file. ```js -export { wrapFetch } from 'https://deno.land/x/fetch_goody@v1.3.1/mod.ts'; +export { wrapFetch } from 'https://deno.land/x/fetch_goody@v1.3.2/mod.ts'; ``` ### wrapFetch diff --git a/extended_request_init.ts b/extended_request_init.ts index 478f157..d1c13ab 100644 --- a/extended_request_init.ts +++ b/extended_request_init.ts @@ -1,5 +1,5 @@ interface RequestInitDiff { - qs?: Record; + qs?: Record; form?: Record; body?: Record | BodyInit | null; }