@nyssance/tauri-hasgard 0.6.0-alpha.5 → 0.6.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/index.js +1 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1071,9 +1071,8 @@ class HasgardWindow {
|
|
|
1071
1071
|
};
|
|
1072
1072
|
}
|
|
1073
1073
|
async screenshotNative(options) {
|
|
1074
|
-
const windowId = options.windowId ?? await this.nativeId();
|
|
1075
1074
|
const value = expectRecord(await this.rpc.call("screenshot_native", {
|
|
1076
|
-
window_id: windowId,
|
|
1075
|
+
...options.windowId === undefined ? {} : { window_id: options.windowId },
|
|
1077
1076
|
output_path: options.outputPath
|
|
1078
1077
|
}), "screenshot_native result");
|
|
1079
1078
|
return {
|