Skip to content

Commit c84de68

Browse files
authored
feat: only warn about missing feature context when feature is used (#459)
- Only emit evaluation events for a single feature instead of all if a feature key is provided. - Only warn about missing feature context when the feature is used (isEnabled or config). - Added `noUncheckedIndexedAccess` option to `tsconfig.json` for stricter type checking. - Modified `getFeatureDefinitions` method to now return synchronous`FeatureDefinition[]`. - Enhanced error handling in `_getFeaturesRemote` method (now returns a disabled feature rather than undefined when feature is missing). - Updated tests to reflect changes in feature handling and context warnings.
1 parent b511473 commit c84de68

File tree

10 files changed

+225
-239
lines changed

10 files changed

+225
-239
lines changed

packages/node-sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bucketco/node-sdk",
3-
"version": "1.9.3",
3+
"version": "1.10.0",
44
"license": "MIT",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)