Memperbaiki payload untuk fungsi kirim #19

Merged
rizky_denianto merged 3 commits from pengembangan into main 2026-08-11 00:59:10 +07:00
3 changed files with 4 additions and 8 deletions

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "tauri-plugin-bluclas" name = "tauri-plugin-bluclas"
version = "0.1.8" version = "0.1.10"
authors = [ "Rizky Denianto" ] authors = [ "Rizky Denianto" ]
description = "" description = ""
edition = "2024" edition = "2024"
+1 -5
View File
@@ -21,9 +21,5 @@ export type SBlueclasMuatanKirim = {
}; };
export async function kirim(muatan: SBlueclasMuatanKirim): Promise<null> { export async function kirim(muatan: SBlueclasMuatanKirim): Promise<null> {
return await invoke<null>("plugin:bluclas|kirim", { return await invoke<null>("plugin:bluclas|kirim", { payload: muatan });
payload: {
value: muatan,
},
});
} }
+2 -2
View File
@@ -1,6 +1,6 @@
{ {
"name": "@segubi/tauri-plugin-bluclas-api", "name": "@segubi/tauri-plugin-bluclas-api",
"version": "0.1.8", "version": "0.1.10",
"author": "Rizky Denianto", "author": "Rizky Denianto",
"description": "", "description": "",
"type": "module", "type": "module",
@@ -26,7 +26,7 @@
}, },
"devDependencies": { "devDependencies": {
"@rollup/plugin-typescript": "^12.3.0", "@rollup/plugin-typescript": "^12.3.0",
"rollup": "^4.62.2", "rollup": "^4.62.4",
"typescript": "^5.9.3", "typescript": "^5.9.3",
"tslib": "^2.8.1" "tslib": "^2.8.1"
} }