tauri-plugin-z9 0.1.7 → 0.1.8

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,6 +1,6 @@
1
1
  //#region guest-js/index.d.ts
2
2
  export declare function minimizeApp(): Promise<undefined | string>;
3
- export declare function insets(): Promise<{
3
+ export declare function getInsets(): Promise<{
4
4
  top: number;
5
5
  bottom: number;
6
6
  left: number;
package/dist-js/index.mjs CHANGED
@@ -3,11 +3,11 @@ import { invoke } from "@tauri-apps/api/core";
3
3
  async function minimizeApp() {
4
4
  return await invoke("plugin:z9|minimize_app");
5
5
  }
6
- async function insets() {
7
- return await invoke("plugin:z9|insets");
6
+ async function getInsets() {
7
+ return await invoke("plugin:z9|get_insets");
8
8
  }
9
9
  async function setNightMode(night) {
10
10
  await invoke("plugin:z9|set_night_mode", { night });
11
11
  }
12
12
  //#endregion
13
- export { insets, minimizeApp, setNightMode };
13
+ export { getInsets, minimizeApp, setNightMode };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tauri-plugin-z9",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "author": "tinysrc",
5
5
  "description": "",
6
6
  "type": "module",