@openfeature/flagd-provider 0.7.4 → 0.7.6
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/README.md +9 -6
- package/index.cjs +330 -3115
- package/index.js +190 -2978
- package/package.json +7 -5
- package/src/lib/configuration.d.ts +22 -0
- package/src/lib/constants.d.ts +5 -0
- package/src/lib/flagd-provider.d.ts +11 -1
- package/src/lib/service/grpc/service.d.ts +32 -3
- package/src/lib/service/service.d.ts +1 -0
- package/src/proto/ts/sync/v1/sync_service.client.d.ts +46 -0
- package/src/proto/ts/sync/v1/sync_service.d.ts +183 -0
package/README.md
CHANGED
|
@@ -23,12 +23,15 @@ Options can be defined in the constructor or as environment variables, with cons
|
|
|
23
23
|
|
|
24
24
|
### Available options
|
|
25
25
|
|
|
26
|
-
| Option name
|
|
27
|
-
|
|
|
28
|
-
| host
|
|
29
|
-
| port
|
|
30
|
-
| tls
|
|
31
|
-
| socketPath
|
|
26
|
+
| Option name | Environment variable name | Type | Default | Values |
|
|
27
|
+
| --------------------- | ------------------------------- | ------- | --------- | ------------- |
|
|
28
|
+
| host | FLAGD_HOST | string | localhost | |
|
|
29
|
+
| port | FLAGD_PORT | number | 8013 | |
|
|
30
|
+
| tls | FLAGD_TLS | boolean | false | |
|
|
31
|
+
| socketPath | FLAGD_SOCKET_PATH | string | - | |
|
|
32
|
+
| cache | FLAGD_CACHE | string | lru | lru,disabled |
|
|
33
|
+
| maxCacheSize | FLAGD_MAX_CACHE_SIZE | int | 1000 | |
|
|
34
|
+
| maxEventStreamRetries | FLAGD_MAX_EVENT_STREAM_RETRIES | int | 5 | |
|
|
32
35
|
|
|
33
36
|
### Example using TCP
|
|
34
37
|
|