sobey-monitor-sdk 1.1.2 → 1.1.4

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.
@@ -9,7 +9,6 @@ declare class ConfigManager {
9
9
  private config;
10
10
  /**
11
11
  * 初始化配置
12
- * @param skipValidation 是否跳过必填校验(用于远程配置已获取 appId/dsn 的场景)
13
12
  */
14
13
  init(userConfig: MonitorConfig, skipValidation?: boolean): void;
15
14
  /**
@@ -43,7 +43,7 @@ export interface ErrorBoundaryState {
43
43
  * );
44
44
  * ```
45
45
  */
46
- export declare function createReactErrorBoundary(React: any, config: MonitorConfig): any;
46
+ export declare function createReactErrorBoundary(React: any, config?: MonitorConfig): any;
47
47
  /**
48
48
  * React Hook: 用于手动上报错误
49
49
  *
@@ -16,6 +16,6 @@ import type { MonitorConfig } from '../types';
16
16
  * ```
17
17
  */
18
18
  export declare const VueMonitorPlugin: {
19
- install(app: any, options: MonitorConfig): void;
19
+ install(app: any, options?: MonitorConfig): void;
20
20
  };
21
21
  export default VueMonitorPlugin;