@camunda8/orchestration-cluster-api 9.1.1 → 9.1.2

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
@@ -12569,7 +12569,7 @@ function createLogger(opts = {}) {
12569
12569
  }
12570
12570
 
12571
12571
  // src/runtime/version.ts
12572
- var packageVersion = "9.1.1";
12572
+ var packageVersion = "9.1.2";
12573
12573
 
12574
12574
  // src/runtime/supportLogger.ts
12575
12575
  var NoopSupportLogger = class {
@@ -14912,6 +14912,10 @@ var CamundaClient = class {
14912
14912
  const _body = arg;
14913
14913
  let envelope = {};
14914
14914
  envelope.body = _body;
14915
+ if (envelope.body && this._config.defaultTenantId !== void 0 && this._config.defaultTenantId !== null && (!Array.isArray(envelope.body.tenantIds) || envelope.body.tenantIds.length === 0)) {
14916
+ envelope.body.tenantIds = [this._config.defaultTenantId];
14917
+ this._log.trace(() => ["tenant.default.inject", { op: "activateJobs", tenantIds: [this._config.defaultTenantId] }]);
14918
+ }
14915
14919
  if (this._validation.settings.req !== "none") {
14916
14920
  const _schemas = await this._loadSchemas();
14917
14921
  const maybe = await this._validation.gateRequest("activateJobs", _schemas.zActivateJobsData, envelope);