@camunda8/orchestration-cluster-api 8.8.0 → 8.8.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
@@ -9523,7 +9523,7 @@ function createLogger(opts = {}) {
9523
9523
  }
9524
9524
 
9525
9525
  // src/runtime/version.ts
9526
- var packageVersion = "8.8.0";
9526
+ var packageVersion = "8.8.2";
9527
9527
 
9528
9528
  // src/runtime/supportLogger.ts
9529
9529
  var NoopSupportLogger = class {
@@ -12751,6 +12751,10 @@ var CamundaClient = class {
12751
12751
  const _body = arg;
12752
12752
  let envelope = {};
12753
12753
  envelope.body = _body;
12754
+ if (envelope.body && (envelope.body.tenantId === void 0 || envelope.body.tenantId === null)) {
12755
+ envelope.body.tenantId = this._config.defaultTenantId;
12756
+ this._log.trace(() => ["tenant.default.inject", { op: "createProcessInstance", tenant: this._config.defaultTenantId }]);
12757
+ }
12754
12758
  if (this._validation.settings.req !== "none") {
12755
12759
  const maybe = await this._validation.gateRequest("createProcessInstance", zCreateProcessInstanceData, envelope);
12756
12760
  if (this._validation.settings.req === "strict") envelope = maybe;
@@ -13356,6 +13360,10 @@ var CamundaClient = class {
13356
13360
  const _body = arg;
13357
13361
  let envelope = {};
13358
13362
  envelope.body = _body;
13363
+ if (envelope.body && (envelope.body.tenantId === void 0 || envelope.body.tenantId === null)) {
13364
+ envelope.body.tenantId = this._config.defaultTenantId;
13365
+ this._log.trace(() => ["tenant.default.inject", { op: "evaluateDecision", tenant: this._config.defaultTenantId }]);
13366
+ }
13359
13367
  if (this._validation.settings.req !== "none") {
13360
13368
  const maybe = await this._validation.gateRequest("evaluateDecision", zEvaluateDecisionData, envelope);
13361
13369
  if (this._validation.settings.req === "strict") envelope = maybe;