@tarojs/taro 4.1.0-alpha.0 → 4.1.0-alpha.2

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": "4.1.0-alpha.0",
3
+ "version": "4.1.0-alpha.2",
4
4
  "description": "Taro framework",
5
5
  "author": "O2Team",
6
6
  "license": "MIT",
@@ -24,8 +24,8 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@types/postcss-url": "^10.0.4",
27
- "@tarojs/api": "4.1.0-alpha.0",
28
- "@tarojs/runtime": "4.1.0-alpha.0"
27
+ "@tarojs/api": "4.1.0-alpha.2",
28
+ "@tarojs/runtime": "4.1.0-alpha.2"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/react": "^18.3.1",
@@ -35,9 +35,9 @@
35
35
  "webpack-chain": "^6.5.1",
36
36
  "webpack-dev-server": "^4.15.2",
37
37
  "rollup": "^3.29.4",
38
- "@tarojs/components": "4.1.0-alpha.0",
39
- "@tarojs/helper": "4.1.0-alpha.0",
40
- "@tarojs/shared": "4.1.0-alpha.0"
38
+ "@tarojs/components": "4.1.0-alpha.2",
39
+ "@tarojs/helper": "4.1.0-alpha.2",
40
+ "@tarojs/shared": "4.1.0-alpha.2"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "@types/react": "^18",
@@ -48,9 +48,9 @@
48
48
  "webpack": "^5",
49
49
  "webpack-chain": "^6",
50
50
  "webpack-dev-server": "^4",
51
- "@tarojs/shared": "4.1.0-alpha.0",
52
- "@tarojs/components": "4.1.0-alpha.0",
53
- "@tarojs/helper": "4.1.0-alpha.0"
51
+ "@tarojs/helper": "4.1.0-alpha.2",
52
+ "@tarojs/components": "4.1.0-alpha.2",
53
+ "@tarojs/shared": "4.1.0-alpha.2"
54
54
  },
55
55
  "peerDependenciesMeta": {
56
56
  "@types/react": {
@@ -1,4 +1,4 @@
1
- import Taro, { DownloadTask, UploadTask } from "../../index"
1
+ import Taro from "../../index"
2
2
 
3
3
  declare module '../../index' {
4
4
  namespace cloud {
@@ -212,6 +212,10 @@ declare module '../../index' {
212
212
 
213
213
  /** 调用云托管参数 */
214
214
  interface CallContainerParam < P extends string | TaroGeneral.IAnyObject | ArrayBuffer = any | any > {
215
+ config?:{
216
+ /** 微信云托管的环境ID, 如果在 Taro.cloud.init 中配置了env, 则可以不配置。 */
217
+ env: string,
218
+ }
215
219
  /** 服务路径 */
216
220
  path: string
217
221
  /** HTTP请求方法,默认 GET */
@@ -320,7 +320,7 @@ declare module '../../index' {
320
320
  * @supported weapp
321
321
  * @see https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.setEnable1v1Chat.html
322
322
  */
323
- setEnable1v1Chat(option: subscribeVoIPVideoMembers.Option): Promise<TaroGeneral.CallbackResult>
323
+ setEnable1v1Chat(option: setEnable1v1Chat.Option): Promise<TaroGeneral.CallbackResult>
324
324
  /** 监听实时语音通话成员视频状态变化事件
325
325
  * @supported weapp
326
326
  * @see https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.onVoIPVideoMembersChanged.html
@@ -373,7 +373,7 @@ declare module '../../index' {
373
373
  */
374
374
  offVoIPChatInterrupted(callback: onVoIPChatInterrupted.Callback): void
375
375
  /** 加入 (创建) 实时语音通话,更多信息可见 [实时语音指南](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/voip-chat.html)
376
- *
376
+ *
377
377
  * 调用前需要用户授权 `scope.record`,若房间类型为视频房间需要用户授权 `scope.camera`。
378
378
  * @supported weapp
379
379
  * @see https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.joinVoIPChat.html