@camunda8/orchestration-cluster-api 10.0.0-alpha.2 → 10.0.0-alpha.3

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/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ # [10.0.0-alpha.3](https://github.com/camunda/orchestration-cluster-api-js/compare/v10.0.0-alpha.2...v10.0.0-alpha.3) (2026-04-29)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **docker:** resolve ambiguous numberOfReplicas config ([ab81098](https://github.com/camunda/orchestration-cluster-api-js/commit/ab810980e7dc3b820f6630ba36b1e191e1dd04ae))
7
+ * getResource is now eventually consistent ([60d6c93](https://github.com/camunda/orchestration-cluster-api-js/commit/60d6c9398934cf5786d444d88472ec8198705ee5))
8
+
1
9
  # [10.0.0-alpha.2](https://github.com/camunda/orchestration-cluster-api-js/compare/v10.0.0-alpha.1...v10.0.0-alpha.2) (2026-04-14)
2
10
 
3
11
 
@@ -4409,7 +4409,7 @@ function installAuthInterceptor(client2, getStrategy, getAuthHeaders) {
4409
4409
  }
4410
4410
 
4411
4411
  // src/runtime/version.ts
4412
- var packageVersion = "10.0.0-alpha.2";
4412
+ var packageVersion = "10.0.0-alpha.3";
4413
4413
 
4414
4414
  // src/runtime/supportLogger.ts
4415
4415
  var NoopSupportLogger = class {
@@ -6386,7 +6386,7 @@ var CamundaClient = class {
6386
6386
  _schemasPromise = null;
6387
6387
  _loadSchemas() {
6388
6388
  if (!this._schemasPromise) {
6389
- this._schemasPromise = import("./zod.gen-J3DNBFMQ.js");
6389
+ this._schemasPromise = import("./zod.gen-WZT74U4Q.js");
6390
6390
  }
6391
6391
  return this._schemasPromise;
6392
6392
  }
@@ -11385,7 +11385,9 @@ var CamundaClient = class {
11385
11385
  return invoke();
11386
11386
  });
11387
11387
  }
11388
- getResource(arg, options) {
11388
+ getResource(arg, consistencyManagement, options) {
11389
+ if (!consistencyManagement) throw new Error("Missing consistencyManagement parameter for eventually consistent endpoint");
11390
+ const useConsistency = consistencyManagement.consistency;
11389
11391
  return toCancelable2(async (signal) => {
11390
11392
  const { resourceKey } = arg || {};
11391
11393
  let envelope = {};
@@ -11434,10 +11436,14 @@ var CamundaClient = class {
11434
11436
  throw e;
11435
11437
  }
11436
11438
  };
11437
- return this._invokeWithRetry(() => call(), { opId: "getResource", exempt: false, retryOverride: options?.retry });
11439
+ const invoke = () => toCancelable2(() => call());
11440
+ if (useConsistency) return eventualPoll("getResource", true, invoke, { ...useConsistency, logger: this._log });
11441
+ return invoke();
11438
11442
  });
11439
11443
  }
11440
- getResourceContent(arg, options) {
11444
+ getResourceContent(arg, consistencyManagement, options) {
11445
+ if (!consistencyManagement) throw new Error("Missing consistencyManagement parameter for eventually consistent endpoint");
11446
+ const useConsistency = consistencyManagement.consistency;
11441
11447
  return toCancelable2(async (signal) => {
11442
11448
  const { resourceKey } = arg || {};
11443
11449
  let envelope = {};
@@ -11486,7 +11492,9 @@ var CamundaClient = class {
11486
11492
  throw e;
11487
11493
  }
11488
11494
  };
11489
- return this._invokeWithRetry(() => call(), { opId: "getResourceContent", exempt: false, retryOverride: options?.retry });
11495
+ const invoke = () => toCancelable2(() => call());
11496
+ if (useConsistency) return eventualPoll("getResourceContent", true, invoke, { ...useConsistency, logger: this._log });
11497
+ return invoke();
11490
11498
  });
11491
11499
  }
11492
11500
  getRole(arg, consistencyManagement, options) {
@@ -16715,4 +16723,4 @@ export {
16715
16723
  withTimeoutTE,
16716
16724
  eventuallyTE
16717
16725
  };
16718
- //# sourceMappingURL=chunk-MPDW3NIE.js.map
16726
+ //# sourceMappingURL=chunk-JP44BUAM.js.map