UNPKG

483 BTypeScriptView Raw
1/**
2 * Appends the app metadata into the User-Agent value
3 * @param appMetadata.name - name of tool to be counted in instrumentation
4 * @param appMetadata.version - version of tool to be counted in instrumentation
5 */
6export declare function addAppMetadata({ name, version }: {
7 name: string;
8 version: string;
9}): void;
10/**
11 * Returns the current User-Agent value for instrumentation
12 */
13export declare function getUserAgent(): string;
14//# sourceMappingURL=instrument.d.ts.map
\No newline at end of file