@tarojs/taro 3.6.22-alpha.3 → 3.6.22-nightly.0

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",
3
+ "version": "3.6.22-nightly.0",
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/api": "3.6.22-alpha.3",
25
- "@tarojs/runtime": "3.6.22-alpha.3"
24
+ "@tarojs/runtime": "3.6.22-nightly.0",
25
+ "@tarojs/api": "3.6.22-nightly.0"
26
26
  },
27
27
  "devDependencies": {
28
- "@tarojs/helper": "3.6.22-alpha.3"
28
+ "@tarojs/helper": "3.6.22-nightly.0"
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(pluginName: string): any
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
@@ -103,10 +103,4 @@ export interface IMiniAppConfig {
103
103
 
104
104
  /** 插件内部使用 */
105
105
  runtime?: Runtime
106
-
107
- /** 体验式功能 */
108
- experimental?: {
109
- /** 是否开启编译模式 */
110
- compileMode?: boolean
111
- }
112
106
  }