react-query-lightbase-codegen 3.1.5 → 3.1.6

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.
@@ -65,7 +65,7 @@ ${deprecatedComment}export const ${namedQueryOptions} = (
65
65
  ${destructuringLine}
66
66
  const enabled = ${enabledLogic};
67
67
  return queryOptions({
68
- queryKey: ['${(0, utils_1.camelCase)(operationId)}', ${queryKeyParams}],
68
+ queryKey: ['${(0, utils_1.camelCase)(operationId)}', ${queryKeyParams}, axiosConfig?.params],
69
69
  queryFn: enabled ? () => apiClient.${namedQuery}(${functionCall}) : skipToken,
70
70
  });
71
71
  };`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-query-lightbase-codegen",
3
- "version": "3.1.5",
3
+ "version": "3.1.6",
4
4
  "license": "MIT",
5
5
  "description": "Generate Axios API clients and React Query options from OpenAPI specifications",
6
6
  "exports": "./dist/index.js",
@@ -88,7 +88,7 @@ ${deprecatedComment}export const ${namedQueryOptions} = (
88
88
  ${destructuringLine}
89
89
  const enabled = ${enabledLogic};
90
90
  return queryOptions({
91
- queryKey: ['${camelCase(operationId)}', ${queryKeyParams}],
91
+ queryKey: ['${camelCase(operationId)}', ${queryKeyParams}, axiosConfig?.params],
92
92
  queryFn: enabled ? () => apiClient.${namedQuery}(${functionCall}) : skipToken,
93
93
  });
94
94
  };`;