tauri-plugin-z9 0.1.6 → 0.1.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.
@@ -6,4 +6,5 @@ export declare function insets(): Promise<{
6
6
  left: number;
7
7
  right: number;
8
8
  }>;
9
+ export declare function setNightMode(night: boolean): Promise<void>;
9
10
  //#endregion
package/dist-js/index.mjs CHANGED
@@ -6,5 +6,8 @@ async function minimizeApp() {
6
6
  async function insets() {
7
7
  return await invoke("plugin:z9|insets");
8
8
  }
9
+ async function setNightMode(night) {
10
+ await invoke("plugin:z9|set_night_mode", { night });
11
+ }
9
12
  //#endregion
10
- export { insets, minimizeApp };
13
+ export { insets, minimizeApp, setNightMode };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tauri-plugin-z9",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "author": "tinysrc",
5
5
  "description": "",
6
6
  "type": "module",