@amplitude/experiment-js-client
Advanced tools
Comparing version 1.10.1 to 1.10.2
@@ -295,3 +295,3 @@ import { AnalyticsConnector } from '@amplitude/analytics-connector'; | ||
var version = "1.10.1"; | ||
var version = "1.10.2"; | ||
@@ -758,2 +758,8 @@ class ConnectorUserProvider { | ||
: Defaults.flagsServerUrl) }); | ||
// Transform initialVariants | ||
if (this.config.initialVariants) { | ||
for (const flagKey in this.config.initialVariants) { | ||
this.config.initialVariants[flagKey] = transformVariantFromStorage(this.config.initialVariants[flagKey]); | ||
} | ||
} | ||
if (this.config.userProvider) { | ||
@@ -760,0 +766,0 @@ this.userProvider = this.config.userProvider; |
{ | ||
"name": "@amplitude/experiment-js-client", | ||
"version": "1.10.1", | ||
"version": "1.10.2", | ||
"description": "Amplitude Experiment Javascript Client SDK", | ||
@@ -50,3 +50,3 @@ "keywords": [ | ||
], | ||
"gitHead": "ecd4c89620a9df8c9c23eac336697f41f498852c" | ||
"gitHead": "f2983413f6eff2500084650cef5a52cbe8cf41d7" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
348262
8528