UNPKG

@sdc-monitor/demo

Version:

<div align="center"> <a href="#" target="_blank"> <img src="https://i.loli.net/2021/07/28/EvPwd4NjVH3tBfO.jpg" alt="mito-logo" height="90"> </a> <p>A Lightweight SDK For Monitor Web</p>

83 lines (41 loc) 2.31 kB
## [3.0.1](https://github.com/mitojs/mitojs/compare/v3.0.0...v3.0.1) (2021-12-02) ### Bug Fixes * **utils/errorid:** correct getRealPath ([e242098](https://github.com/mitojs/mitojs/commit/e2420989f611883558e9c700a55dcb3d578f40f1)) ### Features * **wx-mini:** add options param in OnShareTimeline and OnShareAppMessage ([d2ea0c2](https://github.com/mitojs/mitojs/commit/d2ea0c2e1c07b5ccc83ab4c4d0251718287a3ef9)) * **wx-mini:** add silentPageOnShareAppMessage and silentPageOnShareTimeline ([b0e51b4](https://github.com/mitojs/mitojs/commit/b0e51b47665d820f18a4368708bf850d7a411bec)) ### BREAKING CHANGES #### **wx-mini:** * onShareAppMessage to pageOnShareAppMessage * onShareTimeline to pageOnShareTimeline * onTabItemTap to pageOnTabItemTap * onPageNotFound to appOnPageNotFound # [3.0.0](https://github.com/mitojs/mitojs/compare/2.1.19...3.0.0) (2021-10-08) ### Features * add react [ErrorBoundary component](https://mitojs.github.io/mito-doc/#/sdk/guide/react#add-errorboundary) * collect Vue3 prop data when code error [@sdc-monitor/vue](https://mitojs.github.io/mito-doc/#/sdk/guide/vue#vue3x) * multiple instances,more info [click here](https://mitojs.github.io/mito-doc/#/sdk/guide/basic-configuration#multiple-instances) * add wx-mini hooks: * pageOnLoad * pageOnUnload * add wx-mini options: * silentRequest * silentRoute * silentAppOnError * silentAppOnUnhandledRejection * silentAppOnPageNotFound ### Documentation * **docuemnt:** new [document](https://mitojs.github.io/mito-doc/#/) for mitojs ### BREAKING CHANGES * **browser:** the singleton change to multiple instances,more info [click here](https://mitojs.github.io/mito-doc/#/sdk/guide/basic-configuration#multiple-instances) * **remove MITO.log** and add [MitoInstance.log](https://mitojs.github.io/mito-doc/#/sdk/guide/basic-configuration#manual-reporting) * **remove window.\_\_MITO\_\_** and replace to [MitoInstance](https://mitojs.github.io/mito-doc/#/sdk/guide/basic-configuration#multiple-instances) * **ErrorTypes change:** JAVASCRIPT_ERROR change to JAVASCRIPT LOG_ERROR change to LOG HTTP_ERROR change to HTTP VUE_ERROR change to VUE REACT_ERROR change to REACT RESOURCE_ERROR change to RESOURCE PROMISE_ERROR change to PROMISE ROUTE_ERROR change to ROUTE