@vasakgroup/plugin-config-manager 2.0.1 → 2.0.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.
- package/dist-js/index.cjs +1 -3
- package/dist-js/index.js +1 -3
- package/package.json +1 -1
package/dist-js/index.cjs
CHANGED
|
@@ -10,9 +10,7 @@ async function writeConfig(value) {
|
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
12
|
async function setDarkMode(darkmode) {
|
|
13
|
-
await core.invoke("plugin:config-manager|set_darkmode", {
|
|
14
|
-
payload: JSON.stringify({ darkmode }),
|
|
15
|
-
});
|
|
13
|
+
await core.invoke("plugin:config-manager|set_darkmode", { darkmode });
|
|
16
14
|
}
|
|
17
15
|
async function readConfig() {
|
|
18
16
|
const jsonString = await core.invoke(// Esperar que invoke resuelva directamente con la cadena JSON
|
package/dist-js/index.js
CHANGED
|
@@ -8,9 +8,7 @@ async function writeConfig(value) {
|
|
|
8
8
|
});
|
|
9
9
|
}
|
|
10
10
|
async function setDarkMode(darkmode) {
|
|
11
|
-
await invoke("plugin:config-manager|set_darkmode", {
|
|
12
|
-
payload: JSON.stringify({ darkmode }),
|
|
13
|
-
});
|
|
11
|
+
await invoke("plugin:config-manager|set_darkmode", { darkmode });
|
|
14
12
|
}
|
|
15
13
|
async function readConfig() {
|
|
16
14
|
const jsonString = await invoke(// Esperar que invoke resuelva directamente con la cadena JSON
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vasakgroup/plugin-config-manager",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"author": "Joaquin (Pato) Decima <jdecima@vasak.net.ar>",
|
|
5
5
|
"description": "A tauri plugin for managing configuration in a Vue 3 application using Pinia.",
|
|
6
6
|
"type": "module",
|