@quatrain/worker 1.1.20 → 1.1.21

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.
Files changed (2) hide show
  1. package/lib/Worker.js +0 -6
  2. package/package.json +1 -1
package/lib/Worker.js CHANGED
@@ -7,7 +7,6 @@ exports.Worker = void 0;
7
7
  const core_1 = require("@quatrain/core");
8
8
  const os_1 = __importDefault(require("os"));
9
9
  const axios_1 = __importDefault(require("axios"));
10
- const https_1 = __importDefault(require("https"));
11
10
  const child_process_1 = require("child_process");
12
11
  class Worker extends core_1.Core {
13
12
  static endpoint = '';
@@ -59,11 +58,6 @@ class Worker extends core_1.Core {
59
58
  ...data,
60
59
  ts,
61
60
  };
62
- axios_1.default.create({
63
- httpsAgent: new https_1.default.Agent({
64
- rejectUnauthorized: false,
65
- }),
66
- });
67
61
  axios_1.default
68
62
  .patch(Worker.endpoint, payload)
69
63
  .then((res) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quatrain/worker",
3
- "version": "1.1.20",
3
+ "version": "1.1.21",
4
4
  "description": "Container Worker helpers",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",