@tarojs/taro 3.6.24 → 3.6.26-alpha.1

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.24",
3
+ "version": "3.6.26-alpha.1",
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.24"
24
+ "@tarojs/api": "3.6.26-alpha.1"
25
25
  },
26
26
  "devDependencies": {
27
- "@tarojs/helper": "3.6.24",
28
- "@tarojs/runtime": "3.6.24"
27
+ "@tarojs/helper": "3.6.26-alpha.1",
28
+ "@tarojs/runtime": "3.6.26-alpha.1"
29
29
  },
30
30
  "peerDependencies": {
31
- "@tarojs/helper": "~3.6.24",
32
- "@tarojs/runtime": "~3.6.24"
31
+ "@tarojs/helper": "~3.6.26-alpha.1",
32
+ "@tarojs/runtime": "~3.6.26-alpha.1"
33
33
  },
34
34
  "peerDependenciesMeta": {
35
35
  "@types/react": {
@@ -256,7 +256,7 @@ declare module '../../index' {
256
256
  ): T
257
257
 
258
258
  /** Taro.getStorageInfo 的同步版本
259
- * @supported weapp, alipay, swan, jd, qq, tt, h5, rn, harmony_hybrid
259
+ * @supported weapp, alipay, swan, jd, qq, tt, h5, harmony_hybrid
260
260
  * @example
261
261
  * ```tsx
262
262
  * try {
@@ -96,7 +96,7 @@ export interface IH5Config {
96
96
  /** 配置需要额外的经由 Taro 预设的 postcss 编译的模块 */
97
97
  esnextModules?: string[]
98
98
 
99
- /** 用于控制在 H5 端是否使用兼容性组件库,详情请看 [React 兼容性组件库](https://taro-docs.jd.com/docs/next/h5#react-兼容性组件库)。(默认值:false) */
99
+ /** 用于控制在 H5 端是否使用兼容性组件库,详情请看 [React 兼容性组件库](https://taro-docs.jd.com/docs/h5#react-兼容性组件库)。(默认值:false) */
100
100
  useHtmlComponents?: boolean
101
101
 
102
102
  /** 用于控制在 H5 端是否使用旧版本适配器,旧版本采用全局注册组件,懒加载组件相关依赖;新版本适配器会自动注册相关组件,不再需要引入 @tarojs/components/loader 中的全局 defineCustomElements 方法。(默认值:false) */
@@ -20,7 +20,7 @@ export interface IRNConfig {
20
20
  /** [less](https://lesscss.org/usage/#less-options) 相关配置 */
21
21
  less?: IOption
22
22
 
23
- /** [stylus](https://github.com/NervJS/taro/blob/next/packages/taro-rn-style-transformer/README.md#rnstylus) 相关配置 */
23
+ /** [stylus](https://github.com/NervJS/taro/blob/main/packages/taro-rn-style-transformer/README.md#rnstylus) 相关配置 */
24
24
  stylus?: IOption
25
25
 
26
26
  /** 配置 postcss 相关插件 */
@@ -139,5 +139,7 @@ declare module './index' {
139
139
  path?: string
140
140
  /** 页面的组件选项 */
141
141
  options?: Record<string, unknown>
142
+ /** 获得一个 EventChannel 对象,用于页面间通讯 */
143
+ getOpenerEventChannel?(): Record<string, any>
142
144
  }
143
145
  }