@schematichq/schematic-react 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/package.json +14 -13
package/README.md
CHANGED
@@ -86,7 +86,7 @@ const MyComponent = () => {
|
|
86
86
|
};
|
87
87
|
```
|
88
88
|
|
89
|
-
### Checking
|
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.
|
3
|
+
"version": "1.1.2",
|
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.
|
31
|
+
"@schematichq/schematic-js": "^1.1.2"
|
32
32
|
},
|
33
33
|
"devDependencies": {
|
34
|
-
"@microsoft/api-extractor": "^7.
|
35
|
-
"@types/jest": "^29.5.
|
36
|
-
"@types/react": "^
|
37
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
38
|
-
"@typescript-eslint/parser": "^8.
|
39
|
-
"esbuild": "^0.24.
|
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.
|
43
|
-
"eslint-plugin-react
|
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.
|
49
|
-
"react": "^
|
49
|
+
"prettier": "^3.4.2",
|
50
|
+
"react": "^19.0.0",
|
50
51
|
"ts-jest": "^29.2.5",
|
51
|
-
"typescript": "^5.
|
52
|
+
"typescript": "^5.7.3"
|
52
53
|
},
|
53
54
|
"peerDependencies": {
|
54
55
|
"react": ">=18"
|