@launchdarkly/js-server-sdk-common-edge
Version:
LaunchDarkly Server SDK for JavaScript - common Edge SDK code
15 lines • 688 B
TypeScript
import { LDOptions as LDOptionsCommon } from '@launchdarkly/js-server-sdk-common';
/**
* The Launchdarkly Edge SDKs configuration options. Only logger is officially
* supported. sendEvents is unsupported and is only included as a beta
* preview.
*/
export type LDOptions = Pick<LDOptionsCommon, 'logger' | 'sendEvents'>;
/**
* The internal options include featureStore because that's how the LDClient
* implementation expects it.
*/
export type LDOptionsInternal = LDOptions & Pick<LDOptionsCommon, 'featureStore'>;
declare const validateOptions: (sdkKey: string, options: LDOptionsInternal) => boolean;
export default validateOptions;
//# sourceMappingURL=validateOptions.d.ts.map