@camunda8/orchestration-cluster-api 10.0.0-alpha.2 → 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/CHANGELOG.md +15 -0
- package/dist/{chunk-MPDW3NIE.js → chunk-YMG6EGPW.js} +19 -7
- package/dist/chunk-YMG6EGPW.js.map +1 -0
- package/dist/fp/index.cjs +171 -49
- package/dist/fp/index.cjs.map +1 -1
- package/dist/fp/index.d.cts +1 -1
- package/dist/fp/index.d.ts +1 -1
- package/dist/fp/index.js +1 -1
- package/dist/{index-NxMS1fuh.d.ts → index-CtFmBFXM.d.ts} +253 -19
- package/dist/{index-DCO1POBR.d.cts → index-CvA10E3U.d.cts} +253 -19
- package/dist/index.cjs +181 -52
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +10 -4
- package/dist/index.js.map +1 -1
- package/dist/{zod.gen-J3DNBFMQ.js → zod.gen-WZT74U4Q.js} +154 -44
- package/dist/zod.gen-WZT74U4Q.js.map +1 -0
- package/package.json +1 -1
- package/dist/chunk-MPDW3NIE.js.map +0 -1
- package/dist/zod.gen-J3DNBFMQ.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
# [10.0.0-alpha.4](https://github.com/camunda/orchestration-cluster-api-js/compare/v10.0.0-alpha.3...v10.0.0-alpha.4) (2026-04-29)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **gen:** apply CAMUNDA_DEFAULT_TENANT_ID to activateJobs tenantIds ([fb7c661](https://github.com/camunda/orchestration-cluster-api-js/commit/fb7c661ba1f24dcfcfd738c6e344df09a2e2c52d))
|
|
7
|
+
|
|
8
|
+
# [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)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **docker:** resolve ambiguous numberOfReplicas config ([ab81098](https://github.com/camunda/orchestration-cluster-api-js/commit/ab810980e7dc3b820f6630ba36b1e191e1dd04ae))
|
|
14
|
+
* getResource is now eventually consistent ([60d6c93](https://github.com/camunda/orchestration-cluster-api-js/commit/60d6c9398934cf5786d444d88472ec8198705ee5))
|
|
15
|
+
|
|
1
16
|
# [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
17
|
|
|
3
18
|
|
|
@@ -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.
|
|
4412
|
+
var packageVersion = "10.0.0-alpha.4";
|
|
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-
|
|
6389
|
+
this._schemasPromise = import("./zod.gen-WZT74U4Q.js");
|
|
6390
6390
|
}
|
|
6391
6391
|
return this._schemasPromise;
|
|
6392
6392
|
}
|
|
@@ -6523,6 +6523,10 @@ var CamundaClient = class {
|
|
|
6523
6523
|
const _body = arg;
|
|
6524
6524
|
let envelope = {};
|
|
6525
6525
|
envelope.body = _body;
|
|
6526
|
+
if (envelope.body && this._config.defaultTenantId !== void 0 && this._config.defaultTenantId !== null && (!Array.isArray(envelope.body.tenantIds) || envelope.body.tenantIds.length === 0)) {
|
|
6527
|
+
envelope.body.tenantIds = [this._config.defaultTenantId];
|
|
6528
|
+
this._log.trace(() => ["tenant.default.inject", { op: "activateJobs", tenantIds: [this._config.defaultTenantId] }]);
|
|
6529
|
+
}
|
|
6526
6530
|
if (this._validation.settings.req !== "none") {
|
|
6527
6531
|
const _schemas = await this._loadSchemas();
|
|
6528
6532
|
const maybe = await this._validation.gateRequest("activateJobs", _schemas.zActivateJobsData, envelope);
|
|
@@ -11385,7 +11389,9 @@ var CamundaClient = class {
|
|
|
11385
11389
|
return invoke();
|
|
11386
11390
|
});
|
|
11387
11391
|
}
|
|
11388
|
-
getResource(arg, options) {
|
|
11392
|
+
getResource(arg, consistencyManagement, options) {
|
|
11393
|
+
if (!consistencyManagement) throw new Error("Missing consistencyManagement parameter for eventually consistent endpoint");
|
|
11394
|
+
const useConsistency = consistencyManagement.consistency;
|
|
11389
11395
|
return toCancelable2(async (signal) => {
|
|
11390
11396
|
const { resourceKey } = arg || {};
|
|
11391
11397
|
let envelope = {};
|
|
@@ -11434,10 +11440,14 @@ var CamundaClient = class {
|
|
|
11434
11440
|
throw e;
|
|
11435
11441
|
}
|
|
11436
11442
|
};
|
|
11437
|
-
|
|
11443
|
+
const invoke = () => toCancelable2(() => call());
|
|
11444
|
+
if (useConsistency) return eventualPoll("getResource", true, invoke, { ...useConsistency, logger: this._log });
|
|
11445
|
+
return invoke();
|
|
11438
11446
|
});
|
|
11439
11447
|
}
|
|
11440
|
-
getResourceContent(arg, options) {
|
|
11448
|
+
getResourceContent(arg, consistencyManagement, options) {
|
|
11449
|
+
if (!consistencyManagement) throw new Error("Missing consistencyManagement parameter for eventually consistent endpoint");
|
|
11450
|
+
const useConsistency = consistencyManagement.consistency;
|
|
11441
11451
|
return toCancelable2(async (signal) => {
|
|
11442
11452
|
const { resourceKey } = arg || {};
|
|
11443
11453
|
let envelope = {};
|
|
@@ -11486,7 +11496,9 @@ var CamundaClient = class {
|
|
|
11486
11496
|
throw e;
|
|
11487
11497
|
}
|
|
11488
11498
|
};
|
|
11489
|
-
|
|
11499
|
+
const invoke = () => toCancelable2(() => call());
|
|
11500
|
+
if (useConsistency) return eventualPoll("getResourceContent", true, invoke, { ...useConsistency, logger: this._log });
|
|
11501
|
+
return invoke();
|
|
11490
11502
|
});
|
|
11491
11503
|
}
|
|
11492
11504
|
getRole(arg, consistencyManagement, options) {
|
|
@@ -16715,4 +16727,4 @@ export {
|
|
|
16715
16727
|
withTimeoutTE,
|
|
16716
16728
|
eventuallyTE
|
|
16717
16729
|
};
|
|
16718
|
-
//# sourceMappingURL=chunk-
|
|
16730
|
+
//# sourceMappingURL=chunk-YMG6EGPW.js.map
|