@tarojs/taro 3.5.0 → 3.5.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/taro",
3
- "version": "3.5.0",
3
+ "version": "3.5.1",
4
4
  "description": "Taro framework",
5
5
  "homepage": "https://github.com/nervjs/taro/tree/master/packages/taro#readme",
6
6
  "main": "index.js",
@@ -21,8 +21,8 @@
21
21
  "author": "O2Team",
22
22
  "license": "MIT",
23
23
  "dependencies": {
24
- "@tarojs/api": "3.5.0",
25
- "@tarojs/runtime": "3.5.0"
24
+ "@tarojs/api": "3.5.1",
25
+ "@tarojs/runtime": "3.5.1"
26
26
  },
27
27
  "peerDependenciesMeta": {
28
28
  "@types/react": {
@@ -172,9 +172,9 @@ declare module './index' {
172
172
  shouldComponentUpdate?(nextProps: Readonly<P>, nextState: Readonly<S>, nextContext: any): boolean
173
173
  componentWillUpdate?(nextProps: Readonly<P>, nextState: Readonly<S>, nextContext: any): void
174
174
  componentWillUnmount?(): void
175
+ componentDidCatch?(err: string): void
175
176
  componentDidShow?(): void
176
177
  componentDidHide?(): void
177
- componentDidCatchError?(err: string): void
178
178
  componentDidNotFound?(opt: PageNotFoundObject): void
179
179
  }
180
180