amplitude / experiment-js-client

Amplitude Experiment client-side SDK for JavaScript
MIT License
8 stars 7 forks source link

feat: add feature experiment support in web script #140

Open bgiori opened 6 days ago

bgiori commented 6 days ago

Summary

  1. Exports initialize and initializeWithAmplitudeAnalytics directly from the SDK module. This avoids Experiment.Experiment.initializeWithAmplitudeAnalytics when installing via script.
  2. Sets window.Experiment equal to full feature experiment SDK package in web script. This allows customers to create feature experiment SDK instances using the web experiment script (one script for both feature and web).

Checklist