rest-on-couch-client
Advanced tools
Comparing version 3.3.3 to 3.3.4
# Changelog | ||
### [3.3.4](https://www.github.com/cheminfo/rest-on-couch-client/compare/v3.3.3...v3.3.4) (2021-11-17) | ||
### Bug Fixes | ||
* do not send params to rest-on-couch when they are set to undefined ([4d411e2](https://www.github.com/cheminfo/rest-on-couch-client/commit/4d411e2b62a98dcb5d91f8e9b3a74ead5ea3c8a3)) | ||
### [3.3.3](https://www.github.com/cheminfo/rest-on-couch-client/compare/v3.3.2...v3.3.3) (2021-11-15) | ||
@@ -4,0 +11,0 @@ |
@@ -15,3 +15,3 @@ import axios from 'axios'; | ||
const searchParams = new URLSearchParams(); | ||
const keys = Object.keys(params); | ||
const keys = Object.keys(params).filter((key) => params[key] !== undefined); | ||
for (const key of keys) { | ||
@@ -18,0 +18,0 @@ if (keysToProcess.includes(key)) { |
@@ -17,3 +17,3 @@ "use strict"; | ||
const searchParams = new URLSearchParams(); | ||
const keys = Object.keys(params); | ||
const keys = Object.keys(params).filter((key) => params[key] !== undefined); | ||
for (const key of keys) { | ||
@@ -20,0 +20,0 @@ if (keysToProcess.includes(key)) { |
{ | ||
"name": "rest-on-couch-client", | ||
"version": "3.3.3", | ||
"version": "3.3.4", | ||
"description": "A nodejs / browser client for rest-on-couch backend", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
227621