@klippa/dochorizon-sdk
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -25,2 +25,5 @@ "use strict"; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
var _a; | ||
@@ -30,2 +33,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
const fs = __importStar(require("fs")); | ||
const path_1 = __importDefault(require("path")); | ||
class JSONBodyBuilder { | ||
@@ -130,3 +134,3 @@ static getPaths() { | ||
_a = JSONBodyBuilder; | ||
JSONBodyBuilder.JSONData = JSON.parse(fs.readFileSync("./api.json", "utf-8")); | ||
JSONBodyBuilder.JSONData = JSON.parse(fs.readFileSync(path_1.default.join(__dirname, "../../api.json"), "utf-8")); | ||
JSONBodyBuilder.endpointsList = _a.getPaths(); | ||
@@ -133,0 +137,0 @@ JSONBodyBuilder.endpointsData = _a.getPathData(); |
{ | ||
"name": "@klippa/dochorizon-sdk", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "## NodeJS developer SDK for DocHorizon.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
319821
9851
1