@amplitude/experiment-js-client
Advanced tools
Comparing version 1.10.2 to 1.11.0
@@ -295,3 +295,3 @@ import { AnalyticsConnector } from '@amplitude/analytics-connector'; | ||
var version = "1.10.2"; | ||
var version = "1.11.0"; | ||
@@ -1258,6 +1258,3 @@ class ConnectorUserProvider { | ||
this.debug('[Experiment] Fetch variants for user: ', user); | ||
const results = yield this.evaluationApi.getVariants(user, { | ||
timeoutMillis: timeoutMillis, | ||
flagKeys: options === null || options === void 0 ? void 0 : options.flagKeys, | ||
}); | ||
const results = yield this.evaluationApi.getVariants(user, Object.assign({ timeoutMillis: timeoutMillis }, options)); | ||
const variants = {}; | ||
@@ -1264,0 +1261,0 @@ for (const key of Object.keys(results)) { |
@@ -5,3 +5,3 @@ import { ExperimentUserProvider } from './provider'; | ||
export type FetchOptions = { | ||
flagKeys: string[]; | ||
flagKeys?: string[]; | ||
}; | ||
@@ -8,0 +8,0 @@ /** |
{ | ||
"name": "@amplitude/experiment-js-client", | ||
"version": "1.10.2", | ||
"version": "1.11.0", | ||
"description": "Amplitude Experiment Javascript Client SDK", | ||
@@ -38,3 +38,3 @@ "keywords": [ | ||
"@amplitude/analytics-connector": "^1.5.0", | ||
"@amplitude/experiment-core": "^0.7.2", | ||
"@amplitude/experiment-core": "^0.8.0", | ||
"@amplitude/ua-parser-js": "^0.7.31", | ||
@@ -51,3 +51,3 @@ "base64-js": "1.5.1", | ||
], | ||
"gitHead": "f2983413f6eff2500084650cef5a52cbe8cf41d7" | ||
"gitHead": "92426f996406ae3783334339237d3ba9ea793045" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
348396
8526
+ Added@amplitude/experiment-core@0.8.0(transitive)
- Removed@amplitude/experiment-core@0.7.2(transitive)