@githolon/runtime 0.114.0 → 0.116.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@githolon/runtime",
3
- "version": "0.114.0",
3
+ "version": "0.116.2",
4
4
  "type": "module",
5
5
  "description": "The portable Nomos application runtime, reception contracts, and Node/browser runners.",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
package/runner/build.ts CHANGED
@@ -97,6 +97,8 @@ const nativeBuild = await build({
97
97
  format: "iife",
98
98
  globalName: "NomosRuntimeComponent",
99
99
  target: "es2022",
100
+ // The office records kernel refusals under the release it runs (runtime_identity.ts).
101
+ define: { __NOMOS_BUNDLE_VERSION__: JSON.stringify(BUNDLE_VERSION) },
100
102
  outfile: here("../dist/nomos-native-runtime.js"),
101
103
  legalComments: "none",
102
104
  metafile: true,
@@ -227,7 +229,10 @@ const nodeBuild = await build({
227
229
  bundle: true,
228
230
  platform: "node",
229
231
  format: "esm",
230
- define: { __NOMOS_KERNEL_RELEASE__: JSON.stringify(KERNEL_RELEASE) },
232
+ define: {
233
+ __NOMOS_KERNEL_RELEASE__: JSON.stringify(KERNEL_RELEASE),
234
+ __NOMOS_BUNDLE_VERSION__: JSON.stringify(BUNDLE_VERSION),
235
+ },
231
236
  outfile: here("node-entry.mjs"),
232
237
  logLevel: "warning",
233
238
  metafile: true,