@mokup/server 1.1.4 → 1.1.6

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.
@@ -1,5 +1,5 @@
1
1
  import { N as NodeRequestLike, a as NodeResponseLike } from './shared/server.D0gAciOr.cjs';
2
- import { S as ServerOptions } from './shared/server.DkerfsA-.cjs';
2
+ import { S as ServerOptions } from './shared/server.LMr0or7K.cjs';
3
3
  import '@mokup/runtime';
4
4
 
5
5
  type NextFunction = (error?: unknown) => void;
@@ -1,5 +1,5 @@
1
1
  import { N as NodeRequestLike, a as NodeResponseLike } from './shared/server.D0gAciOr.mjs';
2
- import { S as ServerOptions } from './shared/server.DkerfsA-.mjs';
2
+ import { S as ServerOptions } from './shared/server.LMr0or7K.mjs';
3
3
  import '@mokup/runtime';
4
4
 
5
5
  type NextFunction = (error?: unknown) => void;
package/dist/connect.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { N as NodeRequestLike, a as NodeResponseLike } from './shared/server.D0gAciOr.js';
2
- import { S as ServerOptions } from './shared/server.DkerfsA-.js';
2
+ import { S as ServerOptions } from './shared/server.LMr0or7K.js';
3
3
  import '@mokup/runtime';
4
4
 
5
5
  type NextFunction = (error?: unknown) => void;
@@ -1,5 +1,5 @@
1
1
  import { N as NodeRequestLike, a as NodeResponseLike } from './shared/server.D0gAciOr.cjs';
2
- import { S as ServerOptions } from './shared/server.DkerfsA-.cjs';
2
+ import { S as ServerOptions } from './shared/server.LMr0or7K.cjs';
3
3
  import '@mokup/runtime';
4
4
 
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { N as NodeRequestLike, a as NodeResponseLike } from './shared/server.D0gAciOr.mjs';
2
- import { S as ServerOptions } from './shared/server.DkerfsA-.mjs';
2
+ import { S as ServerOptions } from './shared/server.LMr0or7K.mjs';
3
3
  import '@mokup/runtime';
4
4
 
5
5
  /**
package/dist/express.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { N as NodeRequestLike, a as NodeResponseLike } from './shared/server.D0gAciOr.js';
2
- import { S as ServerOptions } from './shared/server.DkerfsA-.js';
2
+ import { S as ServerOptions } from './shared/server.LMr0or7K.js';
3
3
  import '@mokup/runtime';
4
4
 
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { N as NodeRequestLike } from './shared/server.D0gAciOr.cjs';
2
- import { S as ServerOptions } from './shared/server.DkerfsA-.cjs';
2
+ import { S as ServerOptions } from './shared/server.LMr0or7K.cjs';
3
3
  import '@mokup/runtime';
4
4
 
5
5
  interface FastifyRequestLike extends NodeRequestLike {
@@ -1,5 +1,5 @@
1
1
  import { N as NodeRequestLike } from './shared/server.D0gAciOr.mjs';
2
- import { S as ServerOptions } from './shared/server.DkerfsA-.mjs';
2
+ import { S as ServerOptions } from './shared/server.LMr0or7K.mjs';
3
3
  import '@mokup/runtime';
4
4
 
5
5
  interface FastifyRequestLike extends NodeRequestLike {
package/dist/fastify.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { N as NodeRequestLike } from './shared/server.D0gAciOr.js';
2
- import { S as ServerOptions } from './shared/server.DkerfsA-.js';
2
+ import { S as ServerOptions } from './shared/server.LMr0or7K.js';
3
3
  import '@mokup/runtime';
4
4
 
5
5
  interface FastifyRequestLike extends NodeRequestLike {
package/dist/fetch.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { S as ServerOptions, F as FetchHandler } from './shared/server.DkerfsA-.cjs';
1
+ import { S as ServerOptions, F as FetchHandler } from './shared/server.LMr0or7K.cjs';
2
2
  import '@mokup/runtime';
3
3
 
4
4
  /**
package/dist/fetch.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { S as ServerOptions, F as FetchHandler } from './shared/server.DkerfsA-.mjs';
1
+ import { S as ServerOptions, F as FetchHandler } from './shared/server.LMr0or7K.mjs';
2
2
  import '@mokup/runtime';
3
3
 
4
4
  /**
package/dist/fetch.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { S as ServerOptions, F as FetchHandler } from './shared/server.DkerfsA-.js';
1
+ import { S as ServerOptions, F as FetchHandler } from './shared/server.LMr0or7K.js';
2
2
  import '@mokup/runtime';
3
3
 
4
4
  /**
package/dist/hono.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { S as ServerOptions } from './shared/server.DkerfsA-.cjs';
1
+ import { S as ServerOptions } from './shared/server.LMr0or7K.cjs';
2
2
  import '@mokup/runtime';
3
3
 
4
4
  interface HonoContextLike {
package/dist/hono.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { S as ServerOptions } from './shared/server.DkerfsA-.mjs';
1
+ import { S as ServerOptions } from './shared/server.LMr0or7K.mjs';
2
2
  import '@mokup/runtime';
3
3
 
4
4
  interface HonoContextLike {
package/dist/hono.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { S as ServerOptions } from './shared/server.DkerfsA-.js';
1
+ import { S as ServerOptions } from './shared/server.LMr0or7K.js';
2
2
  import '@mokup/runtime';
3
3
 
4
4
  interface HonoContextLike {
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { R as RouteDirectoryConfig, M as MiddlewareRegistry } from './shared/server.CyVIKPsp.cjs';
2
2
  export { a as MiddlewarePosition, b as ResolvedMiddleware, c as RouteRule } from './shared/server.CyVIKPsp.cjs';
3
3
  export { createFetchHandler } from './fetch.cjs';
4
- export { F as FetchHandler, S as ServerOptions, W as WorkerBundle, a as WorkerInput } from './shared/server.DkerfsA-.cjs';
4
+ export { F as FetchHandler, S as ServerOptions, W as WorkerBundle, a as WorkerInput } from './shared/server.LMr0or7K.cjs';
5
5
  export { createMokupWorker } from './worker.cjs';
6
6
  export { Manifest, ManifestRoute, ModuleMap, RuntimeOptions } from '@mokup/runtime';
7
7
  export { MiddlewareHandler } from '@mokup/shared/hono';
package/dist/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { R as RouteDirectoryConfig, M as MiddlewareRegistry } from './shared/server.CyVIKPsp.mjs';
2
2
  export { a as MiddlewarePosition, b as ResolvedMiddleware, c as RouteRule } from './shared/server.CyVIKPsp.mjs';
3
3
  export { createFetchHandler } from './fetch.mjs';
4
- export { F as FetchHandler, S as ServerOptions, W as WorkerBundle, a as WorkerInput } from './shared/server.DkerfsA-.mjs';
4
+ export { F as FetchHandler, S as ServerOptions, W as WorkerBundle, a as WorkerInput } from './shared/server.LMr0or7K.mjs';
5
5
  export { createMokupWorker } from './worker.mjs';
6
6
  export { Manifest, ManifestRoute, ModuleMap, RuntimeOptions } from '@mokup/runtime';
7
7
  export { MiddlewareHandler } from '@mokup/shared/hono';
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { R as RouteDirectoryConfig, M as MiddlewareRegistry } from './shared/server.CyVIKPsp.js';
2
2
  export { a as MiddlewarePosition, b as ResolvedMiddleware, c as RouteRule } from './shared/server.CyVIKPsp.js';
3
3
  export { createFetchHandler } from './fetch.js';
4
- export { F as FetchHandler, S as ServerOptions, W as WorkerBundle, a as WorkerInput } from './shared/server.DkerfsA-.js';
4
+ export { F as FetchHandler, S as ServerOptions, W as WorkerBundle, a as WorkerInput } from './shared/server.LMr0or7K.js';
5
5
  export { createMokupWorker } from './worker.js';
6
6
  export { Manifest, ManifestRoute, ModuleMap, RuntimeOptions } from '@mokup/runtime';
7
7
  export { MiddlewareHandler } from '@mokup/shared/hono';
package/dist/koa.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { N as NodeRequestLike } from './shared/server.D0gAciOr.cjs';
2
- import { S as ServerOptions } from './shared/server.DkerfsA-.cjs';
2
+ import { S as ServerOptions } from './shared/server.LMr0or7K.cjs';
3
3
  import '@mokup/runtime';
4
4
 
5
5
  interface KoaContextLike {
package/dist/koa.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { N as NodeRequestLike } from './shared/server.D0gAciOr.mjs';
2
- import { S as ServerOptions } from './shared/server.DkerfsA-.mjs';
2
+ import { S as ServerOptions } from './shared/server.LMr0or7K.mjs';
3
3
  import '@mokup/runtime';
4
4
 
5
5
  interface KoaContextLike {
package/dist/koa.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { N as NodeRequestLike } from './shared/server.D0gAciOr.js';
2
- import { S as ServerOptions } from './shared/server.DkerfsA-.js';
2
+ import { S as ServerOptions } from './shared/server.LMr0or7K.js';
3
3
  import '@mokup/runtime';
4
4
 
5
5
  interface KoaContextLike {
package/dist/node.d.cts CHANGED
@@ -7,7 +7,7 @@ export { createKoaMiddleware } from './koa.cjs';
7
7
  export { NodeWorkerInput, createMokupWorker } from './worker-node.cjs';
8
8
  export { serve } from '@hono/node-server';
9
9
  import './shared/server.D0gAciOr.cjs';
10
- import './shared/server.DkerfsA-.cjs';
10
+ import './shared/server.LMr0or7K.cjs';
11
11
  import '@mokup/runtime';
12
12
  import './shared/server.CyVIKPsp.cjs';
13
13
  import '@mokup/shared/hono';
package/dist/node.d.mts CHANGED
@@ -7,7 +7,7 @@ export { createKoaMiddleware } from './koa.mjs';
7
7
  export { NodeWorkerInput, createMokupWorker } from './worker-node.mjs';
8
8
  export { serve } from '@hono/node-server';
9
9
  import './shared/server.D0gAciOr.mjs';
10
- import './shared/server.DkerfsA-.mjs';
10
+ import './shared/server.LMr0or7K.mjs';
11
11
  import '@mokup/runtime';
12
12
  import './shared/server.CyVIKPsp.mjs';
13
13
  import '@mokup/shared/hono';
package/dist/node.d.ts CHANGED
@@ -7,7 +7,7 @@ export { createKoaMiddleware } from './koa.js';
7
7
  export { NodeWorkerInput, createMokupWorker } from './worker-node.js';
8
8
  export { serve } from '@hono/node-server';
9
9
  import './shared/server.D0gAciOr.js';
10
- import './shared/server.DkerfsA-.js';
10
+ import './shared/server.LMr0or7K.js';
11
11
  import '@mokup/runtime';
12
12
  import './shared/server.CyVIKPsp.js';
13
13
  import '@mokup/shared/hono';
@@ -46,13 +46,13 @@ interface WorkerBundle {
46
46
  *
47
47
  * @default undefined
48
48
  */
49
- moduleMap?: ModuleMap;
49
+ moduleMap?: ModuleMap | undefined;
50
50
  /**
51
51
  * Base directory for module resolution.
52
52
  *
53
53
  * @default undefined
54
54
  */
55
- moduleBase?: string | URL;
55
+ moduleBase?: string | URL | undefined;
56
56
  /**
57
57
  * Behavior when no route matches.
58
58
  *
@@ -46,13 +46,13 @@ interface WorkerBundle {
46
46
  *
47
47
  * @default undefined
48
48
  */
49
- moduleMap?: ModuleMap;
49
+ moduleMap?: ModuleMap | undefined;
50
50
  /**
51
51
  * Base directory for module resolution.
52
52
  *
53
53
  * @default undefined
54
54
  */
55
- moduleBase?: string | URL;
55
+ moduleBase?: string | URL | undefined;
56
56
  /**
57
57
  * Behavior when no route matches.
58
58
  *
@@ -46,13 +46,13 @@ interface WorkerBundle {
46
46
  *
47
47
  * @default undefined
48
48
  */
49
- moduleMap?: ModuleMap;
49
+ moduleMap?: ModuleMap | undefined;
50
50
  /**
51
51
  * Base directory for module resolution.
52
52
  *
53
53
  * @default undefined
54
54
  */
55
- moduleBase?: string | URL;
55
+ moduleBase?: string | URL | undefined;
56
56
  /**
57
57
  * Behavior when no route matches.
58
58
  *
@@ -1,4 +1,4 @@
1
- import { a as WorkerInput } from './shared/server.DkerfsA-.cjs';
1
+ import { a as WorkerInput } from './shared/server.LMr0or7K.cjs';
2
2
  import '@mokup/runtime';
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { a as WorkerInput } from './shared/server.DkerfsA-.mjs';
1
+ import { a as WorkerInput } from './shared/server.LMr0or7K.mjs';
2
2
  import '@mokup/runtime';
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { a as WorkerInput } from './shared/server.DkerfsA-.js';
1
+ import { a as WorkerInput } from './shared/server.LMr0or7K.js';
2
2
  import '@mokup/runtime';
3
3
 
4
4
  /**
package/dist/worker.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { a as WorkerInput } from './shared/server.DkerfsA-.cjs';
1
+ import { a as WorkerInput } from './shared/server.LMr0or7K.cjs';
2
2
  import '@mokup/runtime';
3
3
 
4
4
  /**
package/dist/worker.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { a as WorkerInput } from './shared/server.DkerfsA-.mjs';
1
+ import { a as WorkerInput } from './shared/server.LMr0or7K.mjs';
2
2
  import '@mokup/runtime';
3
3
 
4
4
  /**
package/dist/worker.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { a as WorkerInput } from './shared/server.DkerfsA-.js';
1
+ import { a as WorkerInput } from './shared/server.LMr0or7K.js';
2
2
  import '@mokup/runtime';
3
3
 
4
4
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mokup/server",
3
3
  "type": "module",
4
- "version": "1.1.4",
4
+ "version": "1.1.6",
5
5
  "description": "Server adapters for @mokup/runtime.",
6
6
  "license": "MIT",
7
7
  "homepage": "https://mokup.icebreaker.top",
@@ -80,9 +80,9 @@
80
80
  "@hono/node-server": "^1.19.9",
81
81
  "@hono/node-ws": "^1.1.1",
82
82
  "tsx": "^4.21.0",
83
- "@mokup/playground": "0.0.12",
84
- "@mokup/runtime": "1.0.3",
85
- "@mokup/shared": "1.0.2"
83
+ "@mokup/runtime": "1.0.5",
84
+ "@mokup/shared": "1.1.0",
85
+ "@mokup/playground": "0.0.13"
86
86
  },
87
87
  "devDependencies": {
88
88
  "@types/node": "^25.0.10",