@tarojs/taro 3.6.0-canary.3 → 3.6.0-canary.5
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.0-canary.
|
|
3
|
+
"version": "3.6.0-canary.5",
|
|
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.6.0-canary.
|
|
25
|
-
"@tarojs/runtime": "3.6.0-canary.
|
|
24
|
+
"@tarojs/api": "3.6.0-canary.5",
|
|
25
|
+
"@tarojs/runtime": "3.6.0-canary.5"
|
|
26
26
|
},
|
|
27
27
|
"peerDependenciesMeta": {
|
|
28
28
|
"@types/react": {
|
|
@@ -100,7 +100,7 @@ declare module '../../index' {
|
|
|
100
100
|
* @supported weapp
|
|
101
101
|
* @see https://developers.weixin.qq.com/miniprogram/dev/api/device/contact/wx.chooseContact.html
|
|
102
102
|
*/
|
|
103
|
-
chooseContact(option: chooseContact.Option): Promise<
|
|
103
|
+
chooseContact(option: chooseContact.Option): Promise<chooseContact.SuccessCallbackResult>
|
|
104
104
|
/** 添加手机通讯录联系人。用户可以选择将该表单以「新增联系人」或「添加到已有联系人」的方式,写入手机系统通讯录。
|
|
105
105
|
* @supported weapp
|
|
106
106
|
* @see https://developers.weixin.qq.com/miniprogram/dev/api/device/contact/wx.addPhoneContact.html
|
|
@@ -62,7 +62,8 @@ declare module '../../index' {
|
|
|
62
62
|
/** 实际设置的缩放级别。由于系统限制,某些机型可能无法设置成指定值,会改用最接近的可设值。 */
|
|
63
63
|
zoom: number
|
|
64
64
|
/**
|
|
65
|
-
* @supported alipay
|
|
65
|
+
* @supported alipay
|
|
66
|
+
* @alipay on android
|
|
66
67
|
*/
|
|
67
68
|
setZoom:number
|
|
68
69
|
}
|
|
@@ -86,19 +87,19 @@ declare module '../../index' {
|
|
|
86
87
|
/** 视频的文件的临时路径 */
|
|
87
88
|
tempVideoPath: string
|
|
88
89
|
/** 视频文件的高度。
|
|
89
|
-
* @supported alipay
|
|
90
|
+
* @supported alipay
|
|
90
91
|
*/
|
|
91
92
|
height: string
|
|
92
93
|
/** 视频文件的宽度。
|
|
93
|
-
* @supported alipay
|
|
94
|
+
* @supported alipay
|
|
94
95
|
*/
|
|
95
96
|
width: string
|
|
96
97
|
/** 视频文件的尺寸。
|
|
97
|
-
* @supported alipay
|
|
98
|
+
* @supported alipay
|
|
98
99
|
*/
|
|
99
100
|
size: string
|
|
100
101
|
/** 录制的持续时间。
|
|
101
|
-
* @supported alipay
|
|
102
|
+
* @supported alipay
|
|
102
103
|
*/
|
|
103
104
|
duration: string
|
|
104
105
|
}
|
|
@@ -198,7 +199,6 @@ declare module '../../index' {
|
|
|
198
199
|
* ```
|
|
199
200
|
* @see https://developers.weixin.qq.com/miniprogram/dev/api/media/camera/wx.createCameraContext.html
|
|
200
201
|
*/
|
|
201
|
-
createCameraContext(): CameraContext
|
|
202
|
-
createCameraContext(id: string): CameraContext
|
|
202
|
+
createCameraContext(id?: string): CameraContext
|
|
203
203
|
}
|
|
204
204
|
}
|
|
@@ -505,7 +505,7 @@ declare module '../../index' {
|
|
|
505
505
|
* ```tsx
|
|
506
506
|
* const observer = Taro.createIntersectionObserver(this, { thresholds: [0], observeAll: true })
|
|
507
507
|
* ```
|
|
508
|
-
* @see https://developers.weixin.qq.com/miniprogram/dev/api/wxml/wx.
|
|
508
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/api/wxml/wx.createIntersectionObserver.html
|
|
509
509
|
*/
|
|
510
510
|
createIntersectionObserver(
|
|
511
511
|
/** 自定义组件实例 */
|