@hapaul/api 0.1.33 → 0.1.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -114,7 +114,7 @@ function mergeHeaders(...allHeaders) {
114
114
  function defaultQuerySerializer(query) {
115
115
  let str = "";
116
116
  Object.entries(query).forEach(([key, val]) => {
117
- if (Array.isArray(val)) str += `${key}[]=${val}`;
117
+ if (Array.isArray(val)) str += `${key}=${val}`;
118
118
  else if (isObject(val)) str += `${key}=${JSON.stringify(val)}`;
119
119
  else str += `${key}=${val}`;
120
120
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hapaul/api",
3
- "version": "0.1.33",
3
+ "version": "0.1.34",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [