@xunlei-open/miniapp-types 1.1.1-beta.3 → 1.2.0

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/dist/index.d.cts CHANGED
@@ -701,7 +701,7 @@ export interface XunleiRuntime {
701
701
  }
702
702
  /** 宿主环境信息查询接口,页面和事件脚本均可用。 */
703
703
  export interface XunleiHostEnv {
704
- /** 获取当前迅雷版本。 */
704
+ /** 获取当前迅雷版本,示例:25.1.44.5464 */
705
705
  version(): Promise<string>;
706
706
  /**
707
707
  * 宿主默认下载目录,绝对路径。
package/dist/index.d.mts CHANGED
@@ -701,7 +701,7 @@ export interface XunleiRuntime {
701
701
  }
702
702
  /** 宿主环境信息查询接口,页面和事件脚本均可用。 */
703
703
  export interface XunleiHostEnv {
704
- /** 获取当前迅雷版本。 */
704
+ /** 获取当前迅雷版本,示例:25.1.44.5464 */
705
705
  version(): Promise<string>;
706
706
  /**
707
707
  * 宿主默认下载目录,绝对路径。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xunlei-open/miniapp-types",
3
- "version": "1.1.1-beta.3",
3
+ "version": "1.2.0",
4
4
  "description": "TypeScript definitions for the Xunlei Miniapp manifest and runtime APIs",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",