@qawolf/types
Advanced tools
Comparing version 0.8.2 to 0.9.0-alpha.0
export declare type Action = "click" | "type" | "scroll" | "select"; | ||
export declare type BrowserType = "chromium" | "firefox" | "webkit"; | ||
export declare type Callback<S = void, T = void> = (data?: S) => T; | ||
@@ -7,1 +8,2 @@ export declare type TypeOptions = { | ||
}; | ||
export declare const getBrowserType: (browserType: string) => BrowserType; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getBrowserType = (browserType) => { | ||
if (browserType === "firefox" || browserType === "webkit") { | ||
return browserType; | ||
} | ||
return "chromium"; | ||
}; | ||
//# sourceMappingURL=common.js.map |
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(require("./common")); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@qawolf/types", | ||
"description": "qawolf types", | ||
"version": "0.8.2", | ||
"version": "0.9.0-alpha.0", | ||
"license": "BSD-3.0", | ||
@@ -22,3 +22,3 @@ "main": "./lib/index.js", | ||
}, | ||
"gitHead": "74449a08eae50066278c613ca19b7c05050bc551" | ||
"gitHead": "64bb960883592bb4786981fd4886474c29d16639" | ||
} |
export type Action = "click" | "type" | "scroll" | "select"; | ||
export type BrowserType = "chromium" | "firefox" | "webkit"; | ||
export type Callback<S = void, T = void> = (data?: S) => T; | ||
@@ -9,1 +11,9 @@ | ||
}; | ||
export const getBrowserType = (browserType: string): BrowserType => { | ||
if (browserType === "firefox" || browserType === "webkit") { | ||
return browserType; | ||
} | ||
return "chromium"; | ||
}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8627
227