@tarojs/taro 3.3.5 → 3.3.9
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.3.
|
|
3
|
+
"version": "3.3.9",
|
|
4
4
|
"description": "Taro framework",
|
|
5
5
|
"homepage": "https://github.com/nervjs/taro/tree/master/packages/taro#readme",
|
|
6
6
|
"main": "index.js",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"author": "O2Team",
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@tarojs/api": "3.3.
|
|
30
|
-
"@tarojs/runtime": "3.3.
|
|
31
|
-
"@tarojs/taro-h5": "3.3.
|
|
29
|
+
"@tarojs/api": "3.3.9",
|
|
30
|
+
"@tarojs/runtime": "3.3.9",
|
|
31
|
+
"@tarojs/taro-h5": "3.3.9"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "dfea7ab7ac6f5abb8bb344595eadc0993d752eae"
|
|
34
34
|
}
|
|
@@ -18,10 +18,10 @@ declare namespace Taro {
|
|
|
18
18
|
* ```tsx
|
|
19
19
|
* Taro.exitMiniProgram()
|
|
20
20
|
* ···
|
|
21
|
-
*
|
|
21
|
+
*
|
|
22
22
|
* @see https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.exitMiniProgram.html
|
|
23
23
|
*/
|
|
24
|
-
function exitMiniProgram(option
|
|
24
|
+
function exitMiniProgram(option?: exitMiniProgram.Option): Promise<General.CallbackResult>
|
|
25
25
|
|
|
26
26
|
namespace navigateToMiniProgram {
|
|
27
27
|
interface Option {
|
|
@@ -20,9 +20,9 @@ declare namespace Taro {
|
|
|
20
20
|
* }
|
|
21
21
|
* })
|
|
22
22
|
* ```
|
|
23
|
-
* @see https://developers.weixin.qq.com/
|
|
23
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/api/device/keyboard/wx.hideKeyboard.html
|
|
24
24
|
*/
|
|
25
|
-
function hideKeyboard(option?: hideKeyboard.Option):
|
|
25
|
+
function hideKeyboard(option?: hideKeyboard.Option): Promise<General.CallbackResult>
|
|
26
26
|
|
|
27
27
|
namespace getSelectedTextRange {
|
|
28
28
|
interface Option {
|
|
@@ -53,7 +53,7 @@ declare namespace Taro {
|
|
|
53
53
|
* }
|
|
54
54
|
* })
|
|
55
55
|
* ```
|
|
56
|
-
* @see https://developers.weixin.qq.com/miniprogram/dev/api/
|
|
56
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/api/device/keyboard/wx.getSelectedTextRange.html
|
|
57
57
|
*/
|
|
58
58
|
function getSelectedTextRange(option?: getSelectedTextRange.Option): Promise<getSelectedTextRange.SuccessCallbackResult>
|
|
59
59
|
|
|
@@ -75,14 +75,14 @@ declare namespace Taro {
|
|
|
75
75
|
* console.log(res.height)
|
|
76
76
|
* })
|
|
77
77
|
* ```
|
|
78
|
-
* @see https://developers.weixin.qq.com/miniprogram/dev/api/
|
|
78
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/api/device/keyboard/wx.onKeyboardHeightChange.html
|
|
79
79
|
*/
|
|
80
80
|
function onKeyboardHeightChange(callback: onKeyboardHeightChange.Callback): void
|
|
81
81
|
|
|
82
82
|
/**
|
|
83
83
|
* 取消监听键盘高度变化事件。
|
|
84
84
|
* @supported weapp, rn
|
|
85
|
-
* @see https://developers.weixin.qq.com/miniprogram/dev/api/
|
|
85
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/api/device/keyboard/wx.offKeyboardHeightChange.html
|
|
86
86
|
*/
|
|
87
87
|
function offKeyboardHeightChange(
|
|
88
88
|
/** 键盘高度变化事件的回调函数 */
|