@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/dist/fp/index.cjs CHANGED
@@ -12677,7 +12677,7 @@ function createLogger(opts = {}) {
12677
12677
  }
12678
12678
 
12679
12679
  // src/runtime/version.ts
12680
- var packageVersion = "10.0.0-alpha.3";
12680
+ var packageVersion = "10.0.0-alpha.4";
12681
12681
 
12682
12682
  // src/runtime/supportLogger.ts
12683
12683
  var NoopSupportLogger = class {
@@ -15020,6 +15020,10 @@ var CamundaClient = class {
15020
15020
  const _body = arg;
15021
15021
  let envelope = {};
15022
15022
  envelope.body = _body;
15023
+ if (envelope.body && this._config.defaultTenantId !== void 0 && this._config.defaultTenantId !== null && (!Array.isArray(envelope.body.tenantIds) || envelope.body.tenantIds.length === 0)) {
15024
+ envelope.body.tenantIds = [this._config.defaultTenantId];
15025
+ this._log.trace(() => ["tenant.default.inject", { op: "activateJobs", tenantIds: [this._config.defaultTenantId] }]);
15026
+ }
15023
15027
  if (this._validation.settings.req !== "none") {
15024
15028
  const _schemas = await this._loadSchemas();
15025
15029
  const maybe = await this._validation.gateRequest("activateJobs", _schemas.zActivateJobsData, envelope);