@shapediver/sdk.geometry-api-sdk-v2 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -0
- package/dist/ShapeDiverErrors.d.ts +2 -1
- package/dist/ShapeDiverErrors.d.ts.map +1 -1
- package/dist/ShapeDiverErrors.js +1 -0
- package/dist/ShapeDiverErrors.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/utils/utils.d.ts +10 -0
- package/dist/utils/utils.d.ts.map +1 -1
- package/dist/utils/utils.js +29 -1
- package/dist/utils/utils.js.map +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -70,6 +70,42 @@ import { create } from "@shapediver/sdk.geometry-api-sdk-v2"
|
|
|
70
70
|
})()
|
|
71
71
|
```
|
|
72
72
|
|
|
73
|
+
## Handling Errors
|
|
74
|
+
The SDK provides type guards to distinguish between error types.
|
|
75
|
+
|
|
76
|
+
```
|
|
77
|
+
import {
|
|
78
|
+
isGBError,
|
|
79
|
+
isGBGenericError,
|
|
80
|
+
isGBRequestError,
|
|
81
|
+
isGBResponseError,
|
|
82
|
+
} from "@shapediver/sdk.geometry-api-sdk-v2"
|
|
83
|
+
|
|
84
|
+
try {
|
|
85
|
+
sdk.model.get("be5d4ce5-f76d-417d-8496-1f038e6f0cab")
|
|
86
|
+
catch (e: any) {
|
|
87
|
+
if (isGBRequestError(e)) {
|
|
88
|
+
// e is a request error.
|
|
89
|
+
// In this case, the request was made but no response was received.
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
if (isGBResponseError(e)) {
|
|
93
|
+
// e is a response error.
|
|
94
|
+
// In this case, the request was made and the server responded with a status code that falls
|
|
95
|
+
// out of the range of 2xx.
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
if (isGBGenericError(e)) {
|
|
99
|
+
// e is a generic error.
|
|
100
|
+
// Generic errors are used for everything that is neither a request error nor a response error.
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
if (isGBError(e)) {
|
|
104
|
+
// e is either a generic error, request error or response error.
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
```
|
|
108
|
+
|
|
73
109
|
## Examples
|
|
74
110
|
Some practical use cases, we will regularly extend the list:
|
|
75
111
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ShapeDiverResponseError as ShapeDiverResponseErrorDto, ShapeDiverResponseErrorType } from "@shapediver/api.geometry-api-dto-v2";
|
|
2
|
-
import { ShapeDiverError, ShapeDiverResponseError as ShapeDiverResponseErrorCore } from "@shapediver/sdk.geometry-api-sdk-core";
|
|
2
|
+
import { ShapeDiverError, ShapeDiverErrorType, ShapeDiverResponseError as ShapeDiverResponseErrorCore } from "@shapediver/sdk.geometry-api-sdk-core";
|
|
3
3
|
export declare class ShapeDiverResponseError extends ShapeDiverError implements ShapeDiverResponseErrorDto {
|
|
4
|
+
readonly errorType: ShapeDiverErrorType;
|
|
4
5
|
readonly status: number;
|
|
5
6
|
readonly error: ShapeDiverResponseErrorType;
|
|
6
7
|
readonly desc: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShapeDiverErrors.d.ts","sourceRoot":"","sources":["../src/ShapeDiverErrors.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,uBAAuB,IAAI,0BAA0B,EACrD,2BAA2B,EAC9B,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EACH,eAAe,EACf,uBAAuB,IAAI,2BAA2B,EACzD,MAAM,uCAAuC,CAAA;AAG9C,qBAAa,
|
|
1
|
+
{"version":3,"file":"ShapeDiverErrors.d.ts","sourceRoot":"","sources":["../src/ShapeDiverErrors.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,uBAAuB,IAAI,0BAA0B,EACrD,2BAA2B,EAC9B,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EACH,eAAe,EACf,mBAAmB,EACnB,uBAAuB,IAAI,2BAA2B,EACzD,MAAM,uCAAuC,CAAA;AAG9C,qBAAa,uBACT,SAAQ,eACR,YAAW,0BAA0B;IAErC,SAAgB,SAAS,EAAE,mBAAmB,CAA+B;IAE7E,SAAgB,MAAM,EAAE,MAAM,CAAA;IAC9B,SAAgB,KAAK,EAAE,2BAA2B,CAAA;IAClD,SAAgB,IAAI,EAAE,MAAM,CAAA;gBAEhB,CAAC,EAAE,2BAA2B;CAW7C"}
|
package/dist/ShapeDiverErrors.js
CHANGED
|
@@ -7,6 +7,7 @@ const sdk_geometry_api_sdk_core_1 = require("@shapediver/sdk.geometry-api-sdk-co
|
|
|
7
7
|
class ShapeDiverResponseError extends sdk_geometry_api_sdk_core_1.ShapeDiverError {
|
|
8
8
|
constructor(e) {
|
|
9
9
|
super(e.message);
|
|
10
|
+
this.errorType = sdk_geometry_api_sdk_core_1.ShapeDiverErrorType.Response;
|
|
10
11
|
this.status = e.status;
|
|
11
12
|
this.desc = e.desc;
|
|
12
13
|
this.error = (Object.values(api_geometry_api_dto_v2_1.ShapeDiverResponseErrorType).includes(e.error))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShapeDiverErrors.js","sourceRoot":"","sources":["../src/ShapeDiverErrors.ts"],"names":[],"mappings":";;;AAAA,iFAG4C;AAC5C,
|
|
1
|
+
{"version":3,"file":"ShapeDiverErrors.js","sourceRoot":"","sources":["../src/ShapeDiverErrors.ts"],"names":[],"mappings":";;;AAAA,iFAG4C;AAC5C,qFAI8C;AAE9C,6EAA6E;AAC7E,MAAa,uBACT,SAAQ,2CAAe;IASvB,YAAY,CAA8B;QACtC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAA;QAPJ,cAAS,GAAwB,+CAAmB,CAAC,QAAQ,CAAA;QASzE,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,MAAM,CAAA;QACtB,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC,IAAI,CAAA;QAElB,IAAI,CAAC,KAAK,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,qDAA2B,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAY,CAAC,CAAC;YAC9E,CAAC,CAAC,CAAC,CAAC,KAAoC;YACxC,CAAC,CAAC,qDAA2B,CAAC,OAAO,CAAA;IAC7C,CAAC;CAEJ;AArBD,0DAqBC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -2,4 +2,5 @@ export * from "@shapediver/api.geometry-api-dto-v2";
|
|
|
2
2
|
export { ShapeDiverError, ShapeDiverRequestError, ShapeDiverSdkApiResponseType, ShapeDiverSdkConfig, ShapeDiverSdkConfigType, } from "@shapediver/sdk.geometry-api-sdk-core";
|
|
3
3
|
export { ShapeDiverResponseError } from "./ShapeDiverErrors";
|
|
4
4
|
export { create, ShapeDiverSdk } from "./ShapeDiverSdk";
|
|
5
|
+
export { isGBError, isGBGenericError, isGBRequestError, isGBResponseError, } from "./utils/utils";
|
|
5
6
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAA;AACnD,OAAO,EACH,eAAe,EACf,sBAAsB,EACtB,4BAA4B,EAC5B,mBAAmB,EACnB,uBAAuB,GAC1B,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAA;AAC5D,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAA;AACnD,OAAO,EACH,eAAe,EACf,sBAAsB,EACtB,4BAA4B,EAC5B,mBAAmB,EACnB,uBAAuB,GAC1B,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAA;AAC5D,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AACvD,OAAO,EACH,SAAS,EACT,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,GACpB,MAAM,eAAe,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.ShapeDiverSdk = exports.create = exports.ShapeDiverResponseError = exports.ShapeDiverSdkConfigType = exports.ShapeDiverSdkApiResponseType = exports.ShapeDiverRequestError = exports.ShapeDiverError = void 0;
|
|
17
|
+
exports.isGBResponseError = exports.isGBRequestError = exports.isGBGenericError = exports.isGBError = exports.ShapeDiverSdk = exports.create = exports.ShapeDiverResponseError = exports.ShapeDiverSdkConfigType = exports.ShapeDiverSdkApiResponseType = exports.ShapeDiverRequestError = exports.ShapeDiverError = void 0;
|
|
18
18
|
__exportStar(require("@shapediver/api.geometry-api-dto-v2"), exports);
|
|
19
19
|
var sdk_geometry_api_sdk_core_1 = require("@shapediver/sdk.geometry-api-sdk-core");
|
|
20
20
|
Object.defineProperty(exports, "ShapeDiverError", { enumerable: true, get: function () { return sdk_geometry_api_sdk_core_1.ShapeDiverError; } });
|
|
@@ -26,4 +26,9 @@ Object.defineProperty(exports, "ShapeDiverResponseError", { enumerable: true, ge
|
|
|
26
26
|
var ShapeDiverSdk_1 = require("./ShapeDiverSdk");
|
|
27
27
|
Object.defineProperty(exports, "create", { enumerable: true, get: function () { return ShapeDiverSdk_1.create; } });
|
|
28
28
|
Object.defineProperty(exports, "ShapeDiverSdk", { enumerable: true, get: function () { return ShapeDiverSdk_1.ShapeDiverSdk; } });
|
|
29
|
+
var utils_1 = require("./utils/utils");
|
|
30
|
+
Object.defineProperty(exports, "isGBError", { enumerable: true, get: function () { return utils_1.isGBError; } });
|
|
31
|
+
Object.defineProperty(exports, "isGBGenericError", { enumerable: true, get: function () { return utils_1.isGBGenericError; } });
|
|
32
|
+
Object.defineProperty(exports, "isGBRequestError", { enumerable: true, get: function () { return utils_1.isGBRequestError; } });
|
|
33
|
+
Object.defineProperty(exports, "isGBResponseError", { enumerable: true, get: function () { return utils_1.isGBResponseError; } });
|
|
29
34
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,sEAAmD;AACnD,mFAM8C;AAL1C,4HAAA,eAAe,OAAA;AACf,mIAAA,sBAAsB,OAAA;AACtB,yIAAA,4BAA4B,OAAA;AAE5B,oIAAA,uBAAuB,OAAA;AAE3B,uDAA4D;AAAnD,2HAAA,uBAAuB,OAAA;AAChC,iDAAuD;AAA9C,uGAAA,MAAM,OAAA;AAAE,8GAAA,aAAa,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,sEAAmD;AACnD,mFAM8C;AAL1C,4HAAA,eAAe,OAAA;AACf,mIAAA,sBAAsB,OAAA;AACtB,yIAAA,4BAA4B,OAAA;AAE5B,oIAAA,uBAAuB,OAAA;AAE3B,uDAA4D;AAAnD,2HAAA,uBAAuB,OAAA;AAChC,iDAAuD;AAA9C,uGAAA,MAAM,OAAA;AAAE,8GAAA,aAAa,OAAA;AAC9B,uCAKsB;AAJlB,kGAAA,SAAS,OAAA;AACT,yGAAA,gBAAgB,OAAA;AAChB,yGAAA,gBAAgB,OAAA;AAChB,0GAAA,iBAAiB,OAAA"}
|
package/dist/utils/utils.d.ts
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
import { ShapeDiverError, ShapeDiverRequestError as ShapeDiverRequestErrorCore } from "@shapediver/sdk.geometry-api-sdk-core";
|
|
2
|
+
import { ShapeDiverResponseError } from "../ShapeDiverErrors";
|
|
3
|
+
/** Type guard for all error types of the Geometry Backend SDK package. */
|
|
4
|
+
export declare function isGBError(e: any): e is (ShapeDiverError & ShapeDiverRequestErrorCore & ShapeDiverResponseError);
|
|
5
|
+
/** Type guard for a Geometry Backend SDK generic error. */
|
|
6
|
+
export declare function isGBGenericError(e: any): e is ShapeDiverError;
|
|
7
|
+
/** Type guard for a Geometry Backend SDK request error. */
|
|
8
|
+
export declare function isGBRequestError(e: any): e is ShapeDiverRequestErrorCore;
|
|
9
|
+
/** Type guard for a Geometry Backend SDK response error. */
|
|
10
|
+
export declare function isGBResponseError(e: any): e is ShapeDiverResponseError;
|
|
1
11
|
/**
|
|
2
12
|
* Sends the given request, handles retries for the HTTP status 429, and maps
|
|
3
13
|
* the response error object to its typed representation.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils/utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,eAAe,EAEf,sBAAsB,IAAI,0BAA0B,EAEvD,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAE7D,0EAA0E;AAC1E,wBAAgB,SAAS,CAAC,CAAC,EAAE,GAAG,GAAG,CAAC,IAChC,CAAC,eAAe,GAAG,0BAA0B,GAAG,uBAAuB,CAAC,CAI3E;AAED,2DAA2D;AAC3D,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,GAAG,GAAG,CAAC,IAAI,eAAe,CAI7D;AAED,2DAA2D;AAC3D,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,GAAG,GAAG,CAAC,IAAI,0BAA0B,CAIxE;AAED,4DAA4D;AAC5D,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,GAAG,GAAG,CAAC,IAAI,uBAAuB,CAItE;AAED;;;GAGG;AACH,wBAAsB,WAAW,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAiCvE;AAED,+DAA+D;AAC/D,wBAAgB,KAAK,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAE/C;AAED,wCAAwC;AACxC,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAMhD"}
|
package/dist/utils/utils.js
CHANGED
|
@@ -9,9 +9,37 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.encodeBase64 = exports.sleep = exports.sendRequest = void 0;
|
|
12
|
+
exports.encodeBase64 = exports.sleep = exports.sendRequest = exports.isGBResponseError = exports.isGBRequestError = exports.isGBGenericError = exports.isGBError = void 0;
|
|
13
13
|
const sdk_geometry_api_sdk_core_1 = require("@shapediver/sdk.geometry-api-sdk-core");
|
|
14
14
|
const ShapeDiverErrors_1 = require("../ShapeDiverErrors");
|
|
15
|
+
/** Type guard for all error types of the Geometry Backend SDK package. */
|
|
16
|
+
function isGBError(e) {
|
|
17
|
+
return e instanceof Error &&
|
|
18
|
+
"errorType" in e &&
|
|
19
|
+
Object.values(sdk_geometry_api_sdk_core_1.ShapeDiverErrorType).includes(e.errorType);
|
|
20
|
+
}
|
|
21
|
+
exports.isGBError = isGBError;
|
|
22
|
+
/** Type guard for a Geometry Backend SDK generic error. */
|
|
23
|
+
function isGBGenericError(e) {
|
|
24
|
+
return e instanceof Error &&
|
|
25
|
+
"errorType" in e &&
|
|
26
|
+
e.errorType === sdk_geometry_api_sdk_core_1.ShapeDiverErrorType.Generic;
|
|
27
|
+
}
|
|
28
|
+
exports.isGBGenericError = isGBGenericError;
|
|
29
|
+
/** Type guard for a Geometry Backend SDK request error. */
|
|
30
|
+
function isGBRequestError(e) {
|
|
31
|
+
return e instanceof Error &&
|
|
32
|
+
"errorType" in e &&
|
|
33
|
+
e.errorType === sdk_geometry_api_sdk_core_1.ShapeDiverErrorType.Request;
|
|
34
|
+
}
|
|
35
|
+
exports.isGBRequestError = isGBRequestError;
|
|
36
|
+
/** Type guard for a Geometry Backend SDK response error. */
|
|
37
|
+
function isGBResponseError(e) {
|
|
38
|
+
return e instanceof Error &&
|
|
39
|
+
"errorType" in e &&
|
|
40
|
+
e.errorType === sdk_geometry_api_sdk_core_1.ShapeDiverErrorType.Response;
|
|
41
|
+
}
|
|
42
|
+
exports.isGBResponseError = isGBResponseError;
|
|
15
43
|
/**
|
|
16
44
|
* Sends the given request, handles retries for the HTTP status 429, and maps
|
|
17
45
|
* the response error object to its typed representation.
|
package/dist/utils/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/utils/utils.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/utils/utils.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qFAK8C;AAC9C,0DAA6D;AAE7D,0EAA0E;AAC1E,SAAgB,SAAS,CAAC,CAAM;IAE5B,OAAO,CAAC,YAAY,KAAK;QACrB,WAAW,IAAI,CAAC;QAChB,MAAM,CAAC,MAAM,CAAC,+CAAmB,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAgB,CAAC,CAAA;AACvE,CAAC;AALD,8BAKC;AAED,2DAA2D;AAC3D,SAAgB,gBAAgB,CAAC,CAAM;IACnC,OAAO,CAAC,YAAY,KAAK;QACrB,WAAW,IAAI,CAAC;QAChB,CAAC,CAAC,SAAS,KAAK,+CAAmB,CAAC,OAAO,CAAA;AACnD,CAAC;AAJD,4CAIC;AAED,2DAA2D;AAC3D,SAAgB,gBAAgB,CAAC,CAAM;IACnC,OAAO,CAAC,YAAY,KAAK;QACrB,WAAW,IAAI,CAAC;QAChB,CAAC,CAAC,SAAS,KAAK,+CAAmB,CAAC,OAAO,CAAA;AACnD,CAAC;AAJD,4CAIC;AAED,4DAA4D;AAC5D,SAAgB,iBAAiB,CAAC,CAAM;IACpC,OAAO,CAAC,YAAY,KAAK;QACrB,WAAW,IAAI,CAAC;QAChB,CAAC,CAAC,SAAS,KAAK,+CAAmB,CAAC,QAAQ,CAAA;AACpD,CAAC;AAJD,8CAIC;AAED;;;GAGG;AACH,SAAsB,WAAW,CAAI,IAAsB;;;QACvD,MAAM,UAAU,GAAG,CAAC,CAAA;QACpB,IAAI,YAAY,GAAG,CAAC,CAAA;QAEpB,OAAO,YAAY,GAAG,UAAU,EAAE;YAC9B,IAAI;gBACA,OAAO,MAAM,IAAI,EAAE,CAAA;aACtB;YAAC,OAAO,CAAC,EAAE;gBACR,YAAY,EAAE,CAAA;gBAEd,IAAI,CAAC,YAAY,mDAA2B,EAAE;oBAC1C,yCAAyC;oBACzC,IAAI,CAAC,CAAC,MAAM,KAAK,GAAG,EAAE;wBAClB,oFAAoF;wBACpF,MAAM,OAAO,GAAG,MAAA,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,mCAAI,EAAE,CAAA,CAAE,sBAAsB;wBACtE,MAAM,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAA;wBACnC,SAAQ;qBAEX;yBAAM,IAAI,CAAC,CAAC,MAAM,KAAK,GAAG,EAAE;wBACzB,MAAM,KAAK,CAAC,IAAI,CAAC,CAAA,CAAG,WAAW;wBAC/B,SAAQ;qBACX;oBAED,gBAAgB;oBAChB,MAAM,IAAI,0CAAuB,CAAC,CAAC,CAAC,CAAA;iBACvC;qBAAM;oBACH,+CAA+C;oBAC/C,MAAM,CAAC,CAAA;iBACV;aACJ;SACJ;QAED,MAAM,IAAI,2CAAe,CAAC,6CAA6C,CAAC,CAAA;;CAC3E;AAjCD,kCAiCC;AAED,+DAA+D;AAC/D,SAAgB,KAAK,CAAC,EAAU;IAC5B,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAA;AAC1D,CAAC;AAFD,sBAEC;AAED,wCAAwC;AACxC,SAAgB,YAAY,CAAC,GAAW;IACpC,IAAI;QACA,OAAO,IAAI,CAAC,GAAG,CAAC,CAAA;KACnB;IAAC,OAAO,GAAG,EAAE;QACV,OAAO,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAA;KAC7C;AACL,CAAC;AAND,oCAMC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shapediver/sdk.geometry-api-sdk-v2",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"description": "SDK to communicate with the Geometry API version 2",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"shapediver",
|
|
@@ -46,14 +46,14 @@
|
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"jest": "~29.5.0",
|
|
49
|
-
"lerna": "~6.6.
|
|
49
|
+
"lerna": "~6.6.2",
|
|
50
50
|
"typescript": "~4.9.5",
|
|
51
|
-
"webpack": "~5.
|
|
52
|
-
"webpack-cli": "~5.
|
|
53
|
-
"webpack-dev-server": "~4.
|
|
51
|
+
"webpack": "~5.83.1",
|
|
52
|
+
"webpack-cli": "~5.1.1",
|
|
53
|
+
"webpack-dev-server": "~4.15.0"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@shapediver/sdk.geometry-api-sdk-core": "~1.2.
|
|
56
|
+
"@shapediver/sdk.geometry-api-sdk-core": "~1.2.6",
|
|
57
57
|
"@shapediver/api.geometry-api-dto-v2": "~1.8.0"
|
|
58
58
|
}
|
|
59
59
|
}
|