🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@amplitude/experiment-js-client

Package Overview
Dependencies
Maintainers
21
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amplitude/experiment-js-client - npm Package Compare versions

Comparing version

to
1.14.0

20

dist/types/src/factory.d.ts
import { ExperimentConfig } from './config';
import { ExperimentClient } from './experimentClient';
/**
* Initializes a singleton {@link ExperimentClient} identified by the configured
* instance name.
*
* @param apiKey The deployment API Key
* @param config See {@link ExperimentConfig} for config options
*/
export declare const initialize: (apiKey: string, config?: ExperimentConfig) => ExperimentClient;
/**
* Initialize a singleton {@link ExperimentClient} which automatically
* integrates with the installed and initialized instance of the amplitude
* analytics SDK.
*
* You must be using amplitude-js SDK version 8.17.0+ for this integration to
* work.
*
* @param apiKey The deployment API Key
* @param config See {@link ExperimentConfig} for config options
*/
export declare const initializeWithAmplitudeAnalytics: (apiKey: string, config?: ExperimentConfig) => ExperimentClient;
/**
* Provides factory methods for storing singleton instances of {@link ExperimentClient}

@@ -5,0 +25,0 @@ * @category Core Usage

2

dist/types/src/index.d.ts

@@ -10,3 +10,3 @@ /**

export { AmplitudeIntegrationPlugin } from './integration/amplitude';
export { Experiment } from './factory';
export { Experiment, initialize, initializeWithAmplitudeAnalytics, } from './factory';
export { StubExperimentClient } from './stubClient';

@@ -13,0 +13,0 @@ export { ExperimentClient } from './experimentClient';

{
"name": "@amplitude/experiment-js-client",
"version": "1.13.2",
"version": "1.14.0",
"description": "Amplitude Experiment Javascript Client SDK",

@@ -50,3 +50,3 @@ "keywords": [

],
"gitHead": "a9dc4e4623b25a25529bb284e2d20578da726cec"
"gitHead": "e0c33b7baf4b13934959f7cd9d8ce3974652c9e4"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display