@camunda8/orchestration-cluster-api 10.0.0-alpha.21 → 10.0.0-alpha.22
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/CHANGELOG.md +7 -0
- package/dist/{chunk-7SBI6PGB.js → chunk-5ZOC3HTJ.js} +11 -2
- package/dist/{chunk-7SBI6PGB.js.map → chunk-5ZOC3HTJ.js.map} +1 -1
- package/dist/fp/index.cjs +10 -1
- package/dist/fp/index.cjs.map +1 -1
- package/dist/fp/index.js +1 -1
- package/dist/index.cjs +10 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/fp/index.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -13060,7 +13060,7 @@ function createLogger(opts = {}) {
|
|
|
13060
13060
|
}
|
|
13061
13061
|
|
|
13062
13062
|
// src/runtime/version.ts
|
|
13063
|
-
var packageVersion = "10.0.0-alpha.
|
|
13063
|
+
var packageVersion = "10.0.0-alpha.22";
|
|
13064
13064
|
|
|
13065
13065
|
// src/runtime/supportLogger.ts
|
|
13066
13066
|
var NoopSupportLogger = class {
|
|
@@ -15225,6 +15225,15 @@ function evaluateSdkResponse(raw, opts) {
|
|
|
15225
15225
|
if (!raw || typeof raw !== "object") return raw;
|
|
15226
15226
|
const status = raw.status || raw.response?.status || raw.error?.status;
|
|
15227
15227
|
if (!status) {
|
|
15228
|
+
if (raw.error !== void 0 && raw.data === void 0) {
|
|
15229
|
+
const e = raw.error;
|
|
15230
|
+
if (e instanceof Error) throw e;
|
|
15231
|
+
const err = new Error(String(e?.message ?? e ?? `transport error [${opts.opId}]`));
|
|
15232
|
+
err.name = "TransportSdkError";
|
|
15233
|
+
err.operationId = opts.opId;
|
|
15234
|
+
err.cause = e;
|
|
15235
|
+
throw err;
|
|
15236
|
+
}
|
|
15228
15237
|
return raw.data !== void 0 ? raw.data : raw;
|
|
15229
15238
|
}
|
|
15230
15239
|
const isCandidate = status === 429 || status === 503 || status === 500;
|