@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 CHANGED
@@ -1,3 +1,10 @@
1
+ # [10.0.0-alpha.22](https://github.com/camunda/orchestration-cluster-api-js/compare/v10.0.0-alpha.21...v10.0.0-alpha.22) (2026-08-02)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **runtime:** reject transport errors instead of silently swallowing them ([#406](https://github.com/camunda/orchestration-cluster-api-js/issues/406)) ([3f84418](https://github.com/camunda/orchestration-cluster-api-js/commit/3f844183442649cfe2a8b8673e3c819b81337553)), closes [#405](https://github.com/camunda/orchestration-cluster-api-js/issues/405)
7
+
1
8
  # [10.0.0-alpha.21](https://github.com/camunda/orchestration-cluster-api-js/compare/v10.0.0-alpha.20...v10.0.0-alpha.21) (2026-08-02)
2
9
 
3
10
 
@@ -4847,7 +4847,7 @@ function installAuthInterceptor(client2, getStrategy, getAuthHeaders) {
4847
4847
  }
4848
4848
 
4849
4849
  // src/runtime/version.ts
4850
- var packageVersion = "10.0.0-alpha.21";
4850
+ var packageVersion = "10.0.0-alpha.22";
4851
4851
 
4852
4852
  // src/runtime/supportLogger.ts
4853
4853
  var NoopSupportLogger = class {
@@ -6507,6 +6507,15 @@ function evaluateSdkResponse(raw, opts) {
6507
6507
  if (!raw || typeof raw !== "object") return raw;
6508
6508
  const status = raw.status || raw.response?.status || raw.error?.status;
6509
6509
  if (!status) {
6510
+ if (raw.error !== void 0 && raw.data === void 0) {
6511
+ const e = raw.error;
6512
+ if (e instanceof Error) throw e;
6513
+ const err = new Error(String(e?.message ?? e ?? `transport error [${opts.opId}]`));
6514
+ err.name = "TransportSdkError";
6515
+ err.operationId = opts.opId;
6516
+ err.cause = e;
6517
+ throw err;
6518
+ }
6510
6519
  return raw.data !== void 0 ? raw.data : raw;
6511
6520
  }
6512
6521
  const isCandidate = status === 429 || status === 503 || status === 500;
@@ -19187,4 +19196,4 @@ export {
19187
19196
  withTimeoutTE,
19188
19197
  eventuallyTE
19189
19198
  };
19190
- //# sourceMappingURL=chunk-7SBI6PGB.js.map
19199
+ //# sourceMappingURL=chunk-5ZOC3HTJ.js.map