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
5
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.10.0 to 1.11.0

dist/resources/ShapeDiverModelStateApi.d.ts

26

dist/resources/ShapeDiverAnalyticsApi.js

@@ -22,3 +22,3 @@ "use strict";

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.put(this.buildAnalyticsUri() + "/session/model", body))[1];
return (yield this.api.put(this.buildAnalyticsUri() + "/session/model", undefined, body))[1];
}));

@@ -30,3 +30,3 @@ });

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.put(this.buildAnalyticsUri() + "/credit-metrics", body))[1];
return (yield this.api.put(this.buildAnalyticsUri() + "/credit-metrics", undefined, body))[1];
}));

@@ -38,6 +38,3 @@ });

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.get(this.buildAnalyticsUri() +
"/credit-metrics/timestamp/" +
timestamp +
"/user"))[1];
return (yield this.api.get(`${this.buildAnalyticsUri()}/credit-metrics/timestamp/${timestamp}/user`))[1];
}));

@@ -49,6 +46,3 @@ });

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.get(this.buildAnalyticsUri() +
"/credit-metrics/timestamp/" +
timestamp +
"/org"))[1];
return (yield this.api.get(`${this.buildAnalyticsUri()}/credit-metrics/timestamp/${timestamp}/org`))[1];
}));

@@ -60,7 +54,3 @@ });

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.get(this.buildAnalyticsUri() +
"/credit-metrics/timestamp/" +
timestamp +
"/user/" +
userId))[1];
return (yield this.api.get(`${this.buildAnalyticsUri()}/credit-metrics/timestamp/${timestamp}/user/${userId}`))[1];
}));

@@ -72,7 +62,3 @@ });

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.get(this.buildAnalyticsUri() +
"/credit-metrics/timestamp/" +
timestamp +
"/org/" +
orgId))[1];
return (yield this.api.get(`${this.buildAnalyticsUri()}/credit-metrics/timestamp/${timestamp}/org/${orgId}`))[1];
}));

@@ -79,0 +65,0 @@ });

import { BaseResourceApi, ShapeDiverSdkApi } from "@shapediver/sdk.geometry-api-sdk-core";
export declare class ShapeDiverArSceneApi extends BaseResourceApi {
constructor(api: ShapeDiverSdkApi);
exists(sceneId: string): Promise<boolean>;
getGltf(sceneId: string): Promise<[ArrayBuffer, string]>;
getUsdz(sceneId: string): Promise<[ArrayBuffer, string]>;
exists(id: string): Promise<boolean>;
getGltf(id: string): Promise<[ArrayBuffer, string]>;
getUsdz(id: string): Promise<[ArrayBuffer, string]>;
}
//# sourceMappingURL=ShapeDiverArSceneApi.d.ts.map

@@ -19,7 +19,7 @@ "use strict";

}
exists(sceneId) {
exists(id) {
return __awaiter(this, void 0, void 0, function* () {
return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
try {
const [_, status] = yield this.api.head(`${this.buildArSceneUri()}/${sceneId}`, { disableAuthorization: true });
const [_, status] = yield this.api.head(`${this.buildArSceneUri()}/${id}`, { disableAuthorization: true });
return status === 200;

@@ -36,7 +36,7 @@ }

}
getGltf(sceneId) {
getGltf(id) {
return __awaiter(this, void 0, void 0, function* () {
return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
var _a;
const [header, data] = yield this.api.get(`${this.buildArSceneUri()}/${sceneId}/gltf`, {
const [header, data] = yield this.api.get(`${this.buildArSceneUri()}/${id}/gltf`, undefined, {
responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA,

@@ -50,7 +50,7 @@ disableAuthorization: true,

}
getUsdz(sceneId) {
getUsdz(id) {
return __awaiter(this, void 0, void 0, function* () {
return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
var _a;
const [header, data] = yield this.api.get(`${this.buildArSceneUri()}/${sceneId}/usdz`, {
const [header, data] = yield this.api.get(`${this.buildArSceneUri()}/${id}/usdz`, undefined, {
responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA,

@@ -57,0 +57,0 @@ disableAuthorization: true,

@@ -30,3 +30,3 @@ "use strict";

var _a;
const [header, data] = yield this.api.get(`${this.buildSessionUri(sessionId)}/export/${assetData}`, { responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA });
const [header, data] = yield this.api.get(`${this.buildSessionUri(sessionId)}/export/${assetData}`, undefined, { responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA });
const contentType = (_a = header["Content-Type"]) !== null && _a !== void 0 ? _a : header["content-type"];

@@ -41,3 +41,3 @@ return [data, contentType];

var _a;
const [header, data] = yield this.api.get(`${this.buildSessionUri(sessionId)}/output/${assetData}`, { responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA });
const [header, data] = yield this.api.get(`${this.buildSessionUri(sessionId)}/output/${assetData}`, undefined, { responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA });
const contentType = (_a = header["Content-Type"]) !== null && _a !== void 0 ? _a : header["content-type"];

@@ -51,3 +51,3 @@ return [data, contentType];

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.get(`${this.buildSessionUri(sessionId)}/output/${assetData}`, {
return (yield this.api.get(`${this.buildSessionUri(sessionId)}/output/${assetData}`, undefined, {
responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.JSON,

@@ -63,3 +63,3 @@ accept: "model/vnd.sdtf+json",

var _a;
const [header, data] = yield this.api.get(`${this.buildSessionUri(sessionId)}/texture/${assetData}`, { responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA });
const [header, data] = yield this.api.get(`${this.buildSessionUri(sessionId)}/texture/${assetData}`, undefined, { responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA });
const contentType = (_a = header["Content-Type"]) !== null && _a !== void 0 ? _a : header["content-type"];

@@ -73,3 +73,3 @@ return [data, contentType];

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.get(`${this.buildSessionUri(sessionId)}/gltf/${assetData}`, { responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA }))[1];
return (yield this.api.get(`${this.buildSessionUri(sessionId)}/gltf/${assetData}`, undefined, { responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA }))[1];
}));

@@ -81,3 +81,3 @@ });

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.get(`${this.buildSessionUri(sessionId)}/usdz/${assetData}`, { responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA }))[1];
return (yield this.api.get(`${this.buildSessionUri(sessionId)}/usdz/${assetData}`, undefined, { responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA }))[1];
}));

@@ -88,12 +88,14 @@ });

return __awaiter(this, void 0, void 0, function* () {
let targetUrl;
let targetUrl, queries;
if (apiAssetTextureUri.test(url) || cdnAssetTextureUri.test(url)) {
targetUrl = url;
queries = [];
}
else {
targetUrl = `${this.buildSessionUri(sessionId)}/image?url=${(0, utils_1.encodeBase64)(url)}`;
targetUrl = `${this.buildSessionUri(sessionId)}/image`;
queries = [`url=${(0, utils_1.encodeBase64)(url)}`];
}
return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
var _a;
const [header, data] = yield this.api.get(targetUrl, {
const [header, data] = yield this.api.get(targetUrl, queries, {
responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA,

@@ -120,3 +122,3 @@ disableAuthorization: cdnAssetUri.test(url),

var _a;
const [header, data] = yield this.api.get(url, {
const [header, data] = yield this.api.get(url, undefined, {
responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA,

@@ -123,0 +125,0 @@ disableAuthorization: cdnAssetUri.test(url),

@@ -22,3 +22,3 @@ "use strict";

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.put(this.buildSessionUri(sessionId) + "/export", body))[1];
return (yield this.api.put(this.buildSessionUri(sessionId) + "/export", undefined, body))[1];
}));

@@ -30,3 +30,3 @@ });

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.put(this.buildSessionUri(sessionId) + "/export/cache", body))[1];
return (yield this.api.put(this.buildSessionUri(sessionId) + "/export/cache", undefined, body))[1];
}));

@@ -38,3 +38,3 @@ });

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.patch(this.buildModelUri(modelId) + "/export", body))[1];
return (yield this.api.patch(this.buildModelUri(modelId) + "/export", undefined, body))[1];
}));

@@ -46,3 +46,3 @@ });

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.get(this.buildSessionUri(sessionId) + "/export/" + exportId + "/list"))[1];
return (yield this.api.get(`${this.buildSessionUri(sessionId)}/export/${exportId}/list`))[1];
}));

@@ -49,0 +49,0 @@ });

@@ -9,3 +9,3 @@ import { ShapeDiverRequestFileUpload, ShapeDiverResponseDto } from "@shapediver/api.geometry-api-dto-v2";

constructor(api: ShapeDiverSdkApi);
list(sessionId: string, paramId: string): Promise<ShapeDiverResponseDto>;
list(sessionId: string, paramId: string, offset?: string): Promise<ShapeDiverResponseDto>;
info(sessionId: string, paramId: string, fileId: string): Promise<ShapeDiverResponseFileInfo>;

@@ -12,0 +12,0 @@ get(sessionId: string, paramId: string, fileId: string): Promise<ArrayBuffer>;

@@ -19,6 +19,9 @@ "use strict";

}
list(sessionId, paramId) {
list(sessionId, paramId, offset) {
return __awaiter(this, void 0, void 0, function* () {
const queries = [];
if (offset !== undefined)
queries.push("offset=" + offset);
return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.get(`${this.buildSessionUri(sessionId)}/file/${paramId}/list`))[1];
return (yield this.api.get(`${this.buildSessionUri(sessionId)}/file/${paramId}/list`, queries))[1];
}));

@@ -45,3 +48,3 @@ });

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.get(`${this.buildSessionUri(sessionId)}/file/${paramId}/${fileId}`, { responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA }))[1];
return (yield this.api.get(`${this.buildSessionUri(sessionId)}/file/${paramId}/${fileId}`, undefined, { responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA }))[1];
}));

@@ -60,3 +63,3 @@ });

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.post(this.buildSessionUri(sessionId) + "/file/upload", body))[1];
return (yield this.api.post(this.buildSessionUri(sessionId) + "/file/upload", undefined, body))[1];
}));

@@ -63,0 +66,0 @@ });

@@ -23,3 +23,3 @@ "use strict";

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.post(`${this.buildSessionUri(sessionId)}/gltf?conversion=${queryConvert}`, body, {
return (yield this.api.post(`${this.buildSessionUri(sessionId)}/gltf`, [`conversion=${queryConvert}`], body, {
contentType: type,

@@ -26,0 +26,0 @@ responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.JSON,

@@ -9,3 +9,3 @@ import { ShapeDiverRequestConfigure, ShapeDiverRequestCustomization, ShapeDiverRequestModel, ShapeDiverRequestModelComputationQueryOrder, ShapeDiverRequestModelComputationQueryStatus, ShapeDiverRequestModelComputationQueryType, ShapeDiverRequestParameterDefinition, ShapeDiverResponseDto } from "@shapediver/api.geometry-api-dto-v2";

delete(modelId: string): Promise<ShapeDiverResponseDto>;
list(): Promise<ShapeDiverResponseDto>;
list(offset?: string): Promise<ShapeDiverResponseDto>;
getConfig(modelId: string): Promise<ShapeDiverResponseDto>;

@@ -12,0 +12,0 @@ createConfig(modelId: string, body: ShapeDiverRequestConfigure): Promise<ShapeDiverResponseDto>;

@@ -28,3 +28,5 @@ "use strict";

return __awaiter(this, void 0, void 0, function* () {
return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () { return (yield this.api.post(this.commonPath, body))[1]; }));
return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.post(this.commonPath, undefined, body))[1];
}));
});

@@ -35,3 +37,3 @@ }

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.put(this.buildModelUri(modelId), body))[1];
return (yield this.api.put(this.buildModelUri(modelId), undefined, body))[1];
}));

@@ -47,6 +49,9 @@ });

}
list() {
list(offset) {
return __awaiter(this, void 0, void 0, function* () {
const queries = [];
if (offset !== undefined)
queries.push("offset=" + offset);
return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.get(`${this.commonPath}/list`))[1];
return (yield this.api.get(`${this.commonPath}/list`, queries))[1];
}));

@@ -65,3 +70,3 @@ });

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.post(this.buildModelUri(modelId) + "/config", body))[1];
return (yield this.api.post(this.buildModelUri(modelId) + "/config", undefined, body))[1];
}));

@@ -73,3 +78,3 @@ });

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.patch(this.buildModelUri(modelId) + "/config", body))[1];
return (yield this.api.patch(this.buildModelUri(modelId) + "/config", undefined, body))[1];
}));

@@ -81,3 +86,3 @@ });

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.get(this.buildModelUri(modelId) + "/file/download", {
return (yield this.api.get(this.buildModelUri(modelId) + "/file/download", undefined, {
contentType: "application/json",

@@ -92,3 +97,3 @@ responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA,

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.patch(this.buildModelUri(modelId) + "/parameter/defval", body))[1];
return (yield this.api.patch(this.buildModelUri(modelId) + "/parameter/defval", undefined, body))[1];
}));

@@ -100,3 +105,3 @@ });

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.patch(this.buildModelUri(modelId) + "/parameter", body))[1];
return (yield this.api.patch(this.buildModelUri(modelId) + "/parameter", undefined, body))[1];
}));

@@ -125,3 +130,3 @@ });

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.get(this.buildModelUri(modelId) + "/computations?" + queries.join("&")))[1];
return (yield this.api.get(this.buildModelUri(modelId) + "/computations", queries))[1];
}));

@@ -133,5 +138,3 @@ });

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.post(this.buildModelUri(modelId) +
"/cleanup/export?untilLastSeen=" +
untilLastSeen))[1];
return (yield this.api.post(this.buildModelUri(modelId) + "/cleanup/export", [`untilLastSeen=${untilLastSeen}`]))[1];
}));

@@ -143,5 +146,3 @@ });

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.post(this.buildModelUri(modelId) +
"/cleanup/output?untilLastSeen=" +
untilLastSeen))[1];
return (yield this.api.post(this.buildModelUri(modelId) + "/cleanup/output", [`untilLastSeen=${untilLastSeen}`]))[1];
}));

@@ -153,5 +154,3 @@ });

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.post(this.buildModelUri(modelId) +
"/cleanup/texture?untilLastSeen=" +
untilLastSeen))[1];
return (yield this.api.post(this.buildModelUri(modelId) + "/cleanup/texture", [`untilLastSeen=${untilLastSeen}`]))[1];
}));

@@ -158,0 +157,0 @@ });

@@ -8,4 +8,4 @@ import { ShapeDiverRequestCache, ShapeDiverRequestCustomization, ShapeDiverRequestOutputDefinition, ShapeDiverResponseDto } from "@shapediver/api.geometry-api-dto-v2";

updateDefinitions(modelId: string, body: ShapeDiverRequestOutputDefinition): Promise<ShapeDiverResponseDto>;
listVersions(sessionId: string, outputId: string): Promise<ShapeDiverResponseDto>;
listVersions(sessionId: string, outputId: string, offset?: string): Promise<ShapeDiverResponseDto>;
}
//# sourceMappingURL=ShapeDiverOutputApi.d.ts.map

@@ -22,3 +22,3 @@ "use strict";

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.put(this.buildSessionUri(sessionId) + "/output", body))[1];
return (yield this.api.put(this.buildSessionUri(sessionId) + "/output", undefined, body))[1];
}));

@@ -30,3 +30,3 @@ });

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.put(this.buildSessionUri(sessionId) + "/output/cache", body))[1];
return (yield this.api.put(this.buildSessionUri(sessionId) + "/output/cache", undefined, body))[1];
}));

@@ -38,10 +38,13 @@ });

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.patch(this.buildModelUri(modelId) + "/output", body))[1];
return (yield this.api.patch(this.buildModelUri(modelId) + "/output", undefined, body))[1];
}));
});
}
listVersions(sessionId, outputId) {
listVersions(sessionId, outputId, offset) {
return __awaiter(this, void 0, void 0, function* () {
const queries = [];
if (offset !== undefined)
queries.push("offset=" + offset);
return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.get(this.buildSessionUri(sessionId) + "/output/" + outputId + "/list"))[1];
return (yield this.api.get(`${this.buildSessionUri(sessionId)}/output/${outputId}/list`, queries))[1];
}));

@@ -48,0 +51,0 @@ });

@@ -5,3 +5,3 @@ import { ShapeDiverRequestSdtfUpload, ShapeDiverResponseDto } from "@shapediver/api.geometry-api-dto-v2";

constructor(api: ShapeDiverSdkApi);
list(sessionId: string, namespace: string): Promise<ShapeDiverResponseDto>;
list(sessionId: string, namespace: string, offset?: string): Promise<ShapeDiverResponseDto>;
get(sessionId: string, sdtfId: string): Promise<ArrayBuffer>;

@@ -8,0 +8,0 @@ delete(sessionId: string, sdtfId: string): Promise<ShapeDiverResponseDto>;

@@ -19,6 +19,9 @@ "use strict";

}
list(sessionId, namespace) {
list(sessionId, namespace, offset) {
return __awaiter(this, void 0, void 0, function* () {
const queries = [];
if (offset !== undefined)
queries.push("offset=" + offset);
return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.get(`${this.buildSessionUri(sessionId)}/sdtf/${namespace}/list`))[1];
return (yield this.api.get(`${this.buildSessionUri(sessionId)}/sdtf/${namespace}/list`, queries))[1];
}));

@@ -30,3 +33,3 @@ });

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.get(`${this.buildSessionUri(sessionId)}/sdtf/${sdtfId}`, { responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA }))[1];
return (yield this.api.get(`${this.buildSessionUri(sessionId)}/sdtf/${sdtfId}`, undefined, { responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA }))[1];
}));

@@ -45,3 +48,3 @@ });

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.post(this.buildSessionUri(sessionId) + "/sdtf/upload", body))[1];
return (yield this.api.post(this.buildSessionUri(sessionId) + "/sdtf/upload", undefined, body))[1];
}));

@@ -48,0 +51,0 @@ });

@@ -6,4 +6,4 @@ import { ShapeDiverRequestCustomization, ShapeDiverRequestExport, ShapeDiverRequestTicket, ShapeDiverResponseDto } from "@shapediver/api.geometry-api-dto-v2";

ticket(modelId: string, body: ShapeDiverRequestTicket): Promise<ShapeDiverResponseDto>;
init(ticket: string, request?: ShapeDiverRequestCustomization | ShapeDiverRequestExport): Promise<ShapeDiverResponseDto>;
initForModel(modelId: string, request?: ShapeDiverRequestCustomization | ShapeDiverRequestExport): Promise<ShapeDiverResponseDto>;
init(ticket: string, request?: ShapeDiverRequestCustomization | ShapeDiverRequestExport, modelStateId?: string, strictValidation?: boolean): Promise<ShapeDiverResponseDto>;
initForModel(modelId: string, request?: ShapeDiverRequestCustomization | ShapeDiverRequestExport, modelStateId?: string, strictValidation?: boolean): Promise<ShapeDiverResponseDto>;
default(sessionId: string): Promise<ShapeDiverResponseDto>;

@@ -10,0 +10,0 @@ close(sessionId: string): Promise<ShapeDiverResponseDto>;

@@ -22,17 +22,27 @@ "use strict";

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.post(this.buildModelUri(modelId) + "/ticket", body))[1];
return (yield this.api.post(this.buildModelUri(modelId) + "/ticket", undefined, body))[1];
}));
});
}
init(ticket, request) {
init(ticket, request, modelStateId, strictValidation) {
return __awaiter(this, void 0, void 0, function* () {
const queries = [];
if (modelStateId !== undefined)
queries.push("modelStateId=" + modelStateId);
if (strictValidation !== undefined)
queries.push("strictValidation=" + strictValidation);
return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.post(this.buildTicketUri(ticket), request))[1];
return (yield this.api.post(this.buildTicketUri(ticket), queries, request))[1];
}));
});
}
initForModel(modelId, request) {
initForModel(modelId, request, modelStateId, strictValidation) {
return __awaiter(this, void 0, void 0, function* () {
const queries = [];
if (modelStateId !== undefined)
queries.push("modelStateId=" + modelStateId);
if (strictValidation !== undefined)
queries.push("strictValidation=" + strictValidation);
return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.post(this.buildModelUri(modelId) + "/session", request))[1];
return (yield this.api.post(this.buildModelUri(modelId) + "/session", queries, request))[1];
}));

@@ -39,0 +49,0 @@ });

@@ -22,3 +22,3 @@ "use strict";

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.post(this.buildSessionUri(sessionId) + "/log/message", body))[1];
return (yield this.api.post(this.buildSessionUri(sessionId) + "/log/message", undefined, body))[1];
}));

@@ -44,3 +44,3 @@ });

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.post(this.buildAuthGroupUri(), body))[1];
return (yield this.api.post(this.buildAuthGroupUri(), undefined, body))[1];
}));

@@ -47,0 +47,0 @@ });

@@ -5,4 +5,4 @@ import { ShapeDiverResponseDto } from "@shapediver/api.geometry-api-dto-v2";

constructor(api: ShapeDiverSdkApi);
listModelTextures(sessionId: string): Promise<ShapeDiverResponseDto>;
listModelTextures(sessionId: string, offset?: string): Promise<ShapeDiverResponseDto>;
}
//# sourceMappingURL=ShapeDiverTextureApi.d.ts.map

@@ -19,6 +19,9 @@ "use strict";

}
listModelTextures(sessionId) {
listModelTextures(sessionId, offset) {
return __awaiter(this, void 0, void 0, function* () {
const queries = [];
if (offset !== undefined)
queries.push("offset=" + offset);
return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return (yield this.api.get(this.buildSessionUri(sessionId) + "/texture/list"))[1];
return (yield this.api.get(this.buildSessionUri(sessionId) + "/texture/list", queries))[1];
}));

@@ -25,0 +28,0 @@ });

@@ -22,3 +22,3 @@ "use strict";

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return this.api.put(url, data, {
return this.api.put(url, undefined, data, {
contentType: contentType,

@@ -38,3 +38,3 @@ contentDisposition: filename

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return this.api.put(url, data, {
return this.api.put(url, undefined, data, {
contentType: headers.contentType,

@@ -52,3 +52,3 @@ contentDisposition: headers.contentDisposition,

return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () {
return this.api.get(url, {
return this.api.get(url, undefined, {
contentType: "application/json",

@@ -55,0 +55,0 @@ responseType: responseType,

@@ -15,2 +15,3 @@ import { BaseShapeDiverSdk } from "@shapediver/sdk.geometry-api-sdk-core";

import { ShapeDiverUtilsApi } from "./resources/ShapeDiverUtilsApi";
import { ShapeDiverModelStateApi } from "./resources/ShapeDiverModelStateApi";
export declare function create(baseUrl: string, jwt?: string): ShapeDiverSdk;

@@ -25,2 +26,3 @@ export declare class ShapeDiverSdk extends BaseShapeDiverSdk {

private readonly _model;
private readonly _modelState;
private readonly _output;

@@ -40,2 +42,3 @@ private readonly _sdtf;

get model(): ShapeDiverModelApi;
get modelState(): ShapeDiverModelStateApi;
get output(): ShapeDiverOutputApi;

@@ -42,0 +45,0 @@ get sdtf(): ShapeDiverSdtfApi;

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

const ShapeDiverUtilsApi_1 = require("./resources/ShapeDiverUtilsApi");
const ShapeDiverModelStateApi_1 = require("./resources/ShapeDiverModelStateApi");
function create(baseUrl, jwt) {

@@ -35,2 +36,3 @@ return new ShapeDiverSdk(baseUrl, jwt);

this._model = new ShapeDiverModelApi_1.ShapeDiverModelApi(this.sdkApi);
this._modelState = new ShapeDiverModelStateApi_1.ShapeDiverModelStateApi(this.sdkApi);
this._output = new ShapeDiverOutputApi_1.ShapeDiverOutputApi(this.sdkApi);

@@ -64,2 +66,5 @@ this._sdtf = new ShapeDiverSdtfApi_1.ShapeDiverSdtfApi(this.sdkApi);

}
get modelState() {
return this._modelState;
}
get output() {

@@ -66,0 +71,0 @@ return this._output;

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

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

"jest": "~29.7.0",
"lerna": "8.1.3",
"typescript": "~5.5.2",
"webpack": "~5.92.1",
"lerna": "8.1.8",
"typescript": "~5.5.4",
"webpack": "~5.94.0",
"webpack-cli": "~5.1.4",

@@ -58,5 +58,5 @@ "webpack-dev-server": "~5.0.4"

"dependencies": {
"@shapediver/sdk.geometry-api-sdk-core": "~1.4.1",
"@shapediver/api.geometry-api-dto-v2": "~1.22.0"
"@shapediver/sdk.geometry-api-sdk-core": "~1.5.0",
"@shapediver/api.geometry-api-dto-v2": "~1.23.0"
}
}

@@ -30,2 +30,3 @@ import {

this.buildAnalyticsUri() + "/session/model",
undefined,
body,

@@ -46,2 +47,3 @@ )

this.buildAnalyticsUri() + "/credit-metrics",
undefined,
body,

@@ -59,6 +61,3 @@ )

await this.api.get<ShapeDiverResponseDto>(
this.buildAnalyticsUri() +
"/credit-metrics/timestamp/" +
timestamp +
"/user",
`${this.buildAnalyticsUri()}/credit-metrics/timestamp/${timestamp}/user`,
)

@@ -77,6 +76,3 @@ )[1],

await this.api.get<ShapeDiverResponseDto>(
this.buildAnalyticsUri() +
"/credit-metrics/timestamp/" +
timestamp +
"/org",
`${this.buildAnalyticsUri()}/credit-metrics/timestamp/${timestamp}/org`,
)

@@ -96,7 +92,3 @@ )[1],

await this.api.get<ShapeDiverResponseDto>(
this.buildAnalyticsUri() +
"/credit-metrics/timestamp/" +
timestamp +
"/user/" +
userId,
`${this.buildAnalyticsUri()}/credit-metrics/timestamp/${timestamp}/user/${userId}`,
)

@@ -116,7 +108,3 @@ )[1],

await this.api.get<ShapeDiverResponseDto>(
this.buildAnalyticsUri() +
"/credit-metrics/timestamp/" +
timestamp +
"/org/" +
orgId,
`${this.buildAnalyticsUri()}/credit-metrics/timestamp/${timestamp}/org/${orgId}`,
)

@@ -123,0 +111,0 @@ )[1],

@@ -16,10 +16,10 @@ import {

* Checks the existence of the specific AR scene.
* @param sceneId
* @param id AR scene ID or Model-State ID.
* @returns `true` when the AR scene exists, otherwise `false`.
*/
async exists(sceneId: string): Promise<boolean> {
async exists(id: string): Promise<boolean> {
return await sendRequest(async () => {
try {
const [_, status] = await this.api.head(
`${this.buildArSceneUri()}/${sceneId}`,
`${this.buildArSceneUri()}/${id}`,
{ disableAuthorization: true },

@@ -40,9 +40,10 @@ );

*
* @param sceneId - The ID of the AR scene.
* @param id AR scene ID or Model-State ID.
* @returns Array of size 2: [0] = content data, [1] = content type
*/
async getGltf(sceneId: string): Promise<[ArrayBuffer, string]> {
async getGltf(id: string): Promise<[ArrayBuffer, string]> {
return await sendRequest(async () => {
const [header, data] = await this.api.get<ArrayBuffer>(
`${this.buildArSceneUri()}/${sceneId}/gltf`,
`${this.buildArSceneUri()}/${id}/gltf`,
undefined,
{

@@ -61,9 +62,10 @@ responseType: ShapeDiverSdkApiResponseType.DATA,

*
* @param sceneId - The ID of the AR scene.
* @param id AR scene ID or Model-State ID.
* @returns Array of size 2: [0] = content data, [1] = content type
*/
async getUsdz(sceneId: string): Promise<[ArrayBuffer, string]> {
async getUsdz(id: string): Promise<[ArrayBuffer, string]> {
return await sendRequest(async () => {
const [header, data] = await this.api.get<ArrayBuffer>(
`${this.buildArSceneUri()}/${sceneId}/usdz`,
`${this.buildArSceneUri()}/${id}/usdz`,
undefined,
{

@@ -70,0 +72,0 @@ responseType: ShapeDiverSdkApiResponseType.DATA,

@@ -36,2 +36,3 @@ import {

`${this.buildSessionUri(sessionId)}/export/${assetData}`,
undefined,
{ responseType: ShapeDiverSdkApiResponseType.DATA },

@@ -57,2 +58,3 @@ );

`${this.buildSessionUri(sessionId)}/output/${assetData}`,
undefined,
{ responseType: ShapeDiverSdkApiResponseType.DATA },

@@ -80,2 +82,3 @@ );

`${this.buildSessionUri(sessionId)}/output/${assetData}`,
undefined,
{

@@ -103,2 +106,3 @@ responseType: ShapeDiverSdkApiResponseType.JSON,

`${this.buildSessionUri(sessionId)}/texture/${assetData}`,
undefined,
{ responseType: ShapeDiverSdkApiResponseType.DATA },

@@ -123,2 +127,3 @@ );

`${this.buildSessionUri(sessionId)}/gltf/${assetData}`,
undefined,
{ responseType: ShapeDiverSdkApiResponseType.DATA },

@@ -142,2 +147,3 @@ )

`${this.buildSessionUri(sessionId)}/usdz/${assetData}`,
undefined,
{ responseType: ShapeDiverSdkApiResponseType.DATA },

@@ -160,3 +166,3 @@ )

): Promise<[ArrayBuffer, string]> {
let targetUrl: string;
let targetUrl: string, queries: string[];

@@ -166,12 +172,18 @@ if (apiAssetTextureUri.test(url) || cdnAssetTextureUri.test(url)) {

targetUrl = url;
queries = [];
} else {
// All other source URLs are called via the download-image endpoint
targetUrl = `${this.buildSessionUri(sessionId)}/image?url=${encodeBase64(url)}`;
targetUrl = `${this.buildSessionUri(sessionId)}/image`;
queries = [`url=${encodeBase64(url)}`];
}
return await sendRequest(async () => {
const [header, data] = await this.api.get<ArrayBuffer>(targetUrl, {
responseType: ShapeDiverSdkApiResponseType.DATA,
disableAuthorization: cdnAssetUri.test(url), // disable for CDN URLs
});
const [header, data] = await this.api.get<ArrayBuffer>(
targetUrl,
queries,
{
responseType: ShapeDiverSdkApiResponseType.DATA,
disableAuthorization: cdnAssetUri.test(url), // disable for CDN URLs
},
);
const contentType = header["Content-Type"] ?? header["content-type"];

@@ -213,3 +225,3 @@ return [data, contentType];

return await sendRequest(async () => {
const [header, data] = await this.api.get<ArrayBuffer>(url, {
const [header, data] = await this.api.get<ArrayBuffer>(url, undefined, {
responseType: ShapeDiverSdkApiResponseType.DATA,

@@ -216,0 +228,0 @@ disableAuthorization: cdnAssetUri.test(url), // disable for CDN URLs

@@ -33,2 +33,3 @@ import {

this.buildSessionUri(sessionId) + "/export",
undefined,
body,

@@ -55,2 +56,3 @@ )

this.buildSessionUri(sessionId) + "/export/cache",
undefined,
body,

@@ -77,2 +79,3 @@ )

this.buildModelUri(modelId) + "/export",
undefined,
body,

@@ -98,3 +101,3 @@ )

await this.api.get<ShapeDiverResponseDto>(
this.buildSessionUri(sessionId) + "/export/" + exportId + "/list",
`${this.buildSessionUri(sessionId)}/export/${exportId}/list`,
)

@@ -101,0 +104,0 @@ )[1],

@@ -31,3 +31,8 @@ import {

paramId: string,
offset?: string,
): Promise<ShapeDiverResponseDto> {
// Build queries
const queries: string[] = [];
if (offset !== undefined) queries.push("offset=" + offset);
return await sendRequest(

@@ -38,2 +43,3 @@ async () =>

`${this.buildSessionUri(sessionId)}/file/${paramId}/list`,
queries,
)

@@ -96,2 +102,3 @@ )[1],

`${this.buildSessionUri(sessionId)}/file/${paramId}/${fileId}`,
undefined,
{ responseType: ShapeDiverSdkApiResponseType.DATA },

@@ -140,2 +147,3 @@ )

this.buildSessionUri(sessionId) + "/file/upload",
undefined,
body,

@@ -142,0 +150,0 @@ )

@@ -35,3 +35,4 @@ import {

await this.api.post<ShapeDiverResponseDto>(
`${this.buildSessionUri(sessionId)}/gltf?conversion=${queryConvert}`,
`${this.buildSessionUri(sessionId)}/gltf`,
[`conversion=${queryConvert}`],
body,

@@ -38,0 +39,0 @@ {

@@ -45,3 +45,9 @@ import {

async () =>
(await this.api.post<ShapeDiverResponseDto>(this.commonPath, body))[1],
(
await this.api.post<ShapeDiverResponseDto>(
this.commonPath,
undefined,
body,
)
)[1],
);

@@ -65,2 +71,3 @@ }

this.buildModelUri(modelId),
undefined,
body,

@@ -91,7 +98,14 @@ )

*/
async list(): Promise<ShapeDiverResponseDto> {
async list(offset?: string): Promise<ShapeDiverResponseDto> {
// Build queries
const queries: string[] = [];
if (offset !== undefined) queries.push("offset=" + offset);
return await sendRequest(
async () =>
(
await this.api.get<ShapeDiverResponseDto>(`${this.commonPath}/list`)
await this.api.get<ShapeDiverResponseDto>(
`${this.commonPath}/list`,
queries,
)
)[1],

@@ -132,2 +146,3 @@ );

this.buildModelUri(modelId) + "/config",
undefined,
body,

@@ -154,2 +169,3 @@ )

this.buildModelUri(modelId) + "/config",
undefined,
body,

@@ -172,2 +188,3 @@ )

this.buildModelUri(modelId) + "/file/download",
undefined,
{

@@ -197,2 +214,3 @@ contentType: "application/json",

this.buildModelUri(modelId) + "/parameter/defval",
undefined,
body,

@@ -219,2 +237,3 @@ )

this.buildModelUri(modelId) + "/parameter",
undefined,
body,

@@ -266,3 +285,4 @@ )

await this.api.get<ShapeDiverResponseDto>(
this.buildModelUri(modelId) + "/computations?" + queries.join("&"),
this.buildModelUri(modelId) + "/computations",
queries,
)

@@ -291,5 +311,4 @@ )[1],

await this.api.post<ShapeDiverResponseDto>(
this.buildModelUri(modelId) +
"/cleanup/export?untilLastSeen=" +
untilLastSeen,
this.buildModelUri(modelId) + "/cleanup/export",
[`untilLastSeen=${untilLastSeen}`],
)

@@ -318,5 +337,4 @@ )[1],

await this.api.post<ShapeDiverResponseDto>(
this.buildModelUri(modelId) +
"/cleanup/output?untilLastSeen=" +
untilLastSeen,
this.buildModelUri(modelId) + "/cleanup/output",
[`untilLastSeen=${untilLastSeen}`],
)

@@ -345,5 +363,4 @@ )[1],

await this.api.post<ShapeDiverResponseDto>(
this.buildModelUri(modelId) +
"/cleanup/texture?untilLastSeen=" +
untilLastSeen,
this.buildModelUri(modelId) + "/cleanup/texture",
[`untilLastSeen=${untilLastSeen}`],
)

@@ -350,0 +367,0 @@ )[1],

@@ -33,2 +33,3 @@ import {

this.buildSessionUri(sessionId) + "/output",
undefined,
body,

@@ -55,2 +56,3 @@ )

this.buildSessionUri(sessionId) + "/output/cache",
undefined,
body,

@@ -77,2 +79,3 @@ )

this.buildModelUri(modelId) + "/output",
undefined,
body,

@@ -93,3 +96,8 @@ )

outputId: string,
offset?: string,
): Promise<ShapeDiverResponseDto> {
// Build queries
const queries: string[] = [];
if (offset !== undefined) queries.push("offset=" + offset);
return await sendRequest(

@@ -99,3 +107,4 @@ async () =>

await this.api.get<ShapeDiverResponseDto>(
this.buildSessionUri(sessionId) + "/output/" + outputId + "/list",
`${this.buildSessionUri(sessionId)}/output/${outputId}/list`,
queries,
)

@@ -102,0 +111,0 @@ )[1],

@@ -26,3 +26,8 @@ import {

namespace: string,
offset?: string,
): Promise<ShapeDiverResponseDto> {
// Build queries
const queries: string[] = [];
if (offset !== undefined) queries.push("offset=" + offset);
return await sendRequest(

@@ -33,2 +38,3 @@ async () =>

`${this.buildSessionUri(sessionId)}/sdtf/${namespace}/list`,
queries,
)

@@ -51,2 +57,3 @@ )[1],

`${this.buildSessionUri(sessionId)}/sdtf/${sdtfId}`,
undefined,
{ responseType: ShapeDiverSdkApiResponseType.DATA },

@@ -93,2 +100,3 @@ )

this.buildSessionUri(sessionId) + "/sdtf/upload",
undefined,
body,

@@ -95,0 +103,0 @@ )

@@ -34,2 +34,3 @@ import {

this.buildModelUri(modelId) + "/ticket",
undefined,
body,

@@ -46,2 +47,6 @@ )

* @param request - Optional customization or export request.
* @param modelStateId - ID of the Model-State to apply.
* @param strictValidation - When `false`, any Model-State parameter that cannot be applied to the
* model is ignored. However, when set to `true`, any validation error will result in an error
* response.
*/

@@ -51,3 +56,12 @@ async init(

request?: ShapeDiverRequestCustomization | ShapeDiverRequestExport,
modelStateId?: string,
strictValidation?: boolean,
): Promise<ShapeDiverResponseDto> {
// Build queries
const queries: string[] = [];
if (modelStateId !== undefined)
queries.push("modelStateId=" + modelStateId);
if (strictValidation !== undefined)
queries.push("strictValidation=" + strictValidation);
return await sendRequest(

@@ -58,2 +72,3 @@ async () =>

this.buildTicketUri(ticket),
queries,
request,

@@ -70,2 +85,6 @@ )

* @param request - Optional customization or export request.
* @param modelStateId - ID of the Model-State to apply.
* @param strictValidation - When `false`, any Model-State parameter that cannot be applied to the
* model is ignored. However, when set to `true`, any validation error will result in an error
* response.
*/

@@ -75,3 +94,12 @@ async initForModel(

request?: ShapeDiverRequestCustomization | ShapeDiverRequestExport,
modelStateId?: string,
strictValidation?: boolean,
): Promise<ShapeDiverResponseDto> {
// Build queries
const queries: string[] = [];
if (modelStateId !== undefined)
queries.push("modelStateId=" + modelStateId);
if (strictValidation !== undefined)
queries.push("strictValidation=" + strictValidation);
return await sendRequest(

@@ -82,2 +110,3 @@ async () =>

this.buildModelUri(modelId) + "/session",
queries,
request,

@@ -84,0 +113,0 @@ )

@@ -32,2 +32,3 @@ import {

this.buildSessionUri(sessionId) + "/log/message",
undefined,
body,

@@ -84,2 +85,3 @@ )

this.buildAuthGroupUri(),
undefined,
body,

@@ -86,0 +88,0 @@ )

@@ -18,3 +18,10 @@ import { ShapeDiverResponseDto } from "@shapediver/api.geometry-api-dto-v2";

*/
async listModelTextures(sessionId: string): Promise<ShapeDiverResponseDto> {
async listModelTextures(
sessionId: string,
offset?: string,
): Promise<ShapeDiverResponseDto> {
// Build queries
const queries: string[] = [];
if (offset !== undefined) queries.push("offset=" + offset);
return await sendRequest(

@@ -25,2 +32,3 @@ async () =>

this.buildSessionUri(sessionId) + "/texture/list",
queries,
)

@@ -27,0 +35,0 @@ )[1],

@@ -54,3 +54,3 @@ import {

return await sendRequest(async () =>
this.api.put<any>(url, data, {
this.api.put<any>(url, undefined, data, {
contentType: contentType,

@@ -80,3 +80,3 @@ contentDisposition: filename

return await sendRequest(async () =>
this.api.put<any>(url, data, {
this.api.put<any>(url, undefined, data, {
contentType: headers.contentType,

@@ -103,3 +103,3 @@ contentDisposition: headers.contentDisposition,

return await sendRequest(async () =>
this.api.get<any>(url, {
this.api.get<any>(url, undefined, {
contentType: "application/json",

@@ -106,0 +106,0 @@ responseType: responseType,

@@ -18,2 +18,3 @@ import {

import { ShapeDiverUtilsApi } from "./resources/ShapeDiverUtilsApi";
import { ShapeDiverModelStateApi } from "./resources/ShapeDiverModelStateApi";

@@ -32,2 +33,3 @@ export function create(baseUrl: string, jwt?: string): ShapeDiverSdk {

private readonly _model: ShapeDiverModelApi;
private readonly _modelState: ShapeDiverModelStateApi;
private readonly _output: ShapeDiverOutputApi;

@@ -57,2 +59,3 @@ private readonly _sdtf: ShapeDiverSdtfApi;

this._model = new ShapeDiverModelApi(this.sdkApi);
this._modelState = new ShapeDiverModelStateApi(this.sdkApi);
this._output = new ShapeDiverOutputApi(this.sdkApi);

@@ -94,2 +97,6 @@ this._sdtf = new ShapeDiverSdtfApi(this.sdkApi);

get modelState(): ShapeDiverModelStateApi {
return this._modelState;
}
get output(): ShapeDiverOutputApi {

@@ -96,0 +103,0 @@ return this._output;

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

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

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

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

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

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

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

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