@rangojs/router 0.0.0-experimental.146 → 0.0.0-experimental.147

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/bin/rango.js CHANGED
@@ -1574,6 +1574,13 @@ function createVersionPlugin() {
1574
1574
  return {
1575
1575
  name: "@rangojs/router:version",
1576
1576
  enforce: "pre",
1577
+ // The build-time shell capture phase (producer B, #699) stamps entries
1578
+ // with THIS instance's version — the value folded into the shipped worker
1579
+ // — never the discovery temp server's own version-plugin value (a
1580
+ // different Date.now() stamp that would fail the serve-side gate).
1581
+ api: {
1582
+ getBuildVersion: () => currentVersion
1583
+ },
1577
1584
  configResolved(config) {
1578
1585
  isDev = config.command === "serve";
1579
1586
  resolvedCacheDir = config.cacheDir ? String(config.cacheDir).replace(/\\/g, "/") : void 0;