ms-types 0.11.7 → 0.11.8

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": "ms-types",
3
- "version": "0.11.7",
3
+ "version": "0.11.8",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "types": "./types/index.d.ts",
package/types/global.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
- * 运行模式
2
+ * 运行模式。`"agent"`、`"hid"` 或 `"pair"`;`"pair"` 仅 iOS 18 及以上可选。
3
3
  */
4
- declare const __runMode__: "agent" | "hid";
4
+ declare const __runMode__: "agent" | "hid" | "pair";
5
5
  /**
6
6
  * 是否是调试模式
7
7
  */
@@ -4,9 +4,9 @@
4
4
  ---@type boolean
5
5
  IsDebug = false
6
6
 
7
- --- 运行模式:"agent" 或 "hid"
8
- ---@type string
9
- RunMode = ''
7
+ --- 运行模式:`"agent"`、`"hid"` 或 `"pair"`;`"pair"` 仅 iOS 18 及以上可选
8
+ ---@type "agent"|"hid"|"pair"
9
+ RunMode = 'agent'
10
10
 
11
11
  --- 免越狱包为 `"ios"`,越狱包为 `"ios_jb"`
12
12
  ---@type "ios"|"ios_jb"
@@ -8,9 +8,9 @@ declare type 字典<T> = Record<字符串, T>;
8
8
  declare type 无返回值 = void;
9
9
 
10
10
  /**
11
- * 运行模式
11
+ * 运行模式。`"agent"`、`"hid"` 或 `"pair"`;`"pair"` 仅 iOS 18 及以上可选。
12
12
  */
13
- declare const $运行模式: "agent" | "hid";
13
+ declare const $运行模式: "agent" | "hid" | "pair";
14
14
  /**
15
15
  * 是否是调试模式
16
16
  */