hypertune
Version:
[Hypertune](https://www.hypertune.com/) is the most flexible platform for feature flags, A/B testing, analytics and app configuration. Built with full end-to-end type-safety, Git-style version control and local, synchronous, in-memory flag evaluation. Opt
26 lines • 988 B
TypeScript
import { InitData, LocalLogger, ObjectValue, InitDataProvider, InitQuery, HashData } from "../../shared/types";
export default class HypertuneEdgeInitDataProvider implements InitDataProvider {
private readonly baseUrl;
private readonly token;
private readonly branchName;
private readonly tracedFetch;
constructor({ baseUrl, token, branchName, localLogger, timeoutMs, }: {
baseUrl: string;
token: string;
branchName?: string | null;
localLogger?: LocalLogger;
timeoutMs?: number;
});
getName(): string;
getInitData({ traceId, initQuery, variableValues, }: {
traceId: string;
initQuery: InitQuery;
variableValues: ObjectValue;
}): Promise<InitData>;
getHashData({ traceId, initQuery, variableValues, }: {
traceId: string;
initQuery: InitQuery;
variableValues: ObjectValue;
}): Promise<HashData>;
}
//# sourceMappingURL=HypertuneEdgeInitDataProvider.d.ts.map