@optimizely/optimizely-sdk
Version:
JavaScript SDK for Optimizely Feature Experimentation, Optimizely Full Stack (legacy), and Optimizely Rollouts
27 lines (26 loc) • 1.37 kB
TypeScript
/**
* Copyright 2022-2023, Optimizely
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { Platform } from '../platform_support';
/** Standard interval (5 minutes in milliseconds) for polling datafile updates.; */
export declare const DEFAULT_UPDATE_INTERVAL: number;
/** Minimum allowed interval (30 seconds in milliseconds) for polling datafile updates. */
export declare const MIN_UPDATE_INTERVAL: number;
export declare const UPDATE_INTERVAL_BELOW_MINIMUM_MESSAGE: string;
export declare const DEFAULT_URL_TEMPLATE = "https://cdn.optimizely.com/datafiles/%s.json";
export declare const DEFAULT_AUTHENTICATED_URL_TEMPLATE = "https://config.optimizely.com/datafiles/auth/%s.json";
export declare const BACKOFF_BASE_WAIT_SECONDS_BY_ERROR_COUNT: number[];
export declare const REQUEST_TIMEOUT_MS: number;
export declare const __platforms: Platform[];