@openfeature/flagd-provider
Advanced tools
Comparing version 0.7.5 to 0.7.6
{ | ||
"name": "@openfeature/flagd-provider", | ||
"version": "0.7.5", | ||
"version": "0.7.6", | ||
"scripts": { | ||
@@ -23,8 +23,8 @@ "publish-if-not-exists": "cp $NPM_CONFIG_USERCONFIG .npmrc && if [ \"$(npm show $npm_package_name@$npm_package_version version)\" = \"$(npm run current-version -s)\" ]; then echo 'already published, skipping'; else npm publish --access public; fi", | ||
"dependencies": { | ||
"@grpc/grpc-js": "^1.7.3", | ||
"@protobuf-ts/grpc-transport": "2.8.2", | ||
"@protobuf-ts/runtime": "2.8.2", | ||
"@protobuf-ts/runtime-rpc": "2.8.2", | ||
"lru-cache": "^7.14.1" | ||
"@grpc/grpc-js": "1.8.13", | ||
"@protobuf-ts/grpc-transport": "2.8.3", | ||
"@protobuf-ts/runtime": "2.8.3", | ||
"@protobuf-ts/runtime-rpc": "2.8.3", | ||
"lru-cache": "8.0.5" | ||
} | ||
} |
@@ -43,2 +43,5 @@ import { EvaluationContext, JsonValue, Logger, ResolutionDetails } from '@openfeature/js-sdk'; | ||
private objectParser; | ||
private booleanParser; | ||
private stringParser; | ||
private numberParser; | ||
private resolve; | ||
@@ -45,0 +48,0 @@ private convertContext; |
@@ -15,5 +15,7 @@ import { ServiceType } from "@protobuf-ts/runtime-rpc"; | ||
/** | ||
* Optional: A unique identifier for flagd provider (grpc client) initiating the request. The server implementations | ||
* can utilize this identifier to aggregate flag configurations and stream them to a specific client. This identifier | ||
* is intended to be optional. However server implementation may enforce it. | ||
* Optional: A unique identifier for flagd(grpc client) initiating the request. The server implementations may | ||
* utilize this identifier to uniquely identify, validate(ex:- enforce authentication/authorization) and filter | ||
* flag configurations that it can expose to this request. This field is intended to be optional. However server | ||
* implementations may enforce it. | ||
* ex:- provider_id: flagd-weatherapp-sidecar | ||
* | ||
@@ -23,2 +25,11 @@ * @generated from protobuf field: string provider_id = 1; | ||
providerId: string; | ||
/** | ||
* Optional: A selector for the flag configuration request. The server implementation may utilize this to select | ||
* flag configurations from a collection, select the source of the flag or combine this to any desired underlying | ||
* filtering mechanism. | ||
* ex:- selector: 'source=database,app=weatherapp' | ||
* | ||
* @generated from protobuf field: string selector = 2; | ||
*/ | ||
selector: string; | ||
} | ||
@@ -51,2 +62,21 @@ /** | ||
export interface FetchAllFlagsRequest { | ||
/** | ||
* Optional: A unique identifier for flagd(grpc client) initiating the request. The server implementations may | ||
* utilize this identifier to uniquely identify, validate(ex:- enforce authentication/authorization) and filter | ||
* flag configurations that it can expose to this request. This field is intended to be optional. However server | ||
* implementations may enforce it. | ||
* ex:- provider_id: flagd-weatherapp-sidecar | ||
* | ||
* @generated from protobuf field: string provider_id = 1; | ||
*/ | ||
providerId: string; | ||
/** | ||
* Optional: A selector for the flag configuration request. The server implementation may utilize this to select | ||
* flag configurations from a collection, select the source of the flag or combine this to any desired underlying | ||
* filtering mechanism. | ||
* ex:- selector: 'source=database,app=weatherapp' | ||
* | ||
* @generated from protobuf field: string selector = 2; | ||
*/ | ||
selector: string; | ||
} | ||
@@ -53,0 +83,0 @@ /** |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
215036
4345
+ Added@grpc/grpc-js@1.8.13(transitive)
+ Added@protobuf-ts/grpc-transport@2.8.3(transitive)
+ Added@protobuf-ts/runtime@2.8.3(transitive)
+ Added@protobuf-ts/runtime-rpc@2.8.3(transitive)
+ Addedlru-cache@8.0.5(transitive)
- Removed@grpc/grpc-js@1.12.6(transitive)
- Removed@js-sdsl/ordered-map@4.4.2(transitive)
- Removed@protobuf-ts/grpc-transport@2.8.2(transitive)
- Removed@protobuf-ts/runtime@2.8.2(transitive)
- Removed@protobuf-ts/runtime-rpc@2.8.2(transitive)
- Removedlru-cache@7.18.3(transitive)
Updated@grpc/grpc-js@1.8.13
Updated@protobuf-ts/runtime@2.8.3
Updatedlru-cache@8.0.5