@figma-vars/hooks 3.1.0 → 3.1.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/README.md +5 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -18,7 +18,7 @@ Built for the modern web, this library provides a suite of hooks to fetch, manag
18
18
  ![GitHub last commit](https://img.shields.io/github/last-commit/marklearst/figma-vars-hooks)
19
19
  ![GitHub code size](https://img.shields.io/github/languages/code-size/marklearst/figma-vars-hooks)
20
20
 
21
- ## 📌 Why 3.0
21
+ ## 📌 Why 3.1.1
22
22
 
23
23
  - ✨ **New DX Features**: SWR configuration support, error handling utilities, cache invalidation helpers
24
24
  - 🔧 **React 19.2 Ready**: Optimized hooks with proper cleanup and stable function references
@@ -301,7 +301,7 @@ if (isLocalVariablesResponse(data)) {
301
301
 
302
302
  ### Error Utilities
303
303
 
304
- 3.0.0 introduces powerful error handling utilities for type-safe error checking:
304
+ v3 introduces powerful error handling utilities for type-safe error checking:
305
305
 
306
306
  ```tsx
307
307
  import { isFigmaApiError, getErrorStatus, getErrorMessage, hasErrorStatus } from '@figma-vars/hooks'
@@ -511,11 +511,11 @@ export function Providers({ children }: { children: React.ReactNode }) {
511
511
  - `pnpm run build`, `pnpm test`, `pnpm run test:coverage`
512
512
  - `pnpm run check:publint`, `pnpm run check:attw`, `pnpm run check:size`
513
513
 
514
- ## 🧭 Release Checklist (for 3.0.0)
514
+ ## 🧭 Release Checklist (for 3.1.0)
515
515
 
516
516
  - Run `pnpm run check:release`
517
- - Tag `v3.0.0` (CI publishes to npm)
518
- - Update dist-tags on npm if needed (`latest` → 3.0.0)
517
+ - Tag `v3.1.0` (CI publishes to npm)
518
+ - Update dist-tags on npm if needed (`latest` → 3.1.0)
519
519
 
520
520
  ---
521
521
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@figma-vars/hooks",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "description": "Typed React hooks for managing Figma Variables, modes, tokens, and bindings via API.",
5
5
  "author": "Mark Learst",
6
6
  "license": "MIT",