@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.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  isRight,
8
8
  retryTE,
9
9
  withTimeoutTE
10
- } from "../chunk-JP44BUAM.js";
10
+ } from "../chunk-YMG6EGPW.js";
11
11
  import "../chunk-KQ4UL2WX.js";
12
12
  import "../chunk-DGUM43GV.js";
13
13
  export {
package/dist/index.cjs CHANGED
@@ -12748,7 +12748,7 @@ function createLogger(opts = {}) {
12748
12748
  }
12749
12749
 
12750
12750
  // src/runtime/version.ts
12751
- var packageVersion = "10.0.0-alpha.3";
12751
+ var packageVersion = "10.0.0-alpha.4";
12752
12752
 
12753
12753
  // src/runtime/supportLogger.ts
12754
12754
  var NoopSupportLogger = class {
@@ -15097,6 +15097,10 @@ var CamundaClient = class {
15097
15097
  const _body = arg;
15098
15098
  let envelope = {};
15099
15099
  envelope.body = _body;
15100
+ if (envelope.body && this._config.defaultTenantId !== void 0 && this._config.defaultTenantId !== null && (!Array.isArray(envelope.body.tenantIds) || envelope.body.tenantIds.length === 0)) {
15101
+ envelope.body.tenantIds = [this._config.defaultTenantId];
15102
+ this._log.trace(() => ["tenant.default.inject", { op: "activateJobs", tenantIds: [this._config.defaultTenantId] }]);
15103
+ }
15100
15104
  if (this._validation.settings.req !== "none") {
15101
15105
  const _schemas = await this._loadSchemas();
15102
15106
  const maybe = await this._validation.gateRequest("activateJobs", _schemas.zActivateJobsData, envelope);