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.
- package/dist/core/config.d.ts +0 -1
- package/dist/frameworks/react.d.ts +1 -1
- package/dist/frameworks/vue.d.ts +1 -1
- package/dist/index.cjs.js +261 -155
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +27 -19
- package/dist/index.esm.js +261 -155
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +261 -155
- package/dist/index.umd.js.map +1 -1
- package/dist/reporter/index.d.ts +18 -0
- package/package.json +1 -1
package/dist/core/config.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ export interface ErrorBoundaryState {
|
|
|
43
43
|
* );
|
|
44
44
|
* ```
|
|
45
45
|
*/
|
|
46
|
-
export declare function createReactErrorBoundary(React: any, config
|
|
46
|
+
export declare function createReactErrorBoundary(React: any, config?: MonitorConfig): any;
|
|
47
47
|
/**
|
|
48
48
|
* React Hook: 用于手动上报错误
|
|
49
49
|
*
|
package/dist/frameworks/vue.d.ts
CHANGED