@clipboard-health/ai-rules 2.5.3 → 2.5.5

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@clipboard-health/ai-rules",
3
3
  "description": "Pre-built AI agent rules for consistent coding standards.",
4
- "version": "2.5.3",
4
+ "version": "2.5.5",
5
5
  "bugs": "https://github.com/ClipboardHealth/core-utils/issues",
6
6
  "keywords": [
7
7
  "ai",
@@ -36,7 +36,7 @@ export function useGetFeature(id: string, options = {}) {
36
36
 
37
37
  - Log errors via `meta.logErrorMessage` using centralized event constants
38
38
  - Display user-facing errors via `meta.userErrorMessage`
39
- - Do not use the deprecated `onError` callback; for mutations, use the `meta` pattern (same as queries) to handle errors
39
+ - Do not use the deprecated `onError` callback for useQuery queries , use the `meta` pattern to handle errors. This rule doesn't apply to useMutation, using onError for useMutation is a valid pattern
40
40
 
41
41
  ## Query Keys
42
42