@featurevisor/sdk
Advanced tools
Comparing version 0.39.0 to 0.39.1
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.39.1](https://github.com/fahad19/featurevisor/compare/v0.39.0...v0.39.1) (2023-07-16) | ||
### Bug Fixes | ||
* SDK README updates ([#106](https://github.com/fahad19/featurevisor/issues/106)) ([1c6ac53](https://github.com/fahad19/featurevisor/commit/1c6ac5311ac0d8df748cbb67e1e5b426038fee71)) | ||
# [0.39.0](https://github.com/fahad19/featurevisor/compare/v0.38.0...v0.39.0) (2023-07-16) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@featurevisor/sdk", | ||
"version": "0.39.0", | ||
"version": "0.39.1", | ||
"description": "Featurevisor SDK for Node.js and the browser", | ||
@@ -49,3 +49,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "bbf3b7a19d05b2f02a4836eb5ab2409b686413d3" | ||
"gitHead": "98ed5c787c6566eab08f6df041777882cfa2ef0f" | ||
} |
@@ -26,2 +26,3 @@ # @featurevisor/sdk <!-- omit in toc --> | ||
- [API](#api) | ||
- [`isEnabled`](#isenabled) | ||
- [`getVariation`](#getvariation) | ||
@@ -138,3 +139,6 @@ - [`getVariable`](#getvariable) | ||
myFeatureKey: { | ||
variation: true, | ||
enabled: true, | ||
// optional | ||
variation: "treatment", | ||
variables: { | ||
@@ -286,3 +290,6 @@ myVariableKey: "my-variable-value" | ||
myFeatureKey: { | ||
variation: true, | ||
enabled: true, | ||
// optional | ||
variation: "treatment", | ||
variables: { | ||
@@ -300,2 +307,6 @@ myVariableKey: "my-variable-value" | ||
### `isEnabled` | ||
> `isEnabled(featureKey: string, context: Context): boolean` | ||
### `getVariation` | ||
@@ -305,9 +316,2 @@ | ||
Also supports additional type specific methods: | ||
- `getVariationBoolean` | ||
- `getVariationString` | ||
- `getVariationInteger` | ||
- `getVariationDouble` | ||
### `getVariable` | ||
@@ -335,9 +339,2 @@ | ||
Also supports additional type specific methods: | ||
- `activateBoolean` | ||
- `activateString` | ||
- `activateInteger` | ||
- `activateDouble` | ||
### `isReady` | ||
@@ -344,0 +341,0 @@ |
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
777753
382