@dash0/sdk-web
Version:
Dash0's Web SDK to collect telemetry from end-users' web browsers
15 lines (12 loc) • 450 B
text/typescript
import { debug, INIT_MESSAGE } from "../utils";
import { init as initApi, InitOptions } from "../api/init";
export * from "../api/identify";
export * from "../api/debug";
export * from "../api/attributes";
export * from "../api/events";
export { terminateSession } from "../api/session";
export { reportError } from "../api/report-error";
export function init(opts: InitOptions): void {
debug(`${INIT_MESSAGE} (via package)`);
initApi(opts);
}