@featurevisor/react 0.40.1 → 0.42.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,25 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [0.42.0](https://github.com/fahad19/featurevisor/compare/v0.41.0...v0.42.0) (2023-07-23)
7
+
8
+ **Note:** Version bump only for package @featurevisor/react
9
+
10
+
11
+
12
+
13
+
14
+ # [0.41.0](https://github.com/fahad19/featurevisor/compare/v0.40.1...v0.41.0) (2023-07-23)
15
+
16
+
17
+ ### Features
18
+
19
+ * required features ([5b1e1c3](https://github.com/fahad19/featurevisor/commit/5b1e1c354f0caac6435547a825d066c2f41d6063))
20
+
21
+
22
+
23
+
24
+
6
25
  ## [0.40.1](https://github.com/fahad19/featurevisor/compare/v0.40.0...v0.40.1) (2023-07-23)
7
26
 
8
27
  **Note:** Version bump only for package @featurevisor/react
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  React components and hooks for Featurevisor.
4
4
 
5
- Visit [https://featurevisor.com](https://featurevisor.com) for more information.
5
+ Visit [https://featurevisor.com/docs/react/](https://featurevisor.com/docs/react/) for more information.
6
6
 
7
7
  - [Installation](#installation)
8
8
  - [API](#api)
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1690140565328" clover="3.2.0">
3
- <project timestamp="1690140565329" name="All files">
2
+ <coverage generated="1690143966693" clover="3.2.0">
3
+ <project timestamp="1690143966693" name="All files">
4
4
  <metrics statements="44" coveredstatements="38" conditionals="5" coveredconditionals="1" methods="10" coveredmethods="7" elements="59" coveredelements="46" complexity="0" loc="44" ncloc="44" packages="1" files="8" classes="8"/>
5
5
  <file name="FeaturevisorContext.ts" path="/home/runner/work/featurevisor/featurevisor/packages/react/src/FeaturevisorContext.ts">
6
6
  <metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
@@ -82,7 +82,7 @@ export const FeaturevisorContext = React.createContext&lt;FeaturevisorInstance |
82
82
  <div class='footer quiet pad2 space-top1 center small'>
83
83
  Code coverage generated by
84
84
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
85
- at 2023-07-23T19:29:25.314Z
85
+ at 2023-07-23T20:26:06.683Z
86
86
  </div>
87
87
  <script src="prettify.js"></script>
88
88
  <script>
@@ -115,7 +115,7 @@ export function FeaturevisorProvider(props: FeaturevisorProviderProps) {
115
115
  <div class='footer quiet pad2 space-top1 center small'>
116
116
  Code coverage generated by
117
117
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
118
- at 2023-07-23T19:29:25.314Z
118
+ at 2023-07-23T20:26:06.683Z
119
119
  </div>
120
120
  <script src="prettify.js"></script>
121
121
  <script>
@@ -106,7 +106,7 @@ export function activateFeature(
106
106
  <div class='footer quiet pad2 space-top1 center small'>
107
107
  Code coverage generated by
108
108
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
109
- at 2023-07-23T19:29:25.314Z
109
+ at 2023-07-23T20:26:06.683Z
110
110
  </div>
111
111
  <script src="prettify.js"></script>
112
112
  <script>
@@ -206,7 +206,7 @@
206
206
  <div class='footer quiet pad2 space-top1 center small'>
207
207
  Code coverage generated by
208
208
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
209
- at 2023-07-23T19:29:25.314Z
209
+ at 2023-07-23T20:26:06.683Z
210
210
  </div>
211
211
  <script src="prettify.js"></script>
212
212
  <script>
@@ -97,7 +97,7 @@ export function useFlag(featureKey: FeatureKey, <span class="missing-if-branch"
97
97
  <div class='footer quiet pad2 space-top1 center small'>
98
98
  Code coverage generated by
99
99
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
100
- at 2023-07-23T19:29:25.314Z
100
+ at 2023-07-23T20:26:06.683Z
101
101
  </div>
102
102
  <script src="prettify.js"></script>
103
103
  <script>
@@ -100,7 +100,7 @@ export function useSdk(): FeaturevisorInstance {
100
100
  <div class='footer quiet pad2 space-top1 center small'>
101
101
  Code coverage generated by
102
102
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
103
- at 2023-07-23T19:29:25.314Z
103
+ at 2023-07-23T20:26:06.683Z
104
104
  </div>
105
105
  <script src="prettify.js"></script>
106
106
  <script>
@@ -166,7 +166,7 @@ export function useStatus(): Status {
166
166
  <div class='footer quiet pad2 space-top1 center small'>
167
167
  Code coverage generated by
168
168
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
169
- at 2023-07-23T19:29:25.314Z
169
+ at 2023-07-23T20:26:06.683Z
170
170
  </div>
171
171
  <script src="prettify.js"></script>
172
172
  <script>
@@ -109,7 +109,7 @@ export function useVariable(
109
109
  <div class='footer quiet pad2 space-top1 center small'>
110
110
  Code coverage generated by
111
111
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
112
- at 2023-07-23T19:29:25.314Z
112
+ at 2023-07-23T20:26:06.683Z
113
113
  </div>
114
114
  <script src="prettify.js"></script>
115
115
  <script>
@@ -106,7 +106,7 @@ export function useVariation(
106
106
  <div class='footer quiet pad2 space-top1 center small'>
107
107
  Code coverage generated by
108
108
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
109
- at 2023-07-23T19:29:25.314Z
109
+ at 2023-07-23T20:26:06.683Z
110
110
  </div>
111
111
  <script src="prettify.js"></script>
112
112
  <script>
package/dist/index.js.gz CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@featurevisor/react",
3
- "version": "0.40.1",
3
+ "version": "0.42.0",
4
4
  "description": "React package for Featurevisor",
5
5
  "main": "dist/index.js",
6
6
  "module": "lib/index.js",
@@ -42,8 +42,8 @@
42
42
  "url": "https://github.com/fahad19/featurevisor/issues"
43
43
  },
44
44
  "dependencies": {
45
- "@featurevisor/sdk": "^0.40.1",
46
- "@featurevisor/types": "^0.40.1"
45
+ "@featurevisor/sdk": "^0.42.0",
46
+ "@featurevisor/types": "^0.42.0"
47
47
  },
48
48
  "license": "MIT",
49
49
  "devDependencies": {
@@ -51,5 +51,5 @@
51
51
  "@testing-library/react": "^14.0.0",
52
52
  "jest-environment-jsdom": "^29.5.0"
53
53
  },
54
- "gitHead": "cca4e461fff94ffa96c9b6657a054e7b9cf86092"
54
+ "gitHead": "6df08bfb518918c2e1f0659175f53bbcbd5a5526"
55
55
  }