serenade-driver
Advanced tools
Comparing version 1.1.3 to 1.1.4
22
index.js
@@ -31,2 +31,6 @@ const child_process = require("child_process"); | ||
if (count < 1) { | ||
return; | ||
} | ||
return lib.click(button, count); | ||
@@ -40,2 +44,6 @@ }; | ||
if (count < 1) { | ||
return; | ||
} | ||
return lib.clickButton(button, count); | ||
@@ -78,8 +86,8 @@ }; | ||
exports.getEditorState = (fallback) => { | ||
if (!fallback) { | ||
fallback = false; | ||
} | ||
exports.getEditorState = () => { | ||
return lib.getEditorState(); | ||
}; | ||
return lib.getEditorState(fallback); | ||
exports.getEditorStateFallback = () => { | ||
return lib.getEditorStateFallback(); | ||
}; | ||
@@ -209,2 +217,6 @@ | ||
if (count < 1) { | ||
return; | ||
} | ||
return lib.pressKey(key, modifiers, count); | ||
@@ -211,0 +223,0 @@ }; |
{ | ||
"name": "serenade-driver", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "A library for cross-platform system automations.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
83889
325