@launchdarkly/js-client-sdk-common - v1.35.0
    Preparing search index...

    Interface FDv2DataManagerBaseConfig

    Configuration for creating an FDv2DataManagerControl.

    interface FDv2DataManagerBaseConfig {
        backgroundMode: FDv2ConnectionMode | undefined;
        baseHeaders: LDHeaders;
        buildQueryParams: (
            identifyOptions?: LDIdentifyOptions,
        ) => { key: string; value: string }[];
        config: Configuration;
        credential: string;
        emitter: LDEmitter;
        fallbackTimeoutMs?: number;
        fdv1Endpoints?: DataSourceEndpoints;
        flagManager: FlagManager;
        foregroundMode: FDv2ConnectionMode;
        modeTable: ModeTable;
        platform: Platform;
        recoveryTimeoutMs?: number;
        sourceFactoryProvider: SourceFactoryProvider;
        transitionTable: ModeResolutionTable;
    }
    Index
    backgroundMode: FDv2ConnectionMode | undefined

    The background connection mode, if any.

    baseHeaders: LDHeaders
    buildQueryParams: (
        identifyOptions?: LDIdentifyOptions,
    ) => { key: string; value: string }[]

    Platform-specific function to build query params for each identify call. Browser returns [{ key: 'auth', value: credential }] + optional hash. Mobile returns [] (uses Authorization header instead).

    credential: string
    emitter: LDEmitter
    fallbackTimeoutMs?: number

    Fallback condition timeout in ms (default 120s).

    fdv1Endpoints?: DataSourceEndpoints

    FDv1 endpoint factory for fallback. When provided, a blocked FDv1 polling synchronizer slot is automatically appended to every data source. It is activated when an FDv2 response includes the x-ld-fd-fallback header.

    Browser: browserFdv1Endpoints(clientSideId) Mobile: mobileFdv1Endpoints()

    flagManager: FlagManager
    foregroundMode: FDv2ConnectionMode

    The configured foreground connection mode. Use resolveForegroundMode to derive.

    modeTable: ModeTable

    The mode table mapping modes to data source definitions.

    platform: Platform
    recoveryTimeoutMs?: number

    Recovery condition timeout in ms (default 300s).

    sourceFactoryProvider: SourceFactoryProvider

    Provider that converts DataSourceEntry descriptors to concrete factories.

    transitionTable: ModeResolutionTable

    Mode resolution table for this platform.