apps 0.0.1-beta.92 → 0.0.1-beta.93

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/js/ui/serving.js CHANGED
@@ -3,6 +3,7 @@ import {
3
3
  } from "../chunk-62NVUKED.js";
4
4
  import "../chunk-4X2UI4R2.js";
5
5
  import {
6
+ UiContext,
6
7
  UiFailed,
7
8
  UiForbidden
8
9
  } from "../chunk-74H25C4X.js";
@@ -20,6 +21,7 @@ import {
20
21
  import {
21
22
  Effect_exports,
22
23
  Option_exports,
24
+ Schema_exports,
23
25
  Stream_exports
24
26
  } from "../chunk-ZKDXML77.js";
25
27
  import "../chunk-CZ7CSFO4.js";
@@ -8552,10 +8554,9 @@ var appDocument = (options) => Effect_exports.gen(function* () {
8552
8554
  status: 404,
8553
8555
  headers: appPrivateHeaders
8554
8556
  });
8555
- const context = JSON.stringify({
8556
- version: options.version,
8557
- accounts: options.accountIds
8558
- }).replaceAll("<", "\\u003c");
8557
+ const context = JSON.stringify(
8558
+ Schema_exports.encodeSync(UiContext)({ version: options.version, accounts: options.accountIds })
8559
+ ).replaceAll("<", "\\u003c");
8559
8560
  const telemetry = yield* CurrentTelemetryConfig;
8560
8561
  const attribute = (text) => text.replaceAll("&", "&amp;").replaceAll('"', "&quot;").replaceAll("<", "&lt;");
8561
8562
  const metadata = telemetry === void 0 ? "" : `<meta name="executor-build" content="${attribute(telemetry.version)}"><meta name="executor-environment" content="${attribute(telemetry.environment)}">`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apps",
3
- "version": "0.0.1-beta.92",
3
+ "version": "0.0.1-beta.93",
4
4
  "description": "TypeScript apps with typed tools, accounts, storage, and UI.",
5
5
  "type": "module",
6
6
  "sideEffects": false,