@shapediver/sdk.geometry-api-sdk-core
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -81,4 +81,4 @@ "use strict"; | ||
static processError(error, responseType) { | ||
var _a, _b, _c; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
var _a, _b, _c; | ||
if (error.response) { | ||
@@ -132,4 +132,4 @@ const resp = error.response; | ||
} | ||
head(url, options = {}) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
head(url_1) { | ||
return __awaiter(this, arguments, void 0, function* (url, options = {}) { | ||
const fullOptions = Object.assign(Object.assign({}, options), { responseType: ShapeDiverSdkApiResponseType.JSON }); | ||
@@ -146,7 +146,7 @@ const config = this.buildRequestConfig(Method.HEAD, fullOptions, undefined); | ||
} | ||
get(url, options = { | ||
contentType: "application/json", | ||
responseType: ShapeDiverSdkApiResponseType.JSON, | ||
}) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
get(url_1) { | ||
return __awaiter(this, arguments, void 0, function* (url, options = { | ||
contentType: "application/json", | ||
responseType: ShapeDiverSdkApiResponseType.JSON, | ||
}) { | ||
const config = this.buildRequestConfig(Method.GET, options, undefined); | ||
@@ -165,7 +165,7 @@ try { | ||
} | ||
post(url, data = {}, options = { | ||
contentType: "application/json", | ||
responseType: ShapeDiverSdkApiResponseType.JSON, | ||
}) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
post(url_1) { | ||
return __awaiter(this, arguments, void 0, function* (url, data = {}, options = { | ||
contentType: "application/json", | ||
responseType: ShapeDiverSdkApiResponseType.JSON, | ||
}) { | ||
const config = this.buildRequestConfig(Method.POST, options, data); | ||
@@ -184,7 +184,7 @@ try { | ||
} | ||
put(url, data = {}, options = { | ||
contentType: "application/json", | ||
responseType: ShapeDiverSdkApiResponseType.JSON, | ||
}) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
put(url_1) { | ||
return __awaiter(this, arguments, void 0, function* (url, data = {}, options = { | ||
contentType: "application/json", | ||
responseType: ShapeDiverSdkApiResponseType.JSON, | ||
}) { | ||
const config = this.buildRequestConfig(Method.PUT, options, data); | ||
@@ -203,7 +203,7 @@ try { | ||
} | ||
patch(url, data = {}, options = { | ||
contentType: "application/json", | ||
responseType: ShapeDiverSdkApiResponseType.JSON, | ||
}) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
patch(url_1) { | ||
return __awaiter(this, arguments, void 0, function* (url, data = {}, options = { | ||
contentType: "application/json", | ||
responseType: ShapeDiverSdkApiResponseType.JSON, | ||
}) { | ||
const config = this.buildRequestConfig(Method.PATCH, options, data); | ||
@@ -222,7 +222,7 @@ try { | ||
} | ||
delete(url, options = { | ||
contentType: "application/json", | ||
responseType: ShapeDiverSdkApiResponseType.JSON, | ||
}) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
delete(url_1) { | ||
return __awaiter(this, arguments, void 0, function* (url, options = { | ||
contentType: "application/json", | ||
responseType: ShapeDiverSdkApiResponseType.JSON, | ||
}) { | ||
const config = this.buildRequestConfig(Method.DELETE, options, {}); | ||
@@ -229,0 +229,0 @@ try { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.sdAssertUnreachable = void 0; | ||
exports.sdAssertUnreachable = sdAssertUnreachable; | ||
const ShapeDiverErrors_1 = require("./ShapeDiverErrors"); | ||
@@ -8,3 +8,2 @@ function sdAssertUnreachable(_) { | ||
} | ||
exports.sdAssertUnreachable = sdAssertUnreachable; | ||
//# sourceMappingURL=utils.js.map |
{ | ||
"name": "@shapediver/sdk.geometry-api-sdk-core", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "Core-library for SDK-packages to communicate with the Geometry API", | ||
@@ -13,3 +13,4 @@ "keywords": [], | ||
"files": [ | ||
"dist" | ||
"dist", | ||
"src" | ||
], | ||
@@ -41,9 +42,9 @@ "repository": { | ||
"dependencies": { | ||
"axios": "~1.6.7" | ||
"axios": "~1.7.2" | ||
}, | ||
"devDependencies": { | ||
"jest": "~29.7.0", | ||
"lerna": "~8.1.2", | ||
"typescript": "~5.3.3" | ||
"lerna": "8.1.3", | ||
"typescript": "~5.5.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
59439
38
1011
+ Addedaxios@1.7.7(transitive)
- Removedaxios@1.6.8(transitive)
Updatedaxios@~1.7.2