File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1320,7 +1320,8 @@ export class BucketClient {
13201320 ) ;
13211321
13221322 if ( key ) {
1323- return this . _wrapRawFeature ( contextWithTracking , res . features [ key ] ! ) ;
1323+ if ( ! res . features [ key ] ) throw new Error ( `Feature ${ key } not found` ) ;
1324+ return this . _wrapRawFeature ( contextWithTracking , res . features [ key ] ) ;
13241325 } else {
13251326 return Object . fromEntries (
13261327 Object . entries ( res . features ) . map ( ( [ featureKey , feature ] ) => [
Original file line number Diff line number Diff line change @@ -774,7 +774,7 @@ __metadata:
774774 languageName: unknown
775775 linkType: soft
776776
777- "@bucketco/node-sdk@npm:1.9.3 , @bucketco/node-sdk@workspace:packages/node-sdk":
777+ "@bucketco/node-sdk@npm:1.10.0 , @bucketco/node-sdk@workspace:packages/node-sdk":
778778 version: 0.0.0-use.local
779779 resolution: "@bucketco/node-sdk@workspace:packages/node-sdk"
780780 dependencies:
@@ -824,7 +824,7 @@ __metadata:
824824 dependencies:
825825 "@babel/core": "npm:~7.24.7"
826826 "@bucketco/eslint-config": "npm:~0.0.2"
827- "@bucketco/node-sdk": "npm:1.9.3 "
827+ "@bucketco/node-sdk": "npm:1.10.0 "
828828 "@bucketco/tsconfig": "npm:~0.0.2"
829829 "@openfeature/core": "npm:^1.5.0"
830830 "@openfeature/server-sdk": "npm:>=1.16.1"
You can’t perform that action at this time.
0 commit comments