@schematichq/schematic-react 1.1.1 → 1.2.0

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 +1 -1
  2. package/package.json +14 -13
package/README.md CHANGED
@@ -86,7 +86,7 @@ const MyComponent = () => {
86
86
  };
87
87
  ```
88
88
 
89
- ### Checking flags
89
+ ### Checking entitlements
90
90
 
91
91
  You can check entitlements (i.e., company access to a feature) using a flag check as well, and using the `useSchematicEntitlement` hook you can get additional data to render various feature states:
92
92
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schematichq/schematic-react",
3
- "version": "1.1.1",
3
+ "version": "1.2.0",
4
4
  "main": "dist/schematic-react.cjs.js",
5
5
  "module": "dist/schematic-react.esm.js",
6
6
  "types": "dist/schematic-react.d.ts",
@@ -28,27 +28,28 @@
28
28
  "tsc": "npx tsc"
29
29
  },
30
30
  "dependencies": {
31
- "@schematichq/schematic-js": "^1.1.0"
31
+ "@schematichq/schematic-js": "^1.1.2"
32
32
  },
33
33
  "devDependencies": {
34
- "@microsoft/api-extractor": "^7.47.9",
35
- "@types/jest": "^29.5.13",
36
- "@types/react": "^18.3.9",
37
- "@typescript-eslint/eslint-plugin": "^8.7.0",
38
- "@typescript-eslint/parser": "^8.7.0",
39
- "esbuild": "^0.24.0",
34
+ "@microsoft/api-extractor": "^7.49.2",
35
+ "@types/jest": "^29.5.14",
36
+ "@types/react": "^19.0.8",
37
+ "@typescript-eslint/eslint-plugin": "^8.23.0",
38
+ "@typescript-eslint/parser": "^8.23.0",
39
+ "esbuild": "^0.24.2",
40
40
  "esbuild-jest": "^0.5.0",
41
41
  "eslint": "^8.57.1",
42
- "eslint-plugin-import": "^2.30.0",
43
- "eslint-plugin-react-hooks": "^5.0.0",
42
+ "eslint-plugin-import": "^2.31.0",
43
+ "eslint-plugin-react": "^7.37.4",
44
+ "eslint-plugin-react-hooks": "^5.1.0",
44
45
  "jest": "^29.7.0",
45
46
  "jest-environment-jsdom": "^29.7.0",
46
47
  "jest-esbuild": "^0.3.0",
47
48
  "jest-fetch-mock": "^3.0.3",
48
- "prettier": "^3.3.3",
49
- "react": "^18.3.1",
49
+ "prettier": "^3.4.2",
50
+ "react": "^19.0.0",
50
51
  "ts-jest": "^29.2.5",
51
- "typescript": "^5.6.2"
52
+ "typescript": "^5.7.3"
52
53
  },
53
54
  "peerDependencies": {
54
55
  "react": ">=18"