zustand-querystring 0.0.6 → 0.0.7

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.
package/lib/middleware.js CHANGED
@@ -73,7 +73,7 @@ const queryStringImpl = (fn, options) => (set, get, api) => {
73
73
  if (!toParse) {
74
74
  return fallback();
75
75
  }
76
- console.log('toParse', toParse);
76
+ // console.log('toParse', toParse);
77
77
  const parsed = parse(toParse);
78
78
  const currentValue = get() ?? fn(_set, get, api);
79
79
  const merged = mergeWith(currentValue, getSelectedState(parsed, pathname));
@@ -118,7 +118,7 @@ const queryStringImpl = (fn, options) => (set, get, api) => {
118
118
  .map(key => `${key}=${variables[key]}`)
119
119
  // join all pairs with &
120
120
  .join('&');
121
- console.log('newQueryString', newQueryString);
121
+ // console.log('newQueryString', newQueryString);
122
122
  window.history.replaceState(null, '', newQueryString ? `?${newQueryString}` : window.location.pathname);
123
123
  }
124
124
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zustand-querystring",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "keywords": [