@camunda8/orchestration-cluster-api 10.0.0-alpha.3 → 10.0.0-alpha.4

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.4](https://github.com/camunda/orchestration-cluster-api-js/compare/v10.0.0-alpha.3...v10.0.0-alpha.4) (2026-04-29)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **gen:** apply CAMUNDA_DEFAULT_TENANT_ID to activateJobs tenantIds ([fb7c661](https://github.com/camunda/orchestration-cluster-api-js/commit/fb7c661ba1f24dcfcfd738c6e344df09a2e2c52d))
7
+
1
8
  # [10.0.0-alpha.3](https://github.com/camunda/orchestration-cluster-api-js/compare/v10.0.0-alpha.2...v10.0.0-alpha.3) (2026-04-29)
2
9
 
3
10
 
@@ -4409,7 +4409,7 @@ function installAuthInterceptor(client2, getStrategy, getAuthHeaders) {
4409
4409
  }
4410
4410
 
4411
4411
  // src/runtime/version.ts
4412
- var packageVersion = "10.0.0-alpha.3";
4412
+ var packageVersion = "10.0.0-alpha.4";
4413
4413
 
4414
4414
  // src/runtime/supportLogger.ts
4415
4415
  var NoopSupportLogger = class {
@@ -6523,6 +6523,10 @@ var CamundaClient = class {
6523
6523
  const _body = arg;
6524
6524
  let envelope = {};
6525
6525
  envelope.body = _body;
6526
+ if (envelope.body && this._config.defaultTenantId !== void 0 && this._config.defaultTenantId !== null && (!Array.isArray(envelope.body.tenantIds) || envelope.body.tenantIds.length === 0)) {
6527
+ envelope.body.tenantIds = [this._config.defaultTenantId];
6528
+ this._log.trace(() => ["tenant.default.inject", { op: "activateJobs", tenantIds: [this._config.defaultTenantId] }]);
6529
+ }
6526
6530
  if (this._validation.settings.req !== "none") {
6527
6531
  const _schemas = await this._loadSchemas();
6528
6532
  const maybe = await this._validation.gateRequest("activateJobs", _schemas.zActivateJobsData, envelope);
@@ -16723,4 +16727,4 @@ export {
16723
16727
  withTimeoutTE,
16724
16728
  eventuallyTE
16725
16729
  };
16726
- //# sourceMappingURL=chunk-JP44BUAM.js.map
16730
+ //# sourceMappingURL=chunk-YMG6EGPW.js.map