deeke-script-app 1.8.6 → 1.8.7

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.
@@ -94,7 +94,12 @@ declare global {
94
94
  * @param url URL地址
95
95
  * @param packageName 包名(可选,用于指定打开URL的应用)
96
96
  */
97
- public openUrl(url: string, packageName: string): void;
97
+ /**
98
+ * 打开URL地址。如果提供了packageName,则优先使用指定应用打开,如果应用未安装则使用浏览器打开;如果未提供packageName,则直接使用浏览器打开。
99
+ * @param url URL地址
100
+ * @param packageName 包名(可选,用于指定打开URL的应用)
101
+ */
102
+ openUrl(url: string, packageName?: string): void;
98
103
  }
99
104
  }
100
105
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deeke-script-app",
3
- "version": "1.8.6",
3
+ "version": "1.8.7",
4
4
  "description": "DeekeScript应用",
5
5
  "main": "src/index.ts",
6
6
  "scripts": {