@onlineapps/service-wrapper 3.4.1 → 3.4.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/CHANGELOG.md +8 -0
- package/package.json +1 -1
- package/src/ServiceWrapper.js +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this package. Follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) format and semantic versioning within the internal-monorepo convention (all biz-service consumers ship matching changes in the same session).
|
|
4
4
|
|
|
5
|
+
## [3.4.2] — 2026-08-17
|
|
6
|
+
|
|
7
|
+
**Hot-fix: dangling `serviceUrl` reference at line 2649** left by 3.4.1's guard-removal pass. `_ensureValidationProof` still passed `serviceUrl` to `ValidationOrchestrator` after the `const serviceUrl = ...` declaration was deleted. Result: every biz that force-recreated to 3.4.1 hit `Phase 0.2 Tier 1 Validation - FAILED: serviceUrl is not defined` and stalled.
|
|
8
|
+
|
|
9
|
+
Fix: reintroduce `const serviceUrl = this.config.service?.url || ''` — kept as local so downstream still gets the value (empty string when config omits URL; used only for telemetry/log annotation by ValidationOrchestrator).
|
|
10
|
+
|
|
11
|
+
Verified: property/meta/converter recreated post-3.4.2 pass Phase 0.2.
|
|
12
|
+
|
|
5
13
|
## [3.4.1] — 2026-08-17
|
|
6
14
|
|
|
7
15
|
**Patch: drop stale port/url/specificationEndpoint guards left over from A2.2.**
|
package/package.json
CHANGED
package/src/ServiceWrapper.js
CHANGED
|
@@ -2618,7 +2618,10 @@ class ServiceWrapper {
|
|
|
2618
2618
|
|
|
2619
2619
|
// ADR 0005: biz services have no HTTP surface — no port to bind, no
|
|
2620
2620
|
// URL to advertise. Prior versions of this method required both;
|
|
2621
|
-
// dropped in 3.4.1 because they had no consumer post-A2.
|
|
2621
|
+
// dropped in 3.4.1 because they had no consumer post-A2. Kept as a
|
|
2622
|
+
// local var so downstream ValidationOrchestrator can still receive it
|
|
2623
|
+
// (accepts empty string; only used for telemetry / log annotation).
|
|
2624
|
+
const serviceUrl = this.config.service?.url || '';
|
|
2622
2625
|
|
|
2623
2626
|
// Phase 5: Check restart-aware failure tracking
|
|
2624
2627
|
const failureData = this._readValidationFailureFile();
|