@ttoss/react-feature-flags 0.2.6 → 0.2.8
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/dist/index.d.ts +1 -1
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ interface FeatureFlagProps {
|
|
|
6
6
|
children: React.ReactNode;
|
|
7
7
|
fallback?: React.ReactNode;
|
|
8
8
|
}
|
|
9
|
-
declare const FeatureFlag: ({ name, children, fallback, }: FeatureFlagProps) => string | number | boolean | Iterable<React.ReactNode> | react_jsx_runtime.JSX.Element | null;
|
|
9
|
+
declare const FeatureFlag: ({ name, children, fallback, }: FeatureFlagProps) => string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element | null;
|
|
10
10
|
|
|
11
11
|
declare const FeatureFlagsProvider: ({ children, loadFeatures, }: {
|
|
12
12
|
children: React.ReactNode;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttoss/react-feature-flags",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.8",
|
|
4
4
|
"description": "React Feature Flags",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "ttoss",
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"react": ">=16.8.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@types/react": "^
|
|
29
|
+
"@types/react": "^19.0.2",
|
|
30
30
|
"jest": "^29.7.0",
|
|
31
|
-
"react": "^
|
|
31
|
+
"react": "^19.0.0",
|
|
32
32
|
"tsup": "^8.3.5",
|
|
33
|
-
"@ttoss/
|
|
34
|
-
"@ttoss/
|
|
33
|
+
"@ttoss/config": "^1.35.2",
|
|
34
|
+
"@ttoss/test-utils": "^2.1.21"
|
|
35
35
|
},
|
|
36
36
|
"keywords": [
|
|
37
37
|
"feature-flags",
|