@ttoss/react-feature-flags 0.1.10 → 0.1.12

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.mts CHANGED
@@ -20,7 +20,7 @@ declare const useFeatureFlag: (name: FeatureFlags) => boolean;
20
20
  * (after the initial render and providers), you can use this hook.
21
21
  */
22
22
  declare const useUpdateFeatures: () => {
23
- updateFeatures: (features: string[]) => void;
23
+ updateFeatures: (features: FeatureFlags[]) => void;
24
24
  };
25
25
 
26
26
  export { FeatureFlag, FeatureFlagsProvider, useFeatureFlag, useUpdateFeatures };
package/dist/index.d.ts CHANGED
@@ -20,7 +20,7 @@ declare const useFeatureFlag: (name: FeatureFlags) => boolean;
20
20
  * (after the initial render and providers), you can use this hook.
21
21
  */
22
22
  declare const useUpdateFeatures: () => {
23
- updateFeatures: (features: string[]) => void;
23
+ updateFeatures: (features: FeatureFlags[]) => void;
24
24
  };
25
25
 
26
26
  export { FeatureFlag, FeatureFlagsProvider, useFeatureFlag, useUpdateFeatures };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttoss/react-feature-flags",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "description": "React Feature Flags",
5
5
  "author": "ttoss",
6
6
  "contributors": [
@@ -29,9 +29,9 @@
29
29
  "@types/react": "^18.3.3",
30
30
  "jest": "^29.7.0",
31
31
  "react": "^18.3.1",
32
- "tsup": "^8.1.0",
33
- "@ttoss/config": "^1.32.5",
34
- "@ttoss/test-utils": "^2.1.9"
32
+ "tsup": "^8.2.4",
33
+ "@ttoss/config": "^1.32.7",
34
+ "@ttoss/test-utils": "^2.1.11"
35
35
  },
36
36
  "keywords": [
37
37
  "feature-flags",