@@ -170,6 +170,14 @@ declare namespace WechatMiniprogram {
170
170
fail?: AddPhoneCalendarFailCallback
171
171
/** 事件位置 */
172
172
location?: string
173
+ /** 需要基础库: `3.7.6`
174
+ *
175
+ * 跳转小程序路径,必须要和 signature 一起使用,填入后会自动生成跳转链接拼接在事件说明中 */
176
+ path?: string
177
+ /** 需要基础库: `3.7.6`
178
+ *
179
+ * 跳转小程序路径签名,必须要和 path 一起使用,用 session_key 对 path 签名得到的结果,即 `hmac_sha256(session_key, path)`。详见 [用户数据的签名验证和加解密](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/signature.html) */
180
+ signature?: string
173
181
/** 接口调用成功的回调函数 */
174
182
success?: AddPhoneCalendarSuccessCallback
175
183
}
@@ -266,6 +274,10 @@ declare namespace WechatMiniprogram {
266
274
fail?: AddPhoneRepeatCalendarFailCallback
267
275
/** 事件位置 */
268
276
location?: string
277
+ /** 需要基础库: `3.7.6`
278
+ *
279
+ * 跳转小程序路径,必须要和 signature 一起使用,填入后会自动生成跳转链接拼接在事件说明中 */
280
+ path?: string
269
281
/** 重复周期结束时间的 unix 时间戳,不填表示一直重复 */
270
282
repeatEndTime?: number
271
283
/** 重复周期,默认 month 每月重复
@@ -276,6 +288,10 @@ declare namespace WechatMiniprogram {
276
288
* - 'month': 每月重复。该模式日期不能大于 28 日;
277
289
* - 'year': 每年重复; */
278
290
repeatInterval?: 'day' | 'week' | 'month' | 'year'
291
+ /** 需要基础库: `3.7.6`
292
+ *
293
+ * 跳转小程序路径签名,必须要和 path 一起使用,用 session_key 对 path 签名得到的结果,即 `hmac_sha256(session_key, path)`。详见 [用户数据的签名验证和加解密](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/signature.html) */
294
+ signature?: string
279
295
/** 接口调用成功的回调函数 */
280
296
success?: AddPhoneRepeatCalendarSuccessCallback
281
297
}
@@ -4667,10 +4683,6 @@ ctx.draw()
4667
4683
*
4668
4684
* 是否开启 http2 */
4669
4685
enableHttp2?: boolean
4670
- /** 需要基础库: `3.7.0`
4671
- *
4672
- * 等同于 enableQuic 参数。enableQuic 和 enableHttp3 其中一个参数传 true 就会生效。目前只在 Android 端生效。 */
4673
- enableHttp3?: boolean
4674
4686
/** 是否开启 profile,默认开启。开启后可在接口回调的 res.profile 中查看性能调试信息。 */
4675
4687
enableProfile?: boolean
4676
4688
/** 需要基础库: `2.10.4`
@@ -9917,10 +9929,6 @@ NFCAdapter.offDiscovered(listener) // 需传入与监听时同一个的函数对
9917
9929
*
9918
9930
* 开启 http2 */
9919
9931
enableHttp2?: boolean
9920
- /** 需要基础库: `3.7.0`
9921
- *
9922
- * 等同于 enableQuic 参数。enableQuic 和 enableHttp3 其中一个参数传 true 就会生效。目前只在 Android 端生效。 */
9923
- enableHttp3?: boolean
9924
9932
/** 需要基础库: `2.19.1`
9925
9933
*
9926
9934
* 是否开启 HttpDNS 服务。如开启,需要同时填入 httpDNSServiceId 。 HttpDNS 用法详见 [移动解析HttpDNS](https://developers.weixin.qq.com/miniprogram/dev/framework/ability/HTTPDNS.html) */
@@ -11241,7 +11249,7 @@ wx.createSelectorQuery()
11241
11249
}
11242
11250
/** Snapshot 实例,可通过 [SelectorQuery](https://developers.weixin.qq.com/miniprogram/dev/api/wxml/SelectorQuery.html) 获取。
11243
11251
*
11244
- * [Snapshot](https://developers.weixin.qq.com/miniprogram/dev/api/skyline/Snapshot.html) 通过 `id` 跟一个 [snapshot](https://developers.weixin.qq.com/miniprogram/dev/component/snapshot.html ) 组件绑定,操作对应的 [snapshot](https://developers.weixin.qq.com/miniprogram/dev/component/snapshot.html ) 组件。
11252
+ * [Snapshot](https://developers.weixin.qq.com/miniprogram/dev/api/skyline/Snapshot.html) 通过 `id` 跟一个 [snapshot](# ) 组件绑定,操作对应的 [snapshot](# ) 组件。
11245
11253
*
11246
11254
* **示例代码**
11247
11255
*
@@ -12588,10 +12596,6 @@ session.run({
12588
12596
*
12589
12597
* 是否开启 http2 */
12590
12598
enableHttp2?: boolean
12591
- /** 需要基础库: `3.7.0`
12592
- *
12593
- * 等同于 enableQuic 参数。enableQuic 和 enableHttp3 其中一个参数传 true 就会生效。目前只在 Android 端生效。 */
12594
- enableHttp3?: boolean
12595
12599
/** 是否开启 profile,默认开启。开启后可在接口回调的 res.profile 中查看性能调试信息。目前仅 iOS 端支持。 */
12596
12600
enableProfile?: boolean
12597
12601
/** 需要基础库: `2.10.4`
@@ -20269,7 +20273,7 @@ userCryptoManager.getRandomValues({
20269
20273
*
20270
20274
* 设置倍速播放 */
20271
20275
playbackRate(
20272
- /** 倍率,支持 0.5/0.8/1.0/1.25/1.5,2.6.3 起支持 2.0 倍速 */
20276
+ /** 倍率,支持 0.5/0.8/1.0/1.25/1.5,2.6.3 起支持 2.0 倍速,3.7.5 起支持 3.0/4.0 倍速 */
20273
20277
rate: number
20274
20278
): void
20275
20279
/** [VideoContext.reconnectCasting()](https://developers.weixin.qq.com/miniprogram/dev/api/media/video/VideoContext.reconnectCasting.html)
@@ -23707,7 +23711,7 @@ wx.getGroupEnterInfo({
23707
23711
*
23708
23712
* **Tips**
23709
23713
*
23710
- * - 如需要展示群名称,小程序可以使用[开放数据组件](https://developers.weixin.qq.com/miniprogram/dev/component/open-data.html)
23714
+ * - 如需要展示群名称,小程序可以使用[开放数据组件](https://developers.weixin.qq.com/miniprogram/dev/component/open-ability/open- data.html)
23711
23715
* - 小游戏可以通过 `wx.getGroupInfo` 接口获取群名称 */
23712
23716
getGroupEnterInfo(option: GetGroupEnterInfoOption): void
23713
23717
/** [wx.getHCEState(Object object)](https://developers.weixin.qq.com/miniprogram/dev/api/device/nfc-hce/wx.getHCEState.html)
@@ -24117,7 +24121,7 @@ wx.getSetting({
24117
24121
*
24118
24122
* **Tips**
24119
24123
*
24120
- * - 如需要展示群名称,小程序可以使用 [开放数据组件](https://developers.weixin.qq.com/miniprogram/dev/component/open-data.html)
24124
+ * - 如需要展示群名称,小程序可以使用 [开放数据组件](https://developers.weixin.qq.com/miniprogram/dev/component/open-ability/open- data.html)
24121
24125
* - 小游戏可以通过 [`wx.getGroupInfo`](#) 接口获取群名称 */
24122
24126
getShareInfo<T extends GetShareInfoOption = GetShareInfoOption>(
24123
24127
option: T
0 commit comments