Comparing version 1.0.9 to 1.0.10
{ | ||
"name": "guacamole", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "A friendly wrapper for the SauceLabs browser listing API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# guacamole | ||
`guacamole` is a wrapper for the SauceLabs browser API. | ||
`guacamole` is a wrapper for the SauceLabs platform API (i.e. the browser/platform selector API). | ||
@@ -5,0 +5,0 @@ ### Features: |
@@ -43,2 +43,3 @@ var Q = require("q"); | ||
// i.e.: "iphone" -> "iPhone Simulator", "Mac <version>" -> "OS X <version>", etc. | ||
// Some devices, like ones using android, have to use the long_name property | ||
@@ -207,3 +208,3 @@ "platformVersion", // i.e.: "4.4" | ||
// For a real device, don't translate to a simulator devicename | ||
// For a real device, don't translate to a simulator or emulator devicename | ||
if (deviceName.toLowerCase().indexOf("device") === -1) { | ||
@@ -220,4 +221,6 @@ if (deviceName.toLowerCase() == "ipad") { | ||
if(deviceName.toLowerCase() == "android") { | ||
deviceName = "Android Simulator"; | ||
// note: name comes from api_name | ||
if(name.toLowerCase() == "android") { | ||
// eg: long_name: "Google Nexus 7C Emulator", | ||
deviceName = browser.long_name; | ||
} | ||
@@ -224,0 +227,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1107551
14
29592
5
1