@shapediver/sdk.geometry-api-sdk-core
Advanced tools
Comparing version 1.0.13 to 1.0.14
@@ -57,8 +57,3 @@ "use strict"; | ||
request.headers["Content-Type"] = options.contentType; | ||
if (options.contentType === "application/json") { | ||
request.data = JSON.stringify(data !== null && data !== void 0 ? data : {}); | ||
} | ||
else { | ||
request.data = data; | ||
} | ||
request.data = data; | ||
} | ||
@@ -103,3 +98,3 @@ return request; | ||
} | ||
throw new ShapeDiverErrors_1.ShapeDiverResponseError(data.message || ((_a = data.desc) !== null && _a !== void 0 ? _a : ""), resp.status, (_b = data.error) !== null && _b !== void 0 ? _b : "", (_c = data.desc) !== null && _c !== void 0 ? _c : "", resp.headers); | ||
throw new ShapeDiverErrors_1.ShapeDiverResponseError(data.message || (data.desc || ((_a = data.error) !== null && _a !== void 0 ? _a : "")), resp.status, (_b = data.error) !== null && _b !== void 0 ? _b : "", (_c = data.desc) !== null && _c !== void 0 ? _c : "", resp.headers); | ||
} | ||
@@ -106,0 +101,0 @@ else if (error.request) { |
{ | ||
"name": "@shapediver/sdk.geometry-api-sdk-core", | ||
"version": "1.0.13", | ||
"version": "1.0.14", | ||
"description": "Core-library for SDK-packages to communicate with the Geometry API", | ||
@@ -43,4 +43,4 @@ "keywords": [], | ||
"lerna": "3.22.1", | ||
"typescript": "^4.6.4" | ||
"typescript": "^4.7.2" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
39269
572