@testomatio/reporter 2.0.0-beta.2-gaxios → 2.0.0-beta.3-gaxios

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.
@@ -57,7 +57,6 @@ class TestomatioPipe {
57
57
  timeout: constants_js_1.AXIOS_TIMEOUT,
58
58
  proxy: proxy ? proxy.toString() : undefined,
59
59
  retry: true,
60
- agent: new (require('https').Agent)({ rejectUnauthorized: false, keepAlive: false }),
61
60
  retryConfig: {
62
61
  retry: constants_js_1.REPORTER_REQUEST_RETRIES.retriesPerRequest,
63
62
  retryDelay: constants_js_1.REPORTER_REQUEST_RETRIES.retryTimeout,
@@ -439,9 +438,9 @@ function printCreateIssue(err) {
439
438
  if (!err.config)
440
439
  return;
441
440
  const time = new Date().toUTCString();
442
- const { body, url, baseURL, method } = err?.config || {};
441
+ const { data, url, baseURL, method } = err?.config || {};
443
442
  console.log('```js');
444
- console.log({ body: body?.replace(/"(tstmt_[^"]+)"/g, 'tstmt_*'), url, baseURL, method, time });
443
+ console.log({ data: data?.replace(/"(tstmt_[^"]+)"/g, 'tstmt_*'), url, baseURL, method, time });
445
444
  console.log('```');
446
445
  });
447
446
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testomatio/reporter",
3
- "version": "2.0.0-beta.2-gaxios",
3
+ "version": "2.0.0-beta.3-gaxios",
4
4
  "description": "Testomatio Reporter Client",
5
5
  "engines": {
6
6
  "node": ">=18"
@@ -16,7 +16,7 @@
16
16
  "@cucumber/cucumber": "^10.9.0",
17
17
  "@octokit/rest": "^21.1.1",
18
18
  "aws-sdk": "^2.1072.0",
19
- "gaxios": "^6.0.0",
19
+ "gaxios": "7.0.0-rc.4",
20
20
  "callsite-record": "^4.1.4",
21
21
  "commander": "^12",
22
22
  "cross-spawn": "^7.0.3",
@@ -58,7 +58,6 @@ class TestomatioPipe {
58
58
  timeout: AXIOS_TIMEOUT,
59
59
  proxy: proxy ? proxy.toString() : undefined,
60
60
  retry: true,
61
- agent: new (require('https').Agent)({ rejectUnauthorized: false, keepAlive: false }),
62
61
  retryConfig: {
63
62
  retry: REPORTER_REQUEST_RETRIES.retriesPerRequest,
64
63
  retryDelay: REPORTER_REQUEST_RETRIES.retryTimeout,
@@ -487,9 +486,9 @@ function printCreateIssue(err) {
487
486
  if (!err.config) return;
488
487
 
489
488
  const time = new Date().toUTCString();
490
- const { body, url, baseURL, method } = err?.config || {};
489
+ const { data, url, baseURL, method } = err?.config || {};
491
490
  console.log('```js');
492
- console.log({ body: body?.replace(/"(tstmt_[^"]+)"/g, 'tstmt_*'), url, baseURL, method, time });
491
+ console.log({ data: data?.replace(/"(tstmt_[^"]+)"/g, 'tstmt_*'), url, baseURL, method, time });
493
492
  console.log('```');
494
493
  });
495
494
  }