win_webview2 1.0.5 → 1.0.6

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,18 +1,13 @@
1
1
  {
2
2
  "name": "win_webview2",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/nnttoo/win_webview2"
7
7
  },
8
8
  "description": "",
9
- "main": "index.js",
10
- "exports":{
11
- ".": {
12
- "import": "./winWebview2.mjs",
13
- "types": "./winWebview2.d.ts"
14
- }
15
- },
9
+ "main": "./winWebview2.mjs",
10
+ "types": "./winWebview2.d.ts",
16
11
  "bin": {
17
12
  "win_webview2": "./ww2_builder.mjs"
18
13
  },
@@ -27,4 +22,4 @@
27
22
  "devDependencies": {
28
23
  "@types/node": "^25.5.0"
29
24
  }
30
- }
25
+ }
package/winWebview2.d.ts CHANGED
@@ -15,4 +15,7 @@ export function openDialogFile(arg: OpenDialogFileArg): Promise<string>;
15
15
  * Open folder dialog and return selected folder path
16
16
  */
17
17
  export function openDialogFolder(): Promise<string>;
18
-
18
+
19
+ export declare class WW2Deploy {
20
+ static startDeploy(): Promise<void>;
21
+ }
package/winWebview2.mjs CHANGED
@@ -114,4 +114,6 @@ export async function openDialogFolder() {
114
114
  fun: "OpenDialogFolder"
115
115
  };
116
116
  return waitingResult(obj);
117
- }
117
+ }
118
+
119
+ export { WW2Deploy } from "./ww2_builder_deploy.mjs";