@intuned/runtime-dev 1.3.18-dev.4 → 1.3.18-dev.5
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.
|
@@ -29,7 +29,7 @@ declare function handleApiResult({ apiResult, outputFile, }: {
|
|
|
29
29
|
export declare const _handleApiResult: typeof handleApiResult;
|
|
30
30
|
declare function writeResultToFile(outputFile: string, result: any, payloadToAppend?: Payload[]): Promise<void>;
|
|
31
31
|
export declare const _writeResultToFile: typeof writeResultToFile;
|
|
32
|
-
declare function attemptApi({ apiName, inputData, auth, proxy, headless, timeout, traceId, keepBrowserOpen, cdpUrl, }: {
|
|
32
|
+
declare function attemptApi({ apiName, inputData, auth, proxy, headless, timeout, traceId, keepBrowserOpen, cdpUrl, ignoreHttpErrors, }: {
|
|
33
33
|
apiName: string;
|
|
34
34
|
inputData: object | null | undefined;
|
|
35
35
|
auth?: RunApiStorageState;
|
|
@@ -154,7 +154,8 @@ async function attemptApi({
|
|
|
154
154
|
timeout,
|
|
155
155
|
traceId,
|
|
156
156
|
keepBrowserOpen,
|
|
157
|
-
cdpUrl
|
|
157
|
+
cdpUrl,
|
|
158
|
+
ignoreHttpErrors
|
|
158
159
|
}) {
|
|
159
160
|
return await (0, _helpers.withTimeout)(async abortSignal => (0, _helpers.withCLITrace)(async tracing => {
|
|
160
161
|
const runApiResult = await (0, _runApi.runApi)({
|
|
@@ -166,7 +167,8 @@ async function attemptApi({
|
|
|
166
167
|
headless,
|
|
167
168
|
proxy,
|
|
168
169
|
keepBrowserOpen,
|
|
169
|
-
cdpUrl
|
|
170
|
+
cdpUrl,
|
|
171
|
+
ignoreHttpErrors
|
|
170
172
|
}),
|
|
171
173
|
auth: auth ? {
|
|
172
174
|
session: {
|