Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@shapediver/sdk.geometry-api-sdk-core

Package Overview
Dependencies
Maintainers
0
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shapediver/sdk.geometry-api-sdk-core - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

src/api/ShapeDiverSdkApi.ts

56

dist/api/ShapeDiverSdkApi.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc