Skip to content

Commit d6db366

Browse files
authored
fix!: Fix object parsing, remove HTTP (#102)
* fix: Fix object parsing Signed-off-by: Todd Baert <[email protected]> * JsonValue => JsonObject Signed-off-by: Todd Baert <[email protected]> * Handle undefined value Signed-off-by: Todd Baert <[email protected]> * Remove catch blocks and defaults from service Signed-off-by: Todd Baert <[email protected]> Signed-off-by: Todd Baert <[email protected]>
1 parent 3bc8799 commit d6db366

File tree

8 files changed

+323
-456
lines changed

8 files changed

+323
-456
lines changed

libs/providers/flagd/README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,12 @@ The `FlagdProvider` client constructor takes a single optional argument with 3 f
2626

2727
```
2828
OpenFeature.setProvider(new FlagdProvider({
29-
service: 'grpc',
3029
host: 'localhost',
3130
port: 8013,
31+
protocol: 'http'
3232
}))
3333
```
3434

35-
**service**: "http" | "grpc" _(defaults to http)_
3635
**host**: string _(defaults to "localhost")_
3736
**port**: number _(defaults to 8013)_
3837
**protocol**: "http" | "https" _(defaults to http - only active for http service)_

0 commit comments

Comments
 (0)