@featurevisor/sdk
Advanced tools
Comparing version 0.43.0 to 0.44.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [0.44.0](https://github.com/fahad19/featurevisor/compare/v0.43.0...v0.44.0) (2023-08-07) | ||
### Features | ||
* make getFeature() method public ([#122](https://github.com/fahad19/featurevisor/issues/122)) ([e56455e](https://github.com/fahad19/featurevisor/commit/e56455e11ec7895455e2ff22436b7380f67e184d)) | ||
# [0.43.0](https://github.com/fahad19/featurevisor/compare/v0.42.1...v0.43.0) (2023-08-05) | ||
@@ -8,0 +19,0 @@ |
@@ -89,3 +89,3 @@ import { Context, BucketKey, BucketValue, DatafileContent, Feature, FeatureKey, InitialFeatures, OverrideFeature, StickyFeatures, Traffic, VariableType, VariableValue, VariationValue, Variation, RuleKey, VariableKey, VariableSchema } from "@featurevisor/types"; | ||
getRevision(): string; | ||
private getFeature; | ||
getFeature(featureKey: string | Feature): Feature | undefined; | ||
/** | ||
@@ -92,0 +92,0 @@ * Bucketing |
{ | ||
"name": "@featurevisor/sdk", | ||
"version": "0.43.0", | ||
"version": "0.44.0", | ||
"description": "Featurevisor SDK for Node.js and the browser", | ||
@@ -45,7 +45,7 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@featurevisor/types": "^0.43.0", | ||
"@featurevisor/types": "^0.44.0", | ||
"compare-versions": "^6.0.0-rc.1", | ||
"murmurhash": "^2.0.1" | ||
}, | ||
"gitHead": "2f4487fdd0ab9cf88d0726e10e3d6b0a23b22fef" | ||
"gitHead": "d86ca9391c4ce35ae99eb515919c85e9054bb7dc" | ||
} |
@@ -286,3 +286,3 @@ import { | ||
private getFeature(featureKey: string | Feature): Feature | undefined { | ||
getFeature(featureKey: string | Feature): Feature | undefined { | ||
return typeof featureKey === "string" | ||
@@ -289,0 +289,0 @@ ? this.datafileReader.getFeature(featureKey) // only key provided |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
803449
+ Added@featurevisor/types@0.44.0(transitive)
- Removed@featurevisor/types@0.43.0(transitive)
Updated@featurevisor/types@^0.44.0