@kubb/plugin-vue-query 3.13.0 → 3.13.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/plugin-vue-query",
3
- "version": "3.13.0",
3
+ "version": "3.13.1",
4
4
  "description": "Generator vue-query hooks",
5
5
  "keywords": [
6
6
  "faker",
@@ -63,21 +63,21 @@
63
63
  ],
64
64
  "dependencies": {
65
65
  "remeda": "^2.23.2",
66
- "@kubb/oas": "3.13.0",
67
- "@kubb/plugin-client": "3.13.0",
68
- "@kubb/plugin-ts": "3.13.0",
69
- "@kubb/plugin-oas": "3.13.0",
70
- "@kubb/plugin-zod": "3.13.0",
71
- "@kubb/core": "3.13.0",
72
- "@kubb/react": "3.13.0"
66
+ "@kubb/plugin-client": "3.13.1",
67
+ "@kubb/plugin-oas": "3.13.1",
68
+ "@kubb/plugin-ts": "3.13.1",
69
+ "@kubb/plugin-zod": "3.13.1",
70
+ "@kubb/react": "3.13.1",
71
+ "@kubb/core": "3.13.1",
72
+ "@kubb/oas": "3.13.1"
73
73
  },
74
74
  "devDependencies": {
75
75
  "@types/react": "^18.3.23",
76
76
  "react": "^18.3.1",
77
77
  "tsup": "^8.5.0",
78
78
  "typescript": "^5.8.3",
79
- "@kubb/config-ts": "3.13.0",
80
- "@kubb/config-tsup": "3.13.0"
79
+ "@kubb/config-ts": "3.13.1",
80
+ "@kubb/config-tsup": "3.13.1"
81
81
  },
82
82
  "peerDependencies": {
83
83
  "@kubb/react": "^3.0.0"
@@ -24,11 +24,12 @@ export async function updatePetWithForm(
24
24
  ) {
25
25
  const { client: request = client, ...requestConfig } = config
26
26
 
27
+ const requestData = updatePetWithFormMutationRequest.parse(data)
27
28
  const res = await request<UpdatePetWithFormMutationResponse, ResponseErrorConfig<UpdatePetWithForm405>, UpdatePetWithFormMutationRequest>({
28
29
  method: 'POST',
29
30
  url: `/pet/${petId}`,
30
31
  params,
31
- data: updatePetWithFormMutationRequest.parse(data),
32
+ data: requestData,
32
33
  ...requestConfig,
33
34
  })
34
35
  return updatePetWithFormMutationResponse.parse(res.data)
@@ -29,11 +29,12 @@ export async function updatePetWithForm(
29
29
  ) {
30
30
  const { client: request = client, ...requestConfig } = config
31
31
 
32
+ const requestData = updatePetWithFormMutationRequest.parse(data)
32
33
  const res = await request<UpdatePetWithFormMutationResponse, ResponseErrorConfig<UpdatePetWithForm405>, UpdatePetWithFormMutationRequest>({
33
34
  method: 'POST',
34
35
  url: `/pet/${petId}`,
35
36
  params,
36
- data: updatePetWithFormMutationRequest.parse(data),
37
+ data: requestData,
37
38
  ...requestConfig,
38
39
  })
39
40
  return updatePetWithFormMutationResponse.parse(res.data)
@@ -24,11 +24,12 @@ export async function updatePetWithForm(
24
24
  ) {
25
25
  const { client: request = client, ...requestConfig } = config
26
26
 
27
+ const requestData = updatePetWithFormMutationRequest.parse(data)
27
28
  const res = await request<UpdatePetWithFormMutationResponse, ResponseErrorConfig<UpdatePetWithForm405>, UpdatePetWithFormMutationRequest>({
28
29
  method: 'POST',
29
30
  url: `/pet/${petId}`,
30
31
  params,
31
- data: updatePetWithFormMutationRequest.parse(data),
32
+ data: requestData,
32
33
  ...requestConfig,
33
34
  })
34
35
  return updatePetWithFormMutationResponse.parse(res.data)
@@ -24,11 +24,12 @@ export async function updatePetWithForm(
24
24
  ) {
25
25
  const { client: request = client, ...requestConfig } = config
26
26
 
27
+ const requestData = updatePetWithFormMutationRequest.parse(data)
27
28
  const res = await request<UpdatePetWithFormMutationResponse, ResponseErrorConfig<UpdatePetWithForm405>, UpdatePetWithFormMutationRequest>({
28
29
  method: 'POST',
29
30
  url: `/pet/${petId}`,
30
31
  params,
31
- data: updatePetWithFormMutationRequest.parse(data),
32
+ data: requestData,
32
33
  ...requestConfig,
33
34
  })
34
35
  return updatePetWithFormMutationResponse.parse(res.data)