@hyext/types-ext-sdk-hy 3.14.0 → 3.14.1-beta.3

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.
Files changed (2) hide show
  1. package/index.d.ts +5 -3
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1751,14 +1751,14 @@ type consts = Consts;
1751
1751
  namespace context {
1752
1752
  /**
1753
1753
  * 监听直播间消息
1754
- * @param topic - 宿主消息名, activated-小程序激活, subscribeSubmit-【观众端】当前观众订阅状态发生变化, giftSubmit-【观众端】当前观众送礼, barrageSubmit-当前用户发送弹幕, unzipProgress-每个任务的解压进度, userInteract-用户交互信息, openCoinPanelClosed-能量豆弹窗关闭
1754
+ * @param topic - 宿主消息名, activated-小程序激活, subscribeSubmit-【观众端】当前观众订阅状态发生变化, giftSubmit-【观众端】当前观众送礼, barrageSubmit-当前用户发送弹幕, unzipProgress-每个任务的解压进度, userInteract-用户交互信息, openCoinPanelClosed-能量豆弹窗关闭, uiVisibilityStateChange-工具栏状态
1755
1755
  * @param callback - 收到消息时回调 返回消息内容
1756
1756
  * @returns 调用结果
1757
1757
  */
1758
1758
  function on(topic: string, callback: ContextOnCallback): void;
1759
1759
  /**
1760
1760
  * 取消监听直播间消息
1761
- * @param topic - 宿主消息名, activated-小程序激活, subscribeSubmit-【观众端】当前观众订阅状态发生变化, giftSubmit-【观众端】当前观众送礼, barrageSubmit-当前用户发送弹幕, unzipProgress-每个任务的解压进度, userInteract-用户交互信息, openCoinPanelClosed-能量豆弹窗关闭
1761
+ * @param topic - 宿主消息名, activated-小程序激活, subscribeSubmit-【观众端】当前观众订阅状态发生变化, giftSubmit-【观众端】当前观众送礼, barrageSubmit-当前用户发送弹幕, unzipProgress-每个任务的解压进度, userInteract-用户交互信息, openCoinPanelClosed-能量豆弹窗关闭, uiVisibilityStateChange-工具栏状态
1762
1762
  * @param [callback] - 收到消息时回调 返回消息内容
1763
1763
  * @returns 调用结果
1764
1764
  */
@@ -5272,7 +5272,7 @@ type SetPanelDimParams = {
5272
5272
  };
5273
5273
 
5274
5274
  /**
5275
- * 玩家模块
5275
+ * 播放器模块
5276
5276
  */
5277
5277
  namespace player {
5278
5278
  /**
@@ -5693,6 +5693,7 @@ type SetModeRsp = {
5693
5693
  * @property [showTime] - 弹窗期望的展示时间,单位是毫秒
5694
5694
  * @property [containerHeight] - NOTICE模式下自定义容器高度,单位是点或者像素
5695
5695
  * @property [maskHeight] - BOTTOM_BANNER模式下公屏向上顶开的高度,单位是点或者像素
5696
+ * @property [additionReportParams] - 额外上报参数
5696
5697
  */
5697
5698
  type SetModeReq = {
5698
5699
  mode: string;
@@ -5701,6 +5702,7 @@ type SetModeReq = {
5701
5702
  showTime?: number;
5702
5703
  containerHeight?: number;
5703
5704
  maskHeight?: number;
5705
+ additionReportParams?: any;
5704
5706
  };
5705
5707
 
5706
5708
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyext/types-ext-sdk-hy",
3
- "version": "3.14.0",
3
+ "version": "3.14.1-beta.3",
4
4
  "description": "TypeScript definitions for @hyext/ext-sdk-hy",
5
5
  "types": "./index.d.ts",
6
6
  "main": "",