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

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

Package Overview
Dependencies
Maintainers
4
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 1.0.25 to 1.0.26

11

dist/resources/ShapeDiverAssetApi.js

@@ -18,2 +18,3 @@ "use strict";

const apiAssetTextureUri = /.+\/session\/.+\/texture\/.+/;
const cdnAssetUri = /.+\/cdn-asset-(exports|outputs|textures)\/.+/;
const cdnAssetExportUri = /.+\/cdn-asset-exports\/.+/;

@@ -136,3 +137,6 @@ const cdnAssetOutputUri = /.+\/cdn-asset-outputs\/.+/;

var _a;
const [header, data] = yield this.api.get(targetUrl, { responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA });
const [header, data] = yield this.api.get(targetUrl, {
responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA,
disableAuthorization: cdnAssetUri.test(url), // disable for CDN URLs
});
const contentType = (_a = header["Content-Type"]) !== null && _a !== void 0 ? _a : header["content-type"];

@@ -170,3 +174,6 @@ return [data, contentType];

var _a;
const [header, data] = yield this.api.get(url, { responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA });
const [header, data] = yield this.api.get(url, {
responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA,
disableAuthorization: cdnAssetUri.test(url), // disable for CDN URLs
});
const contentType = (_a = header["Content-Type"]) !== null && _a !== void 0 ? _a : header["content-type"];

@@ -173,0 +180,0 @@ return [data, contentType, type];

2

package.json
{
"name": "@shapediver/sdk.geometry-api-sdk-v2",
"version": "1.0.25",
"version": "1.0.26",
"description": "SDK to communicate with the Geometry API version 2",

@@ -5,0 +5,0 @@ "keywords": [

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