@wailsio/runtime 3.0.0-alpha.71 → 3.0.0-alpha.72

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -35,4 +35,8 @@ export { Create };
35
35
  export * from "./cancellable.js";
36
36
  // Notify backend
37
37
  window._wails.invoke = System.invoke;
38
+ // Register platform handlers (internal API)
39
+ // Note: Window is the thisWindow instance (default export from window.ts)
40
+ // Binding ensures 'this' correctly refers to the current window instance
41
+ window._wails.handlePlatformFileDrop = Window.HandlePlatformFileDrop.bind(Window);
38
42
  System.invoke("wails:runtime:ready");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wailsio/runtime",
3
3
  "type": "module",
4
- "version": "3.0.0-alpha.71",
4
+ "version": "3.0.0-alpha.72",
5
5
  "description": "Wails Runtime",
6
6
  "types": "types/index.d.ts",
7
7
  "exports": {