UNPKG

@launchdarkly/js-server-sdk-common-edge

Version:
15 lines 563 B
import { EdgeFeatureStore, LDClient } from './api'; import validateOptions from './utils/validateOptions'; export * from '@launchdarkly/js-server-sdk-common'; export { EdgeFeatureStore }; /** * Do not use this function directly. * * This is an internal API to be used directly only by LaunchDarkly Edge SDKs. */ export const init = (clientSideID, platformInfo, options) => { // this throws if options are invalid validateOptions(clientSideID, options); return new LDClient(clientSideID, platformInfo, options); }; //# sourceMappingURL=index.js.map