@shapediver/sdk.geometry-api-sdk-core
Advanced tools
Comparing version 1.0.14 to 1.1.0
@@ -7,2 +7,3 @@ import { SdkConfigInternal } from "../config/ShapeDiverSdkConfig"; | ||
disableCustomHeaders?: boolean; | ||
accept?: string; | ||
} | ||
@@ -9,0 +10,0 @@ export declare enum ShapeDiverSdkApiResponseType { |
@@ -59,2 +59,6 @@ "use strict"; | ||
} | ||
// Set the HTTP Accept header if specified | ||
if (options.accept) { | ||
request.headers["Accept"] = options.accept; | ||
} | ||
return request; | ||
@@ -61,0 +65,0 @@ } |
@@ -13,2 +13,8 @@ import { ShapeDiverSdkApi } from ".."; | ||
/** | ||
* Create the URI for AR-scene-based controller endpoints. | ||
* | ||
* @protected | ||
*/ | ||
protected buildArSceneUri(): string; | ||
/** | ||
* Create the URI for auth_group-based controller endpoints. | ||
@@ -15,0 +21,0 @@ * |
@@ -18,2 +18,10 @@ "use strict"; | ||
/** | ||
* Create the URI for AR-scene-based controller endpoints. | ||
* | ||
* @protected | ||
*/ | ||
buildArSceneUri() { | ||
return `${this.commonPath}/ar-scene`; | ||
} | ||
/** | ||
* Create the URI for auth_group-based controller endpoints. | ||
@@ -20,0 +28,0 @@ * |
{ | ||
"name": "@shapediver/sdk.geometry-api-sdk-core", | ||
"version": "1.0.14", | ||
"version": "1.1.0", | ||
"description": "Core-library for SDK-packages to communicate with the Geometry API", | ||
@@ -41,6 +41,6 @@ "keywords": [], | ||
"devDependencies": { | ||
"jest": "^28.1.0", | ||
"jest": "^29.0.3", | ||
"lerna": "3.22.1", | ||
"typescript": "^4.7.2" | ||
"typescript": "^4.8.3" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
40021
591