@amplitude/experiment-js-client
Advanced tools
Comparing version 1.10.0 to 1.10.1
@@ -295,3 +295,3 @@ import { AnalyticsConnector } from '@amplitude/analytics-connector'; | ||
var version = "1.10.0"; | ||
var version = "1.10.1"; | ||
@@ -888,3 +888,3 @@ class ConnectorUserProvider { | ||
variant(key, fallback) { | ||
var _a; | ||
var _a, _b; | ||
if (!this.apiKey) { | ||
@@ -897,3 +897,3 @@ return { value: undefined }; | ||
} | ||
this.debug(`[Experiment] variant for ${key} is ${(_a = sourceVariant.variant) === null || _a === void 0 ? void 0 : _a.value}`); | ||
this.debug(`[Experiment] variant for ${key} is ${((_a = sourceVariant.variant) === null || _a === void 0 ? void 0 : _a.key) || ((_b = sourceVariant.variant) === null || _b === void 0 ? void 0 : _b.value)}`); | ||
return sourceVariant.variant || {}; | ||
@@ -900,0 +900,0 @@ } |
{ | ||
"name": "@amplitude/experiment-js-client", | ||
"version": "1.10.0", | ||
"version": "1.10.1", | ||
"description": "Amplitude Experiment Javascript Client SDK", | ||
@@ -50,3 +50,3 @@ "keywords": [ | ||
], | ||
"gitHead": "37e70076de14e48ed8a5e33f79f2bcdd7d4c9800" | ||
"gitHead": "ecd4c89620a9df8c9c23eac336697f41f498852c" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
347369