@bettergi/types 0.1.10 → 0.1.12

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.
@@ -9,6 +9,12 @@ declare global {
9
9
  */
10
10
  function sleep(duration: number): Promise<void>;
11
11
 
12
+ /**
13
+ * 获取 BetterGI 版本号
14
+ * @since 0.56.0
15
+ */
16
+ function getVersion(): string;
17
+
12
18
  /**
13
19
  * 模拟按下键盘按键(持续按住状态)
14
20
  * @param key - 要按下的按键
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bettergi/types",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "description": "BetterGI TypeScript 类型定义",
5
5
  "type": "module",
6
6
  "author": "Bread Grocery<https://github.com/breadgrocery>",
@@ -98,6 +98,13 @@ declare global {
98
98
  * @default true
99
99
  */
100
100
  closePopupPagedEnabled: boolean;
101
+
102
+ /**
103
+ * JS调用时跳过内置默认点击选项
104
+ * @default false
105
+ * @since 0.56.0
106
+ */
107
+ skipBuiltInClickOptions: boolean;
101
108
  }
102
109
  }
103
110
  export import AutoSkipConfig = BetterGenshinImpact.GameTask.AutoSkip.AutoSkipConfig;