@sentry/remix
Version:
Official Sentry SDK for Remix
13 lines • 747 B
TypeScript
import type { BrowserOptions } from '@sentry/browser';
import { type Client, type Integration } from '@sentry/core';
/**
* Default integrations for the Remix 3 client SDK.
*
* Browser tracing is added here rather than left to the app, because the Navigation API variant is the
* only one that reports anything in Remix 3. Everything else is plain `@sentry/browser`. Nothing from
* `@sentry/react` applies: `remix/component` is its own runtime, with no React and no reconciler to hook.
*/
export declare function getDefaultIntegrations(options: BrowserOptions): Integration[];
/** Initialize the Sentry Remix 3 SDK in the browser. */
export declare function init(options: BrowserOptions): Client | undefined;
//# sourceMappingURL=sdk.d.ts.map