@contrast/contrast 3.2.2 → 3.2.3
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.
|
@@ -17,7 +17,7 @@ export const HIGH = 'HIGH';
|
|
|
17
17
|
export const CRITICAL = 'CRITICAL';
|
|
18
18
|
// App
|
|
19
19
|
export const APP_NAME = 'contrast';
|
|
20
|
-
const APP_VERSION = '3.2.
|
|
20
|
+
const APP_VERSION = '3.2.3';
|
|
21
21
|
export const TIMEOUT = 120000;
|
|
22
22
|
export const CRITICAL_PRIORITY = 1;
|
|
23
23
|
export const HIGH_PRIORITY = 2;
|
|
@@ -22,7 +22,8 @@ function createHarmonyProjectsUrl(config) {
|
|
|
22
22
|
}
|
|
23
23
|
export function getProjectIdByName(config) {
|
|
24
24
|
const options = buildBaseRequestOptions(config, ErrorType.SCAN);
|
|
25
|
-
options.url =
|
|
25
|
+
options.url =
|
|
26
|
+
createHarmonyProjectsUrl(config) + '?name=' + config.name + '&unique=true';
|
|
26
27
|
return got.get(options);
|
|
27
28
|
}
|
|
28
29
|
export async function sendArtifact(config) {
|