mono-jsx 0.6.7 → 0.6.8

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/jsx-runtime.mjs CHANGED
@@ -135,7 +135,7 @@ var $signal = Symbol.for("mono.signal");
135
135
  var $vnode = Symbol.for("jsx.vnode");
136
136
 
137
137
  // version.ts
138
- var VERSION = "0.6.6";
138
+ var VERSION = "0.6.7";
139
139
 
140
140
  // render.ts
141
141
  var cdn = "https://raw.esm.sh";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mono-jsx",
3
- "version": "0.6.7",
3
+ "version": "0.6.8",
4
4
  "description": "`<html>` as a `Response`.",
5
5
  "type": "module",
6
6
  "module": "./index.mjs",
package/types/index.d.ts CHANGED
@@ -1,15 +1,15 @@
1
1
  import type { FC } from "./jsx.d.ts";
2
2
 
3
3
  /**
4
- * `buildRoute` creates a routing map for bun server.
4
+ * `buildRoutes` creates a routing map for bun server.
5
5
  */
6
- export function buildRoute(
6
+ export function buildRoutes(
7
7
  handler: (req: Request) => Response,
8
8
  ): Record<string, (req: Request) => Response>;
9
9
 
10
10
  /**
11
11
  * `monoRoutes` creates a routing map for bun server.
12
- * @deprecated Use `buildRoute` instead.
12
+ * @deprecated Use `buildRoutes` instead.
13
13
  */
14
14
  export function monoRoutes(
15
15
  routes: Record<string, FC<any> | Promise<{ default: FC<any> }>>,