@tarojs/taro 3.6.22-alpha.4 → 3.6.22-alpha.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.22-alpha.
|
|
3
|
+
"version": "3.6.22-alpha.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,11 +21,11 @@
|
|
|
21
21
|
"author": "O2Team",
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@tarojs/
|
|
25
|
-
"@tarojs/
|
|
24
|
+
"@tarojs/runtime": "3.6.22-alpha.5",
|
|
25
|
+
"@tarojs/api": "3.6.22-alpha.5"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@tarojs/helper": "3.6.22-alpha.
|
|
28
|
+
"@tarojs/helper": "3.6.22-alpha.5"
|
|
29
29
|
},
|
|
30
30
|
"peerDependenciesMeta": {
|
|
31
31
|
"@types/react": {
|
|
@@ -127,7 +127,13 @@ declare module '../index' {
|
|
|
127
127
|
/** 小程序引用插件 JS 接口
|
|
128
128
|
* @supported weapp, alipay, h5, rn, jd, qq, swan, tt, quickapp
|
|
129
129
|
*/
|
|
130
|
-
requirePlugin
|
|
130
|
+
requirePlugin: {
|
|
131
|
+
(pluginName: string): any
|
|
132
|
+
/** @supported weapp */
|
|
133
|
+
(pluginName: string, success?: (mod: any) => any, error?: (e: { mod: any; errMsg: string }) => any): any;
|
|
134
|
+
/** @supported weapp */
|
|
135
|
+
async?: (pluginName: string) => Promise<any>
|
|
136
|
+
}
|
|
131
137
|
|
|
132
138
|
/** 获取当前页面实例
|
|
133
139
|
* @supported global
|