@launchdarkly/js-sdk-common
Advanced tools
Comparing version 1.3.0-alpha.1 to 1.3.0-alpha.2
@@ -27,2 +27,18 @@ import { LDEvaluationReason } from './LDEvaluationReason'; | ||
} | ||
export interface LDEvaluationDetailTyped<TFlag> { | ||
/** | ||
* The result of the flag evaluation. This will be either one of the flag's variations or | ||
* the default value that was passed to `LDClient.variationDetail`. | ||
*/ | ||
value: TFlag; | ||
/** | ||
* The index of the returned value within the flag's list of variations, e.g. 0 for the | ||
* first variation-- or `null` if the default value was returned. | ||
*/ | ||
variationIndex?: number | null; | ||
/** | ||
* An object describing the main factor that influenced the flag evaluation value. | ||
*/ | ||
reason: LDEvaluationReason; | ||
} | ||
//# sourceMappingURL=LDEvaluationDetail.d.ts.map |
{ | ||
"name": "@launchdarkly/js-sdk-common", | ||
"version": "1.3.0-alpha.1", | ||
"version": "1.3.0-alpha.2", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
211375
3303