@netvlies/utility-collection
Advanced tools
Comparing version
@@ -5,2 +5,21 @@ 'use strict'; | ||
function _interopNamespaceDefault(e) { | ||
const n = Object.create(null); | ||
if (e) { | ||
for (const k in e) { | ||
if (k !== 'default') { | ||
const d = Object.getOwnPropertyDescriptor(e, k); | ||
Object.defineProperty(n, k, d.get ? d : { | ||
enumerable: true, | ||
get: function () { return e[k]; } | ||
}); | ||
} | ||
} | ||
} | ||
n.default = e; | ||
return Object.freeze(n); | ||
} | ||
const qs__namespace = /*#__PURE__*/_interopNamespaceDefault(qs); | ||
const BUNDLE_NAME = 'NVS Utility Collection'; | ||
@@ -61,3 +80,3 @@ | ||
setQueryParams(query) { | ||
this.url = `${this.url}?${qs.stringify(query)}`; | ||
this.url = `${this.url}?${qs__namespace.stringify(query)}`; | ||
return this; | ||
@@ -64,0 +83,0 @@ } |
@@ -1,2 +0,2 @@ | ||
import qs from 'qs'; | ||
import * as qs from 'qs'; | ||
@@ -3,0 +3,0 @@ const BUNDLE_NAME = 'NVS Utility Collection'; |
{ | ||
"name": "@netvlies/utility-collection", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Collection of frequently used utilities by Netvlies", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.cjs.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
24533
2.43%253
7.2%