encapsulate kiri client

This commit is contained in:
Stewart Allen 2021-01-01 11:14:07 -05:00
commit ffd2f440ba
4 changed files with 9 additions and 5 deletions

View file

@ -29,7 +29,7 @@
KIRI.client.sync();
let settings = API.conf.get();
let widgets = API.widgets.map();
send("cam_traces", { settings }, output => {
KIRI.client.send("cam_traces", { settings }, output => {
let ids = [];
KIRI.codec.decode(output).forEach(rec => {
ids.push(rec.id);