@ninetailed/experience.js
Advanced tools
Comparing version 7.8.0-beta.2 to 7.8.0-beta.3
@@ -961,6 +961,3 @@ 'use strict'; | ||
} | ||
const experienceWithStickyFromExperienceApi = Object.assign(Object.assign({}, experience), { | ||
sticky: selectedExperience.sticky | ||
}); | ||
const baselineVariants = experience_jsShared.selectBaselineWithVariants(experienceWithStickyFromExperienceApi, baseline); | ||
const baselineVariants = experience_jsShared.selectBaselineWithVariants(experience, baseline); | ||
if (!baselineVariants) { | ||
@@ -990,3 +987,3 @@ setSelectedVariant(overrideResult(Object.assign(Object.assign({}, emptyReturn), { | ||
error: null, | ||
experience: experienceWithStickyFromExperienceApi, | ||
experience, | ||
variant, | ||
@@ -993,0 +990,0 @@ variantIndex: selectedExperience.variantIndex, |
@@ -943,6 +943,3 @@ import { FEATURES, buildComponentViewEvent, logger, ConsoleLogSink, buildPageEvent, buildTrackEvent, buildIdentifyEvent, unionBy, pipe, PageviewProperties, Properties, Traits, isPageViewEvent, isTrackEvent, isIdentifyEvent, isComponentViewEvent, selectHasVariants, selectExperience, selectVariant as selectVariant$1, selectBaselineWithVariants, OnLogLogSink, OnErrorLogSink, NinetailedApiClient } from '@ninetailed/experience.js-shared'; | ||
} | ||
const experienceWithStickyFromExperienceApi = Object.assign({}, experience, { | ||
sticky: selectedExperience.sticky | ||
}); | ||
const baselineVariants = selectBaselineWithVariants(experienceWithStickyFromExperienceApi, baseline); | ||
const baselineVariants = selectBaselineWithVariants(experience, baseline); | ||
if (!baselineVariants) { | ||
@@ -972,3 +969,3 @@ setSelectedVariant(overrideResult(Object.assign({}, emptyReturn, { | ||
error: null, | ||
experience: experienceWithStickyFromExperienceApi, | ||
experience, | ||
variant, | ||
@@ -975,0 +972,0 @@ variantIndex: selectedExperience.variantIndex, |
{ | ||
"name": "@ninetailed/experience.js", | ||
"version": "7.8.0-beta.2", | ||
"version": "7.8.0-beta.3", | ||
"description": "Ninetailed SDK for javascript", | ||
@@ -12,4 +12,4 @@ "license": "MIT", | ||
"dependencies": { | ||
"@ninetailed/experience.js-plugin-analytics": "7.8.0-beta.2", | ||
"@ninetailed/experience.js-shared": "7.8.0-beta.2", | ||
"@ninetailed/experience.js-plugin-analytics": "7.8.0-beta.3", | ||
"@ninetailed/experience.js-shared": "7.8.0-beta.3", | ||
"analytics": "0.8.1", | ||
@@ -16,0 +16,0 @@ "uuid": "9.0.0" |
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
122650
3180
+ Added@ninetailed/experience.js-plugin-analytics@7.8.0-beta.3(transitive)
+ Added@ninetailed/experience.js-shared@7.8.0-beta.3(transitive)
- Removed@ninetailed/experience.js-plugin-analytics@7.8.0-beta.2(transitive)
- Removed@ninetailed/experience.js-shared@7.8.0-beta.2(transitive)
Updated@ninetailed/experience.js-plugin-analytics@7.8.0-beta.3