@featurevisor/react 0.40.0 → 0.41.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 +19 -0
- package/README.md +1 -1
- package/coverage/clover.xml +2 -2
- package/coverage/lcov-report/FeaturevisorContext.ts.html +1 -1
- package/coverage/lcov-report/FeaturevisorProvider.tsx.html +1 -1
- package/coverage/lcov-report/activateFeature.ts.html +1 -1
- package/coverage/lcov-report/index.html +1 -1
- package/coverage/lcov-report/useFlag.ts.html +1 -1
- package/coverage/lcov-report/useSdk.ts.html +1 -1
- package/coverage/lcov-report/useStatus.ts.html +1 -1
- package/coverage/lcov-report/useVariable.ts.html +1 -1
- package/coverage/lcov-report/useVariation.ts.html +1 -1
- package/dist/index.js.gz +0 -0
- package/package.json +4 -4
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.41.0](https://github.com/fahad19/featurevisor/compare/v0.40.1...v0.41.0) (2023-07-23)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* required features ([5b1e1c3](https://github.com/fahad19/featurevisor/commit/5b1e1c354f0caac6435547a825d066c2f41d6063))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [0.40.1](https://github.com/fahad19/featurevisor/compare/v0.40.0...v0.40.1) (2023-07-23)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @featurevisor/react
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [0.40.0](https://github.com/fahad19/featurevisor/compare/v0.39.2...v0.40.0) (2023-07-16)
|
|
7
26
|
|
|
8
27
|
|
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)
|
package/coverage/clover.xml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
2
|
+
<coverage generated="1690142433250" clover="3.2.0">
|
|
3
|
+
<project timestamp="1690142433250" 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<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-
|
|
85
|
+
at 2023-07-23T20:00:33.227Z
|
|
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-
|
|
118
|
+
at 2023-07-23T20:00:33.227Z
|
|
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-
|
|
109
|
+
at 2023-07-23T20:00:33.227Z
|
|
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-
|
|
209
|
+
at 2023-07-23T20:00:33.227Z
|
|
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-
|
|
100
|
+
at 2023-07-23T20:00:33.227Z
|
|
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-
|
|
103
|
+
at 2023-07-23T20:00:33.227Z
|
|
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-
|
|
169
|
+
at 2023-07-23T20:00:33.227Z
|
|
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-
|
|
112
|
+
at 2023-07-23T20:00:33.227Z
|
|
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-
|
|
109
|
+
at 2023-07-23T20:00:33.227Z
|
|
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.
|
|
3
|
+
"version": "0.41.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.
|
|
46
|
-
"@featurevisor/types": "^0.
|
|
45
|
+
"@featurevisor/sdk": "^0.41.0",
|
|
46
|
+
"@featurevisor/types": "^0.41.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": "
|
|
54
|
+
"gitHead": "dbd8a71ac29bc910955110c6174e52cd32e5bd50"
|
|
55
55
|
}
|