mhz-helpers 1.0.11 → 1.0.13

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 +5 -7
  2. package/package.json +15 -10
package/dist/index.js CHANGED
@@ -30,7 +30,7 @@ function Vi(r) {
30
30
  };
31
31
  }
32
32
  return B(
33
- () => n.value,
33
+ () => [n.value.page, n.value.sort.value, n.value.sort.isAsc],
34
34
  () => {
35
35
  e.push({
36
36
  path: t.path,
@@ -40,8 +40,7 @@ function Vi(r) {
40
40
  dir: n.value.sort.isAsc ? "asc" : "desc"
41
41
  }
42
42
  });
43
- },
44
- { deep: !0 }
43
+ }
45
44
  ), { query: n, resetQuery: s, setQueryPage: i, setQueryFilter: o };
46
45
  }
47
46
  function Ki() {
@@ -2977,7 +2976,8 @@ class ti extends Tr {
2977
2976
  case "error":
2978
2977
  const o = e.error;
2979
2978
  return Se(o) && o.revert && this.revertState ? {
2980
- ...this.revertState
2979
+ ...this.revertState,
2980
+ fetchStatus: "idle"
2981
2981
  } : {
2982
2982
  ...n,
2983
2983
  error: o,
@@ -4955,9 +4955,7 @@ function Mi(r, e, t = {}, n = {}) {
4955
4955
  g.isStale ? (p(), u.fetchOptimistic(a.value).then(m, v)) : (p(), m(g));
4956
4956
  }
4957
4957
  };
4958
- h(), p = B(a, h, {
4959
- deep: !0
4960
- });
4958
+ h(), p = B(a, h);
4961
4959
  });
4962
4960
  return B(() => c.error, (m) => {
4963
4961
  if (c.isError && !c.isFetching && Ir(a.value.useErrorBoundary, [m, u.getCurrentQuery()]))
package/package.json CHANGED
@@ -1,22 +1,27 @@
1
1
  {
2
2
  "name": "mhz-helpers",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
4
4
  "description": "mhz-helpers",
5
5
  "author": "dergunov.com",
6
6
  "type": "module",
7
7
  "sideEffects": false,
8
- "main": "./dist/index.js",
9
- "types": "./dist/index.d.ts",
8
+ "main": "dist/index.js",
9
+ "types": "dist/index.d.ts",
10
10
  "files": [
11
- "dist"
11
+ "dist/*"
12
12
  ],
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "git+https://github.com/dergunovs/mhz",
16
+ "directory": "packages/helpers"
17
+ },
13
18
  "scripts": {
14
19
  "build": "vite build",
15
20
  "lint": "eslint src/index.ts",
16
21
  "ts": "vue-tsc --noEmit"
17
22
  },
18
23
  "dependencies": {
19
- "@tanstack/vue-query": "4.35.2",
24
+ "@tanstack/vue-query": "4.35.3",
20
25
  "@vueuse/core": "10.4.1",
21
26
  "@vueuse/integrations": "10.4.1",
22
27
  "async-validator": "4.2.5",
@@ -25,9 +30,9 @@
25
30
  "vue-router": "4.2.4"
26
31
  },
27
32
  "devDependencies": {
28
- "@types/node": "20.6.0",
29
- "@typescript-eslint/eslint-plugin": "6.6.0",
30
- "@typescript-eslint/parser": "6.6.0",
33
+ "@types/node": "20.6.2",
34
+ "@typescript-eslint/eslint-plugin": "6.7.0",
35
+ "@typescript-eslint/parser": "6.7.0",
31
36
  "@vitejs/plugin-vue": "4.3.4",
32
37
  "eslint": "8.49.0",
33
38
  "eslint-config-prettier": "9.0.0",
@@ -45,8 +50,8 @@
45
50
  "typescript": "5.2.2",
46
51
  "vite": "4.4.9",
47
52
  "vite-plugin-dts": "3.5.3",
48
- "vue-linters-config": "0.1.10",
49
- "vue-tsc": "1.8.10"
53
+ "vue-linters-config": "0.1.11",
54
+ "vue-tsc": "1.8.11"
50
55
  },
51
56
  "peerDependencies": {
52
57
  "vue": "3.3.4",