@lark-sentry/core 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,12 @@
1
+ import { IOptions, SentryPlugin } from '@lark-sentry/types';
2
+ import { Plugin } from 'vue';
3
+ import { Component, ErrorInfo } from 'react';
4
+
5
+ declare function init(options: Partial<Omit<IOptions, "dsn">> & NonNullable<Pick<IOptions, "dsn">>): void;
6
+ declare const vuePlugin: Plugin;
7
+ declare class ReactErrorBoundary extends Component {
8
+ componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
9
+ }
10
+ declare function use<T extends SentryPlugin, U = any>(Plugin: new (options?: U) => T, options?: U): void;
11
+
12
+ export { ReactErrorBoundary, init, use, vuePlugin };
@@ -0,0 +1,12 @@
1
+ import { IOptions, SentryPlugin } from '@lark-sentry/types';
2
+ import { Plugin } from 'vue';
3
+ import { Component, ErrorInfo } from 'react';
4
+
5
+ declare function init(options: Partial<Omit<IOptions, "dsn">> & NonNullable<Pick<IOptions, "dsn">>): void;
6
+ declare const vuePlugin: Plugin;
7
+ declare class ReactErrorBoundary extends Component {
8
+ componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
9
+ }
10
+ declare function use<T extends SentryPlugin, U = any>(Plugin: new (options?: U) => T, options?: U): void;
11
+
12
+ export { ReactErrorBoundary, init, use, vuePlugin };