You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@optimizely/optimizely-sdk

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@optimizely/optimizely-sdk - npm Package Versions

1
5679

3.0.0-rc2

Diff
o
optimizely-fullstack
published 3.0.0-rc2 •
o
optimizely-fullstack
published 2.3.1 •

Changelog

Source

[2.3.1] - November 14, 2018

Fixed

  • fix(bundling): Publish the unminified UMD bundle along with the minified one. (#187)
o
optimizely-fullstack
published 2.3.0 •

Changelog

Source

[2.3.0] - November 14, 2018

New Features

  • Allow sticky bucketing via passing in attributes.$opt_experiment_bucket_map, this more easily allows customers to do some async data fetching and ensure a user gets a specific variation.
const userId = '123'
const expId = '456'
const variationId = '678'
const userAttributes = {
  $opt_experiment_bucket_map: {
    [expId]: {
      variation_id: variationId
    }
  }
}

var selectedVariationKey = optimizelyClient.activate('experiment-1', userId, userAttributes);
o
optimizely-fullstack
published 3.0.0-rc •
o
optimizely-fullstack
published 3.0.0-alpha •
o
optimizely-fullstack
published 2.2.0 •

Changelog

Source

[2.2.0] - September 26, 2018

Fixed

  • Track and activate should not remove null attributes (#168)
  • Track attributes with valid attribute types (#166)
  • Prevent SDK from initializing if the datafile version in invalid (#161)
  • Updating lerna to latest version (#160)

Changed

  • Change invalid experiment key to debug level (#165)
o
optimizely-fullstack
published 2.1.3 •

Changelog

Source

[2.1.3] - August 21, 2018

Fixed

  • Send all decisions for the same event in one snapshot. (#155)
  • Give Node.js consumers the unbundled package (#133)

Deprecated

  • The UMD build of the SDK now assigns the SDK namespace object to window.optimizelySdk rather than to window.optimizelyClient. The old name still works, but on its first access a deprecation warning is logged to the console. The alias will be removed in the 3.0.0 release. (#152)
o
optimizely-eng
published 2.0.5 •

Changelog

Source

[2.0.5] - June 25, 2018

Fixed

  • Failure to log success message when event dispatched (#123)
  • Fix: Don't call success message when event fails to send (#123)
o
optimizely-eng
published 2.1.2 •

Changelog

Source

[2.1.2] - June 25, 2018

Fixed

  • Failure to log success message when event dispatched (#123)
  • Fix: Don't call success message when event fails to send (#123)
o
optimizely-eng
published 2.0.4 •

Changelog

Source

2.0.4

June 19, 2018

  • Fix: send impression event for Feature Test with Feature disabled (#117)