tauri-plugin-z9 0.1.0 → 0.1.2

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.
@@ -1,3 +1,3 @@
1
1
  //#region guest-js/index.d.ts
2
- export declare function ping(value: string): Promise<string | null>;
2
+ export declare function minimizeApp(): Promise<undefined | string>;
3
3
  //#endregion
package/dist-js/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { invoke } from "@tauri-apps/api/core";
2
2
  //#region guest-js/index.ts
3
- async function ping(value) {
4
- return await invoke("plugin:z9|ping", { payload: { value } }).then((r) => r.value ? r.value : null);
3
+ async function minimizeApp() {
4
+ return await invoke("plugin:z9|minimize_app");
5
5
  }
6
6
  //#endregion
7
- export { ping };
7
+ export { minimizeApp };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tauri-plugin-z9",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "author": "tinysrc",
5
5
  "description": "",
6
6
  "type": "module",