define-zustand 4.0.0 → 4.0.1

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/define.js +1 -1
  2. package/package.json +1 -1
package/dist/define.js CHANGED
@@ -47,7 +47,7 @@ function defineQuery(options) {
47
47
  }
48
48
  async function refetch(params) {
49
49
  const state = getState();
50
- await options.queryFn({
50
+ await fetchData({
51
51
  ...state.params,
52
52
  ...params
53
53
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "define-zustand",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",