@hyext/types-ext-sdk-hy 3.13.4-beta.2 → 3.13.4-beta.4

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 +13 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1956,6 +1956,12 @@ namespace context {
1956
1956
  * @returns 返回结果
1957
1957
  */
1958
1958
  function openExternalUrl(params: UrlParams): Promise<void>;
1959
+ /**
1960
+ * 设置弹幕输入框占位符
1961
+ * @param params - 请求参数
1962
+ * @returns 返回结果
1963
+ */
1964
+ function setBarrageInputPlaceholder(params: SetBarrageInputPlaceholderReq): Promise<void>;
1959
1965
  }
1960
1966
 
1961
1967
  /**
@@ -2572,6 +2578,13 @@ type UrlParams = {
2572
2578
  url: string;
2573
2579
  };
2574
2580
 
2581
+ /**
2582
+ * @property [placeholder] - 输入框占位符,传空字符串则恢复默认值
2583
+ */
2584
+ type SetBarrageInputPlaceholderReq = {
2585
+ placeholder?: string;
2586
+ };
2587
+
2575
2588
  /**
2576
2589
  * 下载中心
2577
2590
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyext/types-ext-sdk-hy",
3
- "version": "3.13.4-beta.2",
3
+ "version": "3.13.4-beta.4",
4
4
  "description": "TypeScript definitions for @hyext/ext-sdk-hy",
5
5
  "types": "./index.d.ts",
6
6
  "main": "",