@shapediver/sdk.geometry-api-sdk-v2
Advanced tools
Comparing version 1.0.21 to 1.0.22
@@ -44,3 +44,3 @@ import { BaseResourceApi, ShapeDiverSdkApi } from "@shapediver/sdk.geometry-api-sdk-core"; | ||
* @param url - The URL of the image that should be downloaded. | ||
* @returns [ <content data>, <content type> ] | ||
* @returns Array of size 2: [0] = content data, [1] = content type. | ||
*/ | ||
@@ -47,0 +47,0 @@ downloadImage(sessionId: string, url: string): Promise<[ArrayBuffer, string]>; |
@@ -89,3 +89,3 @@ "use strict"; | ||
* @param url - The URL of the image that should be downloaded. | ||
* @returns [ <content data>, <content type> ] | ||
* @returns Array of size 2: [0] = content data, [1] = content type. | ||
*/ | ||
@@ -92,0 +92,0 @@ downloadImage(sessionId, url) { |
@@ -13,3 +13,3 @@ import { ShapeDiverRequestCustomization, ShapeDiverRequestExport, ShapeDiverResponseDto } from "@shapediver/api.geometry-api-dto-v2"; | ||
*/ | ||
upload(url: string, data: ArrayBuffer, contentType: string): Promise<any>; | ||
upload(url: string, data: ArrayBuffer | Record<string, any> | string, contentType: string): Promise<any>; | ||
/** | ||
@@ -16,0 +16,0 @@ * Download from the given URL. |
{ | ||
"name": "@shapediver/sdk.geometry-api-sdk-v2", | ||
"version": "1.0.21", | ||
"version": "1.0.22", | ||
"description": "SDK to communicate with the Geometry API version 2", | ||
@@ -48,11 +48,11 @@ "keywords": [ | ||
"lerna": "3.22.1", | ||
"typescript": "^4.6.4", | ||
"webpack": "^5.72.1", | ||
"typescript": "^4.7.2", | ||
"webpack": "^5.73.0", | ||
"webpack-cli": "^4.9.2", | ||
"webpack-dev-server": "^4.9.0" | ||
"webpack-dev-server": "^4.9.1" | ||
}, | ||
"dependencies": { | ||
"@shapediver/sdk.geometry-api-sdk-core": "^1.0.13", | ||
"@shapediver/api.geometry-api-dto-v2": "^1.1.9" | ||
"@shapediver/api.geometry-api-dto-v2": "^1.1.10" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
115232