@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.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  isRight,
8
8
  retryTE,
9
9
  withTimeoutTE
10
- } from "../chunk-ZHIFAOE5.js";
10
+ } from "../chunk-WSCXETVI.js";
11
11
  import "../chunk-KQ4UL2WX.js";
12
12
  import "../chunk-DGUM43GV.js";
13
13
  export {
package/dist/index.cjs CHANGED
@@ -12639,7 +12639,7 @@ function createLogger(opts = {}) {
12639
12639
  }
12640
12640
 
12641
12641
  // src/runtime/version.ts
12642
- var packageVersion = "9.1.1";
12642
+ var packageVersion = "9.1.2";
12643
12643
 
12644
12644
  // src/runtime/supportLogger.ts
12645
12645
  var NoopSupportLogger = class {
@@ -14988,6 +14988,10 @@ var CamundaClient = class {
14988
14988
  const _body = arg;
14989
14989
  let envelope = {};
14990
14990
  envelope.body = _body;
14991
+ if (envelope.body && this._config.defaultTenantId !== void 0 && this._config.defaultTenantId !== null && (!Array.isArray(envelope.body.tenantIds) || envelope.body.tenantIds.length === 0)) {
14992
+ envelope.body.tenantIds = [this._config.defaultTenantId];
14993
+ this._log.trace(() => ["tenant.default.inject", { op: "activateJobs", tenantIds: [this._config.defaultTenantId] }]);
14994
+ }
14991
14995
  if (this._validation.settings.req !== "none") {
14992
14996
  const _schemas = await this._loadSchemas();
14993
14997
  const maybe = await this._validation.gateRequest("activateJobs", _schemas.zActivateJobsData, envelope);