@tarojs/taro 3.6.28 → 3.6.29

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.6.28",
3
+ "version": "3.6.29",
4
4
  "description": "Taro framework",
5
5
  "homepage": "https://github.com/nervjs/taro/tree/master/packages/taro#readme",
6
6
  "main": "index.js",
@@ -21,15 +21,15 @@
21
21
  "author": "O2Team",
22
22
  "license": "MIT",
23
23
  "dependencies": {
24
- "@tarojs/api": "3.6.28"
24
+ "@tarojs/api": "3.6.29"
25
25
  },
26
26
  "devDependencies": {
27
- "@tarojs/helper": "3.6.28",
28
- "@tarojs/runtime": "3.6.28"
27
+ "@tarojs/helper": "3.6.29",
28
+ "@tarojs/runtime": "3.6.29"
29
29
  },
30
30
  "peerDependencies": {
31
- "@tarojs/helper": "~3.6.28",
32
- "@tarojs/runtime": "~3.6.28"
31
+ "@tarojs/helper": "~3.6.29",
32
+ "@tarojs/runtime": "~3.6.29"
33
33
  },
34
34
  "peerDependenciesMeta": {
35
35
  "@types/react": {
@@ -78,7 +78,7 @@ declare module '../../index' {
78
78
  /** 接口调用失败的回调函数 */
79
79
  fail?: (res: TaroGeneral.CallbackResult) => void
80
80
  /** 接口调用结束的回调函数(调用成功、失败都会执行) */
81
- complete?: (res: TaroGeneral.CallbackResult) => void
81
+ complete?: (res: Partial<SuccessCallbackResult> & TaroGeneral.CallbackResult) => void
82
82
  /** 设置是否使用 jsonp 方式获取数据
83
83
  * @default false
84
84
  * @supported h5
@@ -561,7 +561,7 @@ declare module './index' {
561
561
  */
562
562
  themeLocation?: string
563
563
  /** 配置自定义组件代码按需注入 */
564
- lazyCodeLoading?: string
564
+ lazyCodeLoading?: 'requiredComponents' | string
565
565
  /** 单页模式相关配置 */
566
566
  singlePage?: SinglePage
567
567
  /** 聊天素材小程序打开相关配置