rename to ipc

This commit is contained in:
Fractal-Tess
2023-05-18 10:44:26 +03:00
parent ced6545c77
commit a177cf16c2
3 changed files with 10 additions and 0 deletions

View File

@@ -18,3 +18,11 @@ export function helloTauri() {
export function hash256sum(hashInput: string) {
return invoke<string>('hash256sum', { hashInput });
}
export function storeSetKey(key: string, value: string) {
return invoke<null>('store_set_key', { key, value });
}
export function storeReadKey(key: string) {
return invoke<string | null>('store_read_key', { key });
}