Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ninetailed/experience.js

Package Overview
Dependencies
Maintainers
2
Versions
363
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ninetailed/experience.js - npm Package Compare versions

Comparing version 7.8.0-beta.2 to 7.8.0-beta.3

7

index.cjs.js

@@ -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"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc