@percy/sdk-utils
Advanced tools
Comparing version 1.27.7 to 1.28.0-beta.0
@@ -140,3 +140,4 @@ (function() { | ||
method: 'POST', | ||
body: JSON.stringify(json) | ||
body: JSON.stringify(json), | ||
timeout: 600000 | ||
}); | ||
@@ -233,3 +234,3 @@ }; | ||
let query = params ? `?${new URLSearchParams(params)}` : ''; | ||
await request.post(`/percy/snapshot${query}`, options).catch(err => { | ||
return await request.post(`/percy/snapshot${query}`, options).catch(err => { | ||
var _err$response, _err$response$body, _err$response$body$bu; | ||
@@ -281,3 +282,3 @@ if ((_err$response = err.response) !== null && _err$response !== void 0 && (_err$response$body = _err$response.body) !== null && _err$response$body !== void 0 && (_err$response$body$bu = _err$response$body.build) !== null && _err$response$body$bu !== void 0 && _err$response$body$bu.error) { | ||
let query = params ? `?${new URLSearchParams(params)}` : ''; | ||
await request.post(`/percy/automateScreenshot${query}`, options).catch(err => { | ||
return await request.post(`/percy/automateScreenshot${query}`, options).catch(err => { | ||
var _err$response, _err$response$body, _err$response$body$bu; | ||
@@ -284,0 +285,0 @@ if ((_err$response = err.response) !== null && _err$response !== void 0 && (_err$response$body = _err$response.body) !== null && _err$response$body !== void 0 && (_err$response$body$bu = _err$response$body.build) !== null && _err$response$body$bu !== void 0 && _err$response$body$bu.error) { |
@@ -15,3 +15,3 @@ "use strict"; | ||
let query = params ? `?${new URLSearchParams(params)}` : ''; | ||
await _request.default.post(`/percy/automateScreenshot${query}`, options).catch(err => { | ||
return await _request.default.post(`/percy/automateScreenshot${query}`, options).catch(err => { | ||
var _err$response, _err$response$body, _err$response$body$bu; | ||
@@ -18,0 +18,0 @@ if ((_err$response = err.response) !== null && _err$response !== void 0 && (_err$response$body = _err$response.body) !== null && _err$response$body !== void 0 && (_err$response$body$bu = _err$response$body.build) !== null && _err$response$body$bu !== void 0 && _err$response$body$bu.error) { |
@@ -15,3 +15,3 @@ "use strict"; | ||
let query = params ? `?${new URLSearchParams(params)}` : ''; | ||
await _request.default.post(`/percy/snapshot${query}`, options).catch(err => { | ||
return await _request.default.post(`/percy/snapshot${query}`, options).catch(err => { | ||
var _err$response, _err$response$body, _err$response$body$bu; | ||
@@ -18,0 +18,0 @@ if ((_err$response = err.response) !== null && _err$response !== void 0 && (_err$response$body = _err$response.body) !== null && _err$response$body !== void 0 && (_err$response$body$bu = _err$response$body.build) !== null && _err$response$body$bu !== void 0 && _err$response$body$bu.error) { |
@@ -37,3 +37,4 @@ "use strict"; | ||
method: 'POST', | ||
body: JSON.stringify(json) | ||
body: JSON.stringify(json), | ||
timeout: 600000 | ||
}); | ||
@@ -40,0 +41,0 @@ }; |
{ | ||
"name": "@percy/sdk-utils", | ||
"version": "1.27.7", | ||
"version": "1.28.0-beta.0", | ||
"license": "MIT", | ||
@@ -12,3 +12,3 @@ "repository": { | ||
"access": "public", | ||
"tag": "latest" | ||
"tag": "beta" | ||
}, | ||
@@ -55,3 +55,3 @@ "engines": { | ||
}, | ||
"gitHead": "eba048142b27b317491f15364b34764371fc0670" | ||
"gitHead": "d188893f1b45f6e4a1b3196b326a47174340c6ce" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
40814
884
2