@tarojs/taro 4.1.9-beta.4 → 4.1.9-beta.6

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.9-beta.4",
3
+ "version": "4.1.9-beta.6",
4
4
  "description": "Taro framework",
5
5
  "author": "O2Team",
6
6
  "license": "MIT",
@@ -24,19 +24,18 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@types/postcss-url": "^10.0.4",
27
- "@tarojs/api": "4.1.9-beta.4",
28
- "@tarojs/runtime": "4.1.9-beta.4"
27
+ "@tarojs/api": "4.1.9-beta.6",
28
+ "@tarojs/runtime": "4.1.9-beta.6"
29
29
  },
30
30
  "devDependencies": {
31
31
  "html-webpack-plugin": "^5.6.0",
32
- "postcss": "^8.4.38",
33
32
  "webpack": "5.91.0",
34
33
  "webpack-chain": "^6.5.1",
35
34
  "webpack-dev-server": "^4.15.2",
36
35
  "rollup": "^3.29.4",
37
- "@tarojs/helper": "4.1.9-beta.4",
38
- "@tarojs/components": "4.1.9-beta.4",
39
- "@tarojs/shared": "4.1.9-beta.4"
36
+ "@tarojs/components": "4.1.9-beta.6",
37
+ "@tarojs/shared": "4.1.9-beta.6",
38
+ "@tarojs/helper": "4.1.9-beta.6"
40
39
  },
41
40
  "peerDependencies": {
42
41
  "@types/react": "^18",
@@ -47,9 +46,9 @@
47
46
  "webpack": "^5",
48
47
  "webpack-chain": "^6",
49
48
  "webpack-dev-server": "^4",
50
- "@tarojs/components": "4.1.9-beta.4",
51
- "@tarojs/helper": "4.1.9-beta.4",
52
- "@tarojs/shared": "4.1.9-beta.4"
49
+ "@tarojs/components": "4.1.9-beta.6",
50
+ "@tarojs/helper": "4.1.9-beta.6",
51
+ "@tarojs/shared": "4.1.9-beta.6"
53
52
  },
54
53
  "peerDependenciesMeta": {
55
54
  "@types/react": {
@@ -560,7 +560,7 @@ declare module '../../index' {
560
560
  }
561
561
  interface RemoveMarkersOption {
562
562
  /** marker 的 id 集合。 */
563
- markerIds: string[]
563
+ markerIds: number[]
564
564
  /** 接口调用结束的回调函数(调用成功、失败都会执行) */
565
565
  complete?: (res: TaroGeneral.CallbackResult) => void
566
566
  /** 接口调用失败的回调函数 */
@@ -609,7 +609,7 @@ declare module '../../index' {
609
609
  /** 聚合簇的坐标 */
610
610
  center: LatLng
611
611
  /** 该聚合簇内的点标记数据数组 */
612
- markerIds: string[]
612
+ markerIds: number[]
613
613
  }
614
614
  interface LatLng {
615
615
  /** 纬度值 */
@@ -3,26 +3,52 @@ import Taro from '../../index'
3
3
  declare module '../../index' {
4
4
  namespace updateShareMenu {
5
5
  interface Option {
6
- /** 动态消息的 activityId。通过 [updatableMessage.createActivityId](https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/updatable-message/updatableMessage.createActivityId.html) 接口获取 */
7
- activityId?: string
8
- /** 接口调用结束的回调函数(调用成功、失败都会执行) */
9
- complete?: (res: TaroGeneral.CallbackResult) => void
10
- /** 接口调用失败的回调函数 */
11
- fail?: (res: TaroGeneral.CallbackResult) => void
12
- /** 是否是动态消息,详见[动态消息](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/share/updatable-message.html) */
6
+ /** 是否使用带 shareTicket 的转发[详情](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/share.html)
7
+ * @default false
8
+ */
9
+ withShareTicket?: boolean
10
+ /** 是否是动态消息,详见[动态消息](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/share/updatable-message.html)
11
+ * @default false
12
+ */
13
13
  isUpdatableMessage?: boolean
14
+ /** 动态消息的 activityId。通过 [updatableMessage.createActivityId](https://developers.weixin.qq.com/miniprogram/dev/api/share/errorupdatableMessage.createActivityId)) 接口获取
15
+ */
16
+ activityId?: string
17
+ /** 群待办消息的id,通过toDoActivityId可以把多个群待办消息聚合为同一个。通过 [updatableMessage.createActivityId](https://developers.weixin.qq.com/miniprogram/dev/api/share/errorupdatableMessage.createActivityId) 接口获取。详见[群待办消息](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/share.html
18
+ */
19
+ toDoActivityId?: string
20
+ /** 动态消息的模板信息
21
+ */
22
+ templateInfo?: UpdatableMessageFrontEndTemplateInfo
23
+ /** 是否是私密消息。详见 [小程序私密消息](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/share/private-message.html)
24
+ */
25
+ isPrivateMessage?: boolean
26
+ /** 参与用户此聊天室下的 group_openid 列表
27
+ * @default []
28
+ */
29
+ participant?: string[]
30
+ /** 聊天工具模式特殊动态消息
31
+ * @default false
32
+ */
33
+ useForChatTool?: boolean
34
+ /** 指定成员的方式
35
+ * @default 1
36
+ */
37
+ chooseType?: number
14
38
  /** 接口调用成功的回调函数 */
15
39
  success?: (res: TaroGeneral.CallbackResult) => void
16
- /** 动态消息的模板信息 */
17
- templateInfo?: UpdatableMessageFrontEndTemplateInfo
18
- /** 是否使用带 shareTicket 的转发[详情](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/share.html) */
19
- withShareTicket?: boolean
40
+ /** 接口调用失败的回调函数 */
41
+ fail?: (res: TaroGeneral.CallbackResult) => void
42
+ /** 接口调用结束的回调函数(调用成功、失败都会执行) */
43
+ complete?: (res: TaroGeneral.CallbackResult) => void
20
44
  }
21
45
 
22
46
  /** 动态消息的模板信息 */
23
47
  interface UpdatableMessageFrontEndTemplateInfo {
24
48
  /** 参数列表 */
25
49
  parameterList: UpdatableMessageFrontEndParameter[]
50
+ /** 模板ID */
51
+ templateId: string
26
52
  }
27
53
  /** 参数列表 */
28
54
  interface UpdatableMessageFrontEndParameter {