@supraio/client-daemon-js 0.0.0-jvmaster.367 → 0.0.0-jvmaster.369
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/daemon.html +1 -1
- package/daemon.js +2 -2
- package/package.json +1 -1
- package/screen.html +1 -1
- package/screen.js +2 -2
- package/sdk.js +4 -4
- package/supra-client-daemon.js +5 -3
- package/supra-client-daemon.js.map +1 -1
- package/supra-client-daemon.wasm +0 -0
- package/supra-client-screen.js +7 -5
- package/supra-client-screen.js.map +1 -1
- package/supra-client-screen.wasm +0 -0
package/supra-client-daemon.wasm
CHANGED
|
Binary file
|
package/supra-client-screen.js
CHANGED
|
@@ -180245,9 +180245,10 @@ $packages["github.com/supraio/client-daemon/pkg/jshelper"] = (function() {
|
|
|
180245
180245
|
return $pkg;
|
|
180246
180246
|
})();
|
|
180247
180247
|
$packages["github.com/supraio/client-daemon/pkg/clipboard"] = (function() {
|
|
180248
|
-
var $pkg = {}, $init, jshelper, log, js, time, JsClipboard, UpdateClipboardInfo, ptrType, sliceType, ptrType$1, funcType, arrayType, ptrType$2, chanType, NewClipboard;
|
|
180248
|
+
var $pkg = {}, $init, jshelper, log, strings, js, time, JsClipboard, UpdateClipboardInfo, ptrType, sliceType, ptrType$1, funcType, arrayType, ptrType$2, chanType, NewClipboard;
|
|
180249
180249
|
jshelper = $packages["github.com/supraio/client-daemon/pkg/jshelper"];
|
|
180250
180250
|
log = $packages["log"];
|
|
180251
|
+
strings = $packages["strings"];
|
|
180251
180252
|
js = $packages["syscall/js"];
|
|
180252
180253
|
time = $packages["time"];
|
|
180253
180254
|
JsClipboard = $pkg.JsClipboard = $newType(0, $kindStruct, "clipboard.JsClipboard", true, "github.com/supraio/client-daemon/pkg/clipboard", true, function(clipboard_, clipboardInfoChan_, lastInfo_) {
|
|
@@ -180363,9 +180364,9 @@ $packages["github.com/supraio/client-daemon/pkg/clipboard"] = (function() {
|
|
|
180363
180364
|
/* */ $s = 12; continue;
|
|
180364
180365
|
/* if (!(err === ptrType$1.nil)) { */ case 11:
|
|
180365
180366
|
errMessage = $clone($clone(err, js.Value).Get("message"), js.Value).String();
|
|
180366
|
-
/* */ if (errMessage
|
|
180367
|
+
/* */ if (strings.Contains(errMessage, "Document is not focused")) { $s = 13; continue; }
|
|
180367
180368
|
/* */ $s = 14; continue;
|
|
180368
|
-
/* if (errMessage
|
|
180369
|
+
/* if (strings.Contains(errMessage, "Document is not focused")) { */ case 13:
|
|
180369
180370
|
_r$2 = c.whenFocused(); /* */ $s = 15; case 15: if($c) { $c = false; _r$2 = _r$2.$blk(); } if (_r$2 && _r$2.$blk !== undefined) { break s; }
|
|
180370
180371
|
_r$3 = jshelper.Await($clone(_r$2, js.Value)); /* */ $s = 16; case 16: if($c) { $c = false; _r$3 = _r$3.$blk(); } if (_r$3 && _r$3.$blk !== undefined) { break s; }
|
|
180371
180372
|
_r$3;
|
|
@@ -180423,8 +180424,9 @@ $packages["github.com/supraio/client-daemon/pkg/clipboard"] = (function() {
|
|
|
180423
180424
|
/* */ var $f, $c = false, $s = 0, $r; if (this !== undefined && this.$blk !== undefined) { $f = this; $c = true; $s = $f.$s; $r = $f.$r; } s: while (true) { switch ($s) { case 0:
|
|
180424
180425
|
$r = jshelper.$init(); /* */ $s = 1; case 1: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
180425
180426
|
$r = log.$init(); /* */ $s = 2; case 2: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
180426
|
-
$r =
|
|
180427
|
-
$r =
|
|
180427
|
+
$r = strings.$init(); /* */ $s = 3; case 3: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
180428
|
+
$r = js.$init(); /* */ $s = 4; case 4: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
180429
|
+
$r = time.$init(); /* */ $s = 5; case 5: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
180428
180430
|
/* */ } return; } if ($f === undefined) { $f = { $blk: $init }; } $f.$s = $s; $f.$r = $r; return $f;
|
|
180429
180431
|
};
|
|
180430
180432
|
$pkg.$init = $init;
|