testit-js-commons 2.2.1 → 2.2.2

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.
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import fs from "fs";
3
2
  export declare namespace Utils {
4
3
  function getHash(input: string): string;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.handleHttpError = void 0;
3
+ exports.handleHttpError = handleHttpError;
4
4
  const testit_api_client_1 = require("testit-api-client");
5
5
  function handleHttpError(err, message = "") {
6
6
  if (err instanceof testit_api_client_1.HttpError) {
@@ -10,4 +10,3 @@ function handleHttpError(err, message = "") {
10
10
  console.log(message, err);
11
11
  }
12
12
  }
13
- exports.handleHttpError = handleHttpError;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testit-js-commons",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "description": "JavaScript commons for Test IT",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",