phecda-server 7.0.0 → 7.0.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.
Files changed (103) hide show
  1. package/README.md +10 -10
  2. package/bin/cli.mjs +1 -1
  3. package/dist/{chunk-RLFCI3RG.js → chunk-4LLLQOMF.js} +0 -1
  4. package/dist/{chunk-WTJKTICN.mjs → chunk-AIAO6SV6.mjs} +2 -3
  5. package/dist/{chunk-5SUY5UVC.js → chunk-DPPDWBYO.js} +28 -29
  6. package/dist/{chunk-LBH4RXQQ.mjs → chunk-E7EAPAGM.mjs} +1 -2
  7. package/dist/{chunk-VDOICQ2U.mjs → chunk-MKRHYZCL.mjs} +2 -3
  8. package/dist/{chunk-MDPW6WGF.mjs → chunk-NQ55PA2X.mjs} +0 -1
  9. package/dist/{chunk-H7OCHDZT.js → chunk-XKK2SQ7W.js} +53 -54
  10. package/dist/{chunk-KRUOHWFR.js → chunk-ZWPOWMZP.js} +20 -21
  11. package/dist/helper.js +3 -4
  12. package/dist/helper.mjs +2 -3
  13. package/dist/http/elysia/index.js +40 -41
  14. package/dist/http/elysia/index.mjs +3 -4
  15. package/dist/http/express/index.js +37 -38
  16. package/dist/http/express/index.mjs +2 -3
  17. package/dist/http/fastify/index.js +38 -39
  18. package/dist/http/fastify/index.mjs +3 -4
  19. package/dist/http/h3/index.js +38 -39
  20. package/dist/http/h3/index.mjs +2 -3
  21. package/dist/http/hono/index.js +34 -35
  22. package/dist/http/hono/index.mjs +2 -3
  23. package/dist/http/hyper-express/index.js +35 -36
  24. package/dist/http/hyper-express/index.mjs +2 -3
  25. package/dist/http/koa/index.js +37 -38
  26. package/dist/http/koa/index.mjs +2 -3
  27. package/dist/index.d.mts +1 -1
  28. package/dist/index.d.ts +1 -1
  29. package/dist/index.js +44 -47
  30. package/dist/index.mjs +6 -9
  31. package/dist/rpc/bullmq/index.js +11 -12
  32. package/dist/rpc/bullmq/index.mjs +2 -3
  33. package/dist/rpc/electron/index.js +8 -9
  34. package/dist/rpc/electron/index.mjs +2 -3
  35. package/dist/rpc/kafka/index.js +10 -11
  36. package/dist/rpc/kafka/index.mjs +2 -3
  37. package/dist/rpc/nats/index.js +11 -12
  38. package/dist/rpc/nats/index.mjs +2 -3
  39. package/dist/rpc/rabbitmq/index.js +12 -13
  40. package/dist/rpc/rabbitmq/index.mjs +2 -3
  41. package/dist/rpc/redis/index.js +10 -11
  42. package/dist/rpc/redis/index.mjs +2 -3
  43. package/dist/rpc/web-ext/index.js +1 -1
  44. package/dist/rpc/web-ext/index.mjs +0 -1
  45. package/dist/rpc/ws/index.js +7 -8
  46. package/dist/rpc/ws/index.mjs +2 -3
  47. package/dist/test.js +6 -7
  48. package/dist/test.mjs +2 -3
  49. package/package.json +2 -2
  50. package/dist/chunk-5SUY5UVC.js.map +0 -1
  51. package/dist/chunk-6JAHCTOT.mjs +0 -334
  52. package/dist/chunk-6JAHCTOT.mjs.map +0 -1
  53. package/dist/chunk-EDAWJVJ4.js +0 -246
  54. package/dist/chunk-EDAWJVJ4.js.map +0 -1
  55. package/dist/chunk-H7OCHDZT.js.map +0 -1
  56. package/dist/chunk-KRUOHWFR.js.map +0 -1
  57. package/dist/chunk-KUGU3UGO.js +0 -334
  58. package/dist/chunk-KUGU3UGO.js.map +0 -1
  59. package/dist/chunk-LBH4RXQQ.mjs.map +0 -1
  60. package/dist/chunk-MDPW6WGF.mjs.map +0 -1
  61. package/dist/chunk-RLFCI3RG.js.map +0 -1
  62. package/dist/chunk-TTHYUNOT.mjs +0 -246
  63. package/dist/chunk-TTHYUNOT.mjs.map +0 -1
  64. package/dist/chunk-VDOICQ2U.mjs.map +0 -1
  65. package/dist/chunk-WTJKTICN.mjs.map +0 -1
  66. package/dist/core-BOo3uGFX.d.ts +0 -49
  67. package/dist/core-CF45G79J.d.mts +0 -49
  68. package/dist/helper.js.map +0 -1
  69. package/dist/helper.mjs.map +0 -1
  70. package/dist/http/elysia/index.js.map +0 -1
  71. package/dist/http/elysia/index.mjs.map +0 -1
  72. package/dist/http/express/index.js.map +0 -1
  73. package/dist/http/express/index.mjs.map +0 -1
  74. package/dist/http/fastify/index.js.map +0 -1
  75. package/dist/http/fastify/index.mjs.map +0 -1
  76. package/dist/http/h3/index.js.map +0 -1
  77. package/dist/http/h3/index.mjs.map +0 -1
  78. package/dist/http/hono/index.js.map +0 -1
  79. package/dist/http/hono/index.mjs.map +0 -1
  80. package/dist/http/hyper-express/index.js.map +0 -1
  81. package/dist/http/hyper-express/index.mjs.map +0 -1
  82. package/dist/http/koa/index.js.map +0 -1
  83. package/dist/http/koa/index.mjs.map +0 -1
  84. package/dist/index.js.map +0 -1
  85. package/dist/index.mjs.map +0 -1
  86. package/dist/rpc/bullmq/index.js.map +0 -1
  87. package/dist/rpc/bullmq/index.mjs.map +0 -1
  88. package/dist/rpc/electron/index.js.map +0 -1
  89. package/dist/rpc/electron/index.mjs.map +0 -1
  90. package/dist/rpc/kafka/index.js.map +0 -1
  91. package/dist/rpc/kafka/index.mjs.map +0 -1
  92. package/dist/rpc/nats/index.js.map +0 -1
  93. package/dist/rpc/nats/index.mjs.map +0 -1
  94. package/dist/rpc/rabbitmq/index.js.map +0 -1
  95. package/dist/rpc/rabbitmq/index.mjs.map +0 -1
  96. package/dist/rpc/redis/index.js.map +0 -1
  97. package/dist/rpc/redis/index.mjs.map +0 -1
  98. package/dist/rpc/web-ext/index.js.map +0 -1
  99. package/dist/rpc/web-ext/index.mjs.map +0 -1
  100. package/dist/rpc/ws/index.js.map +0 -1
  101. package/dist/rpc/ws/index.mjs.map +0 -1
  102. package/dist/test.js.map +0 -1
  103. package/dist/test.mjs.map +0 -1
@@ -4,10 +4,10 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkH7OCHDZTjs = require('../../chunk-H7OCHDZT.js');
7
+ var _chunkXKK2SQ7Wjs = require('../../chunk-XKK2SQ7W.js');
8
8
 
9
9
 
10
- var _chunkRLFCI3RGjs = require('../../chunk-RLFCI3RG.js');
10
+ var _chunk4LLLQOMFjs = require('../../chunk-4LLLQOMF.js');
11
11
 
12
12
  // src/http/h3/bind.ts
13
13
  var _h3 = require('h3');
@@ -16,14 +16,14 @@ var debug = _debug2.default.call(void 0, "phecda-server/h3");
16
16
  function bind(router, data, opts = {}) {
17
17
  const { globalGuards, parallelRoute = "/__PHECDA_SERVER__", globalAddons = [], parallelAddons = [], globalFilter, globalPipe, dynamic = false } = opts;
18
18
  const { moduleMap, meta } = data;
19
- const metaMap = _chunkH7OCHDZTjs.createControllerMetaMap.call(void 0, meta, (meta2) => {
19
+ const metaMap = _chunkXKK2SQ7Wjs.createControllerMetaMap.call(void 0, meta, (meta2) => {
20
20
  const { controller, http, func, tag } = meta2.data;
21
21
  if (controller === "http" && _optionalChain([http, 'optionalAccess', _ => _.type])) {
22
22
  debug(`register method "${func}" in module "${tag}"`);
23
23
  return true;
24
24
  }
25
25
  });
26
- _chunkH7OCHDZTjs.detectAopDep.call(void 0, meta, {
26
+ _chunkXKK2SQ7Wjs.detectAopDep.call(void 0, meta, {
27
27
  addons: [
28
28
  ...globalAddons,
29
29
  ...parallelAddons
@@ -32,32 +32,32 @@ function bind(router, data, opts = {}) {
32
32
  });
33
33
  registerRoute();
34
34
  function registerRoute() {
35
- _chunkH7OCHDZTjs.Context.applyAddons(globalAddons, router, "h3");
35
+ _chunkXKK2SQ7Wjs.Context.applyAddons(globalAddons, router, "h3");
36
36
  if (parallelRoute) {
37
37
  const subRouter = _h3.createRouter.call(void 0, );
38
- _chunkH7OCHDZTjs.Context.applyAddons(parallelAddons, subRouter, "h3");
38
+ _chunkXKK2SQ7Wjs.Context.applyAddons(parallelAddons, subRouter, "h3");
39
39
  subRouter.post(parallelRoute, _h3.eventHandler.call(void 0, {
40
- handler: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, async (event) => {
40
+ handler: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, async (event) => {
41
41
  const body = await _h3.readBody.call(void 0, event, {
42
42
  strict: true
43
43
  });
44
44
  async function errorHandler(e) {
45
- const error = await _chunkH7OCHDZTjs.Context.filterRecord.default(e);
45
+ const error = await _chunkXKK2SQ7Wjs.Context.filterRecord.default(e);
46
46
  _h3.setResponseStatus.call(void 0, event, error.status);
47
47
  return error;
48
48
  }
49
- _chunkRLFCI3RGjs.__name.call(void 0, errorHandler, "errorHandler");
50
- if (!Array.isArray(body)) return errorHandler(new (0, _chunkH7OCHDZTjs.BadRequestException)("data format should be an array"));
49
+ _chunk4LLLQOMFjs.__name.call(void 0, errorHandler, "errorHandler");
50
+ if (!Array.isArray(body)) return errorHandler(new (0, _chunkXKK2SQ7Wjs.BadRequestException)("data format should be an array"));
51
51
  try {
52
52
  return Promise.all(body.map((item, i) => {
53
53
  return new Promise(async (resolve) => {
54
54
  if (!item) return resolve(null);
55
55
  const { tag, func } = item;
56
56
  debug(`(parallel)invoke method "${func}" in module "${tag}"`);
57
- if (!metaMap.has(tag)) return resolve(await _chunkH7OCHDZTjs.Context.filterRecord.default(new (0, _chunkH7OCHDZTjs.BadRequestException)(`module "${tag}" doesn't exist`)));
57
+ if (!metaMap.has(tag)) return resolve(await _chunkXKK2SQ7Wjs.Context.filterRecord.default(new (0, _chunkXKK2SQ7Wjs.BadRequestException)(`module "${tag}" doesn't exist`)));
58
58
  const meta2 = metaMap.get(tag)[func];
59
- if (!meta2) return resolve(await _chunkH7OCHDZTjs.Context.filterRecord.default(new (0, _chunkH7OCHDZTjs.BadRequestException)(`"${func}" in "${tag}" doesn't exist`)));
60
- const aop = _chunkH7OCHDZTjs.Context.getAop(meta2, {
59
+ if (!meta2) return resolve(await _chunkXKK2SQ7Wjs.Context.filterRecord.default(new (0, _chunkXKK2SQ7Wjs.BadRequestException)(`"${func}" in "${tag}" doesn't exist`)));
60
+ const aop = _chunkXKK2SQ7Wjs.Context.getAop(meta2, {
61
61
  globalFilter,
62
62
  globalGuards,
63
63
  globalPipe
@@ -72,16 +72,16 @@ function bind(router, data, opts = {}) {
72
72
  parallel: true,
73
73
  app: router,
74
74
  ...item,
75
- getCookie: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (key) => _h3.getCookie.call(void 0, event, key), "getCookie"),
76
- setCookie: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (key, value, opts2) => _h3.setCookie.call(void 0, event, key, value, opts2), "setCookie"),
77
- delCookie: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (key) => _h3.deleteCookie.call(void 0, event, key), "delCookie"),
78
- redirect: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (url, status) => _h3.sendRedirect.call(void 0, event, url, status), "redirect"),
79
- setResHeaders: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (headers) => _h3.setResponseHeaders.call(void 0, event, headers), "setResHeaders"),
80
- setResStatus: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (code) => _h3.setResponseStatus.call(void 0, event, code), "setResStatus"),
81
- getRequest: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, () => event.node.req, "getRequest"),
82
- getResponse: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, () => event.node.res, "getResponse")
75
+ getCookie: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (key) => _h3.getCookie.call(void 0, event, key), "getCookie"),
76
+ setCookie: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (key, value, opts2) => _h3.setCookie.call(void 0, event, key, value, opts2), "setCookie"),
77
+ delCookie: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (key) => _h3.deleteCookie.call(void 0, event, key), "delCookie"),
78
+ redirect: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (url, status) => _h3.sendRedirect.call(void 0, event, url, status), "redirect"),
79
+ setResHeaders: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (headers) => _h3.setResponseHeaders.call(void 0, event, headers), "setResHeaders"),
80
+ setResStatus: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (code) => _h3.setResponseStatus.call(void 0, event, code), "setResStatus"),
81
+ getRequest: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, () => event.node.req, "getRequest"),
82
+ getResponse: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, () => event.node.res, "getResponse")
83
83
  };
84
- const context = new (0, _chunkH7OCHDZTjs.Context)(contextData);
84
+ const context = new (0, _chunkXKK2SQ7Wjs.Context)(contextData);
85
85
  context.run(aop, resolve, resolve);
86
86
  });
87
87
  }));
@@ -100,15 +100,15 @@ function bind(router, data, opts = {}) {
100
100
  const needBody = params.some((item) => item.type === "body");
101
101
  let aop;
102
102
  if (!dynamic) {
103
- aop = _chunkH7OCHDZTjs.Context.getAop(meta2, {
103
+ aop = _chunkXKK2SQ7Wjs.Context.getAop(meta2, {
104
104
  globalFilter,
105
105
  globalGuards,
106
106
  globalPipe
107
107
  });
108
108
  }
109
109
  const subRouter = _h3.createRouter.call(void 0, );
110
- _chunkH7OCHDZTjs.Context.applyAddons(addons, subRouter, "h3");
111
- subRouter[http.type](_chunkH7OCHDZTjs.joinUrl.call(void 0, http.prefix, http.route), _h3.defineEventHandler.call(void 0, async (event) => {
110
+ _chunkXKK2SQ7Wjs.Context.applyAddons(addons, subRouter, "h3");
111
+ subRouter[http.type](_chunkXKK2SQ7Wjs.joinUrl.call(void 0, http.prefix, http.route), _h3.defineEventHandler.call(void 0, async (event) => {
112
112
  debug(`invoke method "${func}" in module "${tag}"`);
113
113
  const contextData = {
114
114
  type: "h3",
@@ -125,19 +125,19 @@ function bind(router, data, opts = {}) {
125
125
  body: needBody ? await _h3.readBody.call(void 0, event, {
126
126
  strict: true
127
127
  }) : void 0,
128
- getCookie: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (key) => _h3.getCookie.call(void 0, event, key), "getCookie"),
129
- setCookie: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (key, value, opts2) => _h3.setCookie.call(void 0, event, key, value, opts2), "setCookie"),
130
- redirect: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (url) => _h3.sendRedirect.call(void 0, event, url), "redirect"),
131
- setResHeaders: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (headers) => _h3.setResponseHeaders.call(void 0, event, headers), "setResHeaders"),
132
- setResStatus: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (code) => _h3.setResponseStatus.call(void 0, event, code), "setResStatus"),
133
- delCookie: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (key) => _h3.deleteCookie.call(void 0, event, key), "delCookie"),
134
- getRequest: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, () => event.node.req, "getRequest"),
135
- getResponse: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, () => event.node.res, "getResponse")
128
+ getCookie: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (key) => _h3.getCookie.call(void 0, event, key), "getCookie"),
129
+ setCookie: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (key, value, opts2) => _h3.setCookie.call(void 0, event, key, value, opts2), "setCookie"),
130
+ redirect: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (url) => _h3.sendRedirect.call(void 0, event, url), "redirect"),
131
+ setResHeaders: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (headers) => _h3.setResponseHeaders.call(void 0, event, headers), "setResHeaders"),
132
+ setResStatus: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (code) => _h3.setResponseStatus.call(void 0, event, code), "setResStatus"),
133
+ delCookie: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (key) => _h3.deleteCookie.call(void 0, event, key), "delCookie"),
134
+ getRequest: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, () => event.node.req, "getRequest"),
135
+ getResponse: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, () => event.node.res, "getResponse")
136
136
  };
137
- const context = new (0, _chunkH7OCHDZTjs.Context)(contextData);
137
+ const context = new (0, _chunkXKK2SQ7Wjs.Context)(contextData);
138
138
  _h3.setHeaders.call(void 0, event, http.headers || {});
139
139
  if (dynamic) {
140
- aop = _chunkH7OCHDZTjs.Context.getAop(meta2, {
140
+ aop = _chunkXKK2SQ7Wjs.Context.getAop(meta2, {
141
141
  globalFilter,
142
142
  globalGuards,
143
143
  globalPipe
@@ -148,14 +148,13 @@ function bind(router, data, opts = {}) {
148
148
  return err;
149
149
  });
150
150
  }));
151
- router.use(_chunkH7OCHDZTjs.joinUrl.call(void 0, http.prefix, http.route), _h3.useBase.call(void 0, "", subRouter.handler));
151
+ router.use(_chunkXKK2SQ7Wjs.joinUrl.call(void 0, http.prefix, http.route), _h3.useBase.call(void 0, "", subRouter.handler));
152
152
  }
153
153
  }
154
154
  }
155
- _chunkRLFCI3RGjs.__name.call(void 0, registerRoute, "registerRoute");
155
+ _chunk4LLLQOMFjs.__name.call(void 0, registerRoute, "registerRoute");
156
156
  }
157
- _chunkRLFCI3RGjs.__name.call(void 0, bind, "bind");
157
+ _chunk4LLLQOMFjs.__name.call(void 0, bind, "bind");
158
158
 
159
159
 
160
160
  exports.bind = bind;
161
- //# sourceMappingURL=index.js.map
@@ -4,10 +4,10 @@ import {
4
4
  createControllerMetaMap,
5
5
  detectAopDep,
6
6
  joinUrl
7
- } from "../../chunk-LBH4RXQQ.mjs";
7
+ } from "../../chunk-E7EAPAGM.mjs";
8
8
  import {
9
9
  __name
10
- } from "../../chunk-MDPW6WGF.mjs";
10
+ } from "../../chunk-NQ55PA2X.mjs";
11
11
 
12
12
  // src/http/h3/bind.ts
13
13
  import { createRouter, defineEventHandler, deleteCookie, eventHandler, getCookie, getQuery, getRequestHeaders, getRouterParams, readBody, sendRedirect, setCookie, setHeaders, setResponseHeaders, setResponseStatus, useBase } from "h3";
@@ -158,4 +158,3 @@ __name(bind, "bind");
158
158
  export {
159
159
  bind
160
160
  };
161
- //# sourceMappingURL=index.mjs.map
@@ -3,10 +3,10 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkH7OCHDZTjs = require('../../chunk-H7OCHDZT.js');
6
+ var _chunkXKK2SQ7Wjs = require('../../chunk-XKK2SQ7W.js');
7
7
 
8
8
 
9
- var _chunkRLFCI3RGjs = require('../../chunk-RLFCI3RG.js');
9
+ var _chunk4LLLQOMFjs = require('../../chunk-4LLLQOMF.js');
10
10
 
11
11
  // src/http/hono/bind.ts
12
12
  var _debug = require('debug'); var _debug2 = _interopRequireDefault(_debug);
@@ -16,14 +16,14 @@ var debug = _debug2.default.call(void 0, "phecda-server/hono");
16
16
  function bind(router, data, opts = {}) {
17
17
  const { globalGuards, parallelRoute = "/__PHECDA_SERVER__", globalAddons = [], parallelAddons = [], globalFilter, globalPipe, dynamic = false } = opts;
18
18
  const { moduleMap, meta } = data;
19
- const metaMap = _chunkH7OCHDZTjs.createControllerMetaMap.call(void 0, meta, (meta2) => {
19
+ const metaMap = _chunkXKK2SQ7Wjs.createControllerMetaMap.call(void 0, meta, (meta2) => {
20
20
  const { controller, http, func, tag } = meta2.data;
21
21
  if (controller === "http" && _optionalChain([http, 'optionalAccess', _ => _.type])) {
22
22
  debug(`register method "${func}" in module "${tag}"`);
23
23
  return true;
24
24
  }
25
25
  });
26
- _chunkH7OCHDZTjs.detectAopDep.call(void 0, meta, {
26
+ _chunkXKK2SQ7Wjs.detectAopDep.call(void 0, meta, {
27
27
  addons: [
28
28
  ...globalAddons,
29
29
  ...parallelAddons
@@ -34,26 +34,26 @@ function bind(router, data, opts = {}) {
34
34
  function registerRoute() {
35
35
  if (parallelRoute) {
36
36
  const subApp = new (0, _hono.Hono)();
37
- _chunkH7OCHDZTjs.Context.applyAddons(parallelAddons, subApp, "hono");
37
+ _chunkXKK2SQ7Wjs.Context.applyAddons(parallelAddons, subApp, "hono");
38
38
  subApp.post("", async (c) => {
39
39
  const body = await c.req.json();
40
40
  async function errorHandler(e) {
41
- const error = await _chunkH7OCHDZTjs.Context.filterRecord.default(e);
41
+ const error = await _chunkXKK2SQ7Wjs.Context.filterRecord.default(e);
42
42
  c.status(error.status);
43
43
  return c.json(error);
44
44
  }
45
- _chunkRLFCI3RGjs.__name.call(void 0, errorHandler, "errorHandler");
46
- if (!Array.isArray(body)) return errorHandler(new (0, _chunkH7OCHDZTjs.BadRequestException)("data format should be an array"));
45
+ _chunk4LLLQOMFjs.__name.call(void 0, errorHandler, "errorHandler");
46
+ if (!Array.isArray(body)) return errorHandler(new (0, _chunkXKK2SQ7Wjs.BadRequestException)("data format should be an array"));
47
47
  try {
48
48
  return Promise.all(body.map((item, i) => {
49
49
  return new Promise(async (resolve) => {
50
50
  if (!item) return resolve(null);
51
51
  const { tag, func } = item;
52
52
  debug(`(parallel)invoke method "${func}" in module "${tag}"`);
53
- if (!metaMap.has(tag)) return resolve(await _chunkH7OCHDZTjs.Context.filterRecord.default(new (0, _chunkH7OCHDZTjs.BadRequestException)(`module "${tag}" doesn't exist`)));
53
+ if (!metaMap.has(tag)) return resolve(await _chunkXKK2SQ7Wjs.Context.filterRecord.default(new (0, _chunkXKK2SQ7Wjs.BadRequestException)(`module "${tag}" doesn't exist`)));
54
54
  const meta2 = metaMap.get(tag)[func];
55
- if (!meta2) return resolve(await _chunkH7OCHDZTjs.Context.filterRecord.default(new (0, _chunkH7OCHDZTjs.BadRequestException)(`"${func}" in "${tag}" doesn't exist`)));
56
- const aop = _chunkH7OCHDZTjs.Context.getAop(meta2, {
55
+ if (!meta2) return resolve(await _chunkXKK2SQ7Wjs.Context.filterRecord.default(new (0, _chunkXKK2SQ7Wjs.BadRequestException)(`"${func}" in "${tag}" doesn't exist`)));
56
+ const aop = _chunkXKK2SQ7Wjs.Context.getAop(meta2, {
57
57
  globalFilter,
58
58
  globalGuards,
59
59
  globalPipe
@@ -68,18 +68,18 @@ function bind(router, data, opts = {}) {
68
68
  moduleMap,
69
69
  app: router,
70
70
  ...item,
71
- getCookie: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (key) => _cookie.getCookie.call(void 0, c, key), "getCookie"),
72
- delCookie: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (key) => _cookie.deleteCookie.call(void 0, c, key), "delCookie"),
73
- setCookie: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (key, value, opts2) => _cookie.setCookie.call(void 0, c, key, value, opts2), "setCookie"),
74
- redirect: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (url) => c.redirect(url), "redirect"),
75
- setResHeaders: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (headers) => {
71
+ getCookie: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (key) => _cookie.getCookie.call(void 0, c, key), "getCookie"),
72
+ delCookie: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (key) => _cookie.deleteCookie.call(void 0, c, key), "delCookie"),
73
+ setCookie: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (key, value, opts2) => _cookie.setCookie.call(void 0, c, key, value, opts2), "setCookie"),
74
+ redirect: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (url) => c.redirect(url), "redirect"),
75
+ setResHeaders: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (headers) => {
76
76
  for (const name in headers) c.header(name, headers[name]);
77
77
  }, "setResHeaders"),
78
- setResStatus: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (status) => c.status(status), "setResStatus"),
79
- getRequest: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, () => c.req.raw, "getRequest"),
80
- getResponse: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, () => c.res, "getResponse")
78
+ setResStatus: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (status) => c.status(status), "setResStatus"),
79
+ getRequest: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, () => c.req.raw, "getRequest"),
80
+ getResponse: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, () => c.res, "getResponse")
81
81
  };
82
- const context = new (0, _chunkH7OCHDZTjs.Context)(contextData);
82
+ const context = new (0, _chunkXKK2SQ7Wjs.Context)(contextData);
83
83
  context.run(aop, resolve, resolve);
84
84
  });
85
85
  })).then((ret) => {
@@ -99,14 +99,14 @@ function bind(router, data, opts = {}) {
99
99
  const needBody = params.some((item) => item.type === "body");
100
100
  let aop;
101
101
  if (!dynamic) {
102
- aop = _chunkH7OCHDZTjs.Context.getAop(meta2, {
102
+ aop = _chunkXKK2SQ7Wjs.Context.getAop(meta2, {
103
103
  globalFilter,
104
104
  globalGuards,
105
105
  globalPipe
106
106
  });
107
107
  }
108
108
  const subApp = new (0, _hono.Hono)();
109
- _chunkH7OCHDZTjs.Context.applyAddons(addons, subApp, "hono");
109
+ _chunkXKK2SQ7Wjs.Context.applyAddons(addons, subApp, "hono");
110
110
  subApp[http.type](http.route, async (c) => {
111
111
  debug(`invoke method "${func}" in module "${tag}"`);
112
112
  const contextData = {
@@ -122,23 +122,23 @@ function bind(router, data, opts = {}) {
122
122
  params: c.req.param(),
123
123
  headers: c.req.header(),
124
124
  app: router,
125
- getCookie: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (key) => _cookie.getCookie.call(void 0, c, key), "getCookie"),
126
- delCookie: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (key) => _cookie.deleteCookie.call(void 0, c, key), "delCookie"),
127
- setCookie: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (key, value, opts2) => _cookie.setCookie.call(void 0, c, key, value, opts2), "setCookie"),
128
- redirect: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (url) => c.redirect(url), "redirect"),
129
- setResHeaders: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (headers) => {
125
+ getCookie: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (key) => _cookie.getCookie.call(void 0, c, key), "getCookie"),
126
+ delCookie: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (key) => _cookie.deleteCookie.call(void 0, c, key), "delCookie"),
127
+ setCookie: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (key, value, opts2) => _cookie.setCookie.call(void 0, c, key, value, opts2), "setCookie"),
128
+ redirect: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (url) => c.redirect(url), "redirect"),
129
+ setResHeaders: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (headers) => {
130
130
  for (const name in headers) c.header(name, headers[name]);
131
131
  }, "setResHeaders"),
132
- setResStatus: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (status) => c.status(status), "setResStatus"),
133
- getRequest: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, () => c.req.raw, "getRequest"),
134
- getResponse: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, () => c.res, "getResponse")
132
+ setResStatus: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (status) => c.status(status), "setResStatus"),
133
+ getRequest: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, () => c.req.raw, "getRequest"),
134
+ getResponse: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, () => c.res, "getResponse")
135
135
  };
136
- const context = new (0, _chunkH7OCHDZTjs.Context)(contextData);
136
+ const context = new (0, _chunkXKK2SQ7Wjs.Context)(contextData);
137
137
  if (http.headers) {
138
138
  for (const name in http.headers) c.header(name, http.headers[name]);
139
139
  }
140
140
  if (dynamic) {
141
- aop = _chunkH7OCHDZTjs.Context.getAop(meta2, {
141
+ aop = _chunkXKK2SQ7Wjs.Context.getAop(meta2, {
142
142
  globalFilter,
143
143
  globalGuards,
144
144
  globalPipe
@@ -157,10 +157,9 @@ function bind(router, data, opts = {}) {
157
157
  }
158
158
  }
159
159
  }
160
- _chunkRLFCI3RGjs.__name.call(void 0, registerRoute, "registerRoute");
160
+ _chunk4LLLQOMFjs.__name.call(void 0, registerRoute, "registerRoute");
161
161
  }
162
- _chunkRLFCI3RGjs.__name.call(void 0, bind, "bind");
162
+ _chunk4LLLQOMFjs.__name.call(void 0, bind, "bind");
163
163
 
164
164
 
165
165
  exports.bind = bind;
166
- //# sourceMappingURL=index.js.map
@@ -3,10 +3,10 @@ import {
3
3
  Context,
4
4
  createControllerMetaMap,
5
5
  detectAopDep
6
- } from "../../chunk-LBH4RXQQ.mjs";
6
+ } from "../../chunk-E7EAPAGM.mjs";
7
7
  import {
8
8
  __name
9
- } from "../../chunk-MDPW6WGF.mjs";
9
+ } from "../../chunk-NQ55PA2X.mjs";
10
10
 
11
11
  // src/http/hono/bind.ts
12
12
  import Debug from "debug";
@@ -163,4 +163,3 @@ __name(bind, "bind");
163
163
  export {
164
164
  bind
165
165
  };
166
- //# sourceMappingURL=index.mjs.map
@@ -4,10 +4,10 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkH7OCHDZTjs = require('../../chunk-H7OCHDZT.js');
7
+ var _chunkXKK2SQ7Wjs = require('../../chunk-XKK2SQ7W.js');
8
8
 
9
9
 
10
- var _chunkRLFCI3RGjs = require('../../chunk-RLFCI3RG.js');
10
+ var _chunk4LLLQOMFjs = require('../../chunk-4LLLQOMF.js');
11
11
 
12
12
  // src/http/hyper-express/bind.ts
13
13
  var _hyperexpress = require('hyper-express');
@@ -16,14 +16,14 @@ var debug = _debug2.default.call(void 0, "phecda-server/hyper-express");
16
16
  function bind(router, data, opts = {}) {
17
17
  const { globalGuards, parallelRoute = "/__PHECDA_SERVER__", globalAddons = [], parallelAddons = [], globalFilter, globalPipe, dynamic = false } = opts;
18
18
  const { moduleMap, meta } = data;
19
- const metaMap = _chunkH7OCHDZTjs.createControllerMetaMap.call(void 0, meta, (meta2) => {
19
+ const metaMap = _chunkXKK2SQ7Wjs.createControllerMetaMap.call(void 0, meta, (meta2) => {
20
20
  const { controller, http, func, tag } = meta2.data;
21
21
  if (controller === "http" && _optionalChain([http, 'optionalAccess', _ => _.type])) {
22
22
  debug(`register method "${func}" in module "${tag}"`);
23
23
  return true;
24
24
  }
25
25
  });
26
- _chunkH7OCHDZTjs.detectAopDep.call(void 0, meta, {
26
+ _chunkXKK2SQ7Wjs.detectAopDep.call(void 0, meta, {
27
27
  addons: [
28
28
  ...globalAddons,
29
29
  ...parallelAddons
@@ -32,27 +32,27 @@ function bind(router, data, opts = {}) {
32
32
  });
33
33
  registerRoute();
34
34
  async function registerRoute() {
35
- _chunkH7OCHDZTjs.Context.applyAddons(globalAddons, router, "hyper-express");
35
+ _chunkXKK2SQ7Wjs.Context.applyAddons(globalAddons, router, "hyper-express");
36
36
  if (parallelRoute) {
37
37
  const subRouter = new (0, _hyperexpress.Router)();
38
38
  subRouter.post(parallelRoute, async (req, res, next) => {
39
39
  const body = await req.json();
40
40
  async function errorHandler(e) {
41
- const error = await _chunkH7OCHDZTjs.Context.filterRecord.default(e);
41
+ const error = await _chunkXKK2SQ7Wjs.Context.filterRecord.default(e);
42
42
  return res.status(error.status).json(error);
43
43
  }
44
- _chunkRLFCI3RGjs.__name.call(void 0, errorHandler, "errorHandler");
45
- if (!Array.isArray(body)) return errorHandler(new (0, _chunkH7OCHDZTjs.BadRequestException)("data format should be an array"));
44
+ _chunk4LLLQOMFjs.__name.call(void 0, errorHandler, "errorHandler");
45
+ if (!Array.isArray(body)) return errorHandler(new (0, _chunkXKK2SQ7Wjs.BadRequestException)("data format should be an array"));
46
46
  try {
47
47
  return Promise.all(body.map((item, i) => {
48
48
  return new Promise(async (resolve) => {
49
49
  if (!item) return resolve(null);
50
50
  const { tag, func } = item;
51
51
  debug(`(parallel)invoke method "${func}" in module "${tag}"`);
52
- if (!metaMap.has(tag)) return resolve(await _chunkH7OCHDZTjs.Context.filterRecord.default(new (0, _chunkH7OCHDZTjs.BadRequestException)(`module "${tag}" doesn't exist`)));
52
+ if (!metaMap.has(tag)) return resolve(await _chunkXKK2SQ7Wjs.Context.filterRecord.default(new (0, _chunkXKK2SQ7Wjs.BadRequestException)(`module "${tag}" doesn't exist`)));
53
53
  const meta2 = metaMap.get(tag)[func];
54
- if (!meta2) return resolve(await _chunkH7OCHDZTjs.Context.filterRecord.default(new (0, _chunkH7OCHDZTjs.BadRequestException)(`"${func}" in "${tag}" doesn't exist`)));
55
- const aop = _chunkH7OCHDZTjs.Context.getAop(meta2, {
54
+ if (!meta2) return resolve(await _chunkXKK2SQ7Wjs.Context.filterRecord.default(new (0, _chunkXKK2SQ7Wjs.BadRequestException)(`"${func}" in "${tag}" doesn't exist`)));
55
+ const aop = _chunkXKK2SQ7Wjs.Context.getAop(meta2, {
56
56
  globalFilter,
57
57
  globalGuards,
58
58
  globalPipe
@@ -69,16 +69,16 @@ function bind(router, data, opts = {}) {
69
69
  app: router,
70
70
  ...item,
71
71
  next,
72
- getCookie: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (key) => req.cookies[key], "getCookie"),
73
- setCookie: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (key, value, opts2) => res.cookie(key, value, _optionalChain([opts2, 'optionalAccess', _2 => _2.expires]) && opts2.expires.getTime() - Date.now(), opts2 || {}), "setCookie"),
74
- delCookie: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (key) => res.clearCookie(key), "delCookie"),
75
- redirect: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (url) => res.redirect(url), "redirect"),
76
- setResHeaders: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (headers) => res.set(headers), "setResHeaders"),
77
- setResStatus: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (code) => res.status(code), "setResStatus"),
78
- getRequest: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, () => req, "getRequest"),
79
- getResponse: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, () => res, "getResponse")
72
+ getCookie: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (key) => req.cookies[key], "getCookie"),
73
+ setCookie: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (key, value, opts2) => res.cookie(key, value, _optionalChain([opts2, 'optionalAccess', _2 => _2.expires]) && opts2.expires.getTime() - Date.now(), opts2 || {}), "setCookie"),
74
+ delCookie: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (key) => res.clearCookie(key), "delCookie"),
75
+ redirect: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (url) => res.redirect(url), "redirect"),
76
+ setResHeaders: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (headers) => res.set(headers), "setResHeaders"),
77
+ setResStatus: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (code) => res.status(code), "setResStatus"),
78
+ getRequest: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, () => req, "getRequest"),
79
+ getResponse: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, () => res, "getResponse")
80
80
  };
81
- const context = new (0, _chunkH7OCHDZTjs.Context)(contextData);
81
+ const context = new (0, _chunkXKK2SQ7Wjs.Context)(contextData);
82
82
  context.run(aop, resolve, resolve);
83
83
  });
84
84
  })).then((ret) => {
@@ -98,15 +98,15 @@ function bind(router, data, opts = {}) {
98
98
  const needBody = params.some((item) => item.type === "body");
99
99
  let aop;
100
100
  if (!dynamic) {
101
- aop = _chunkH7OCHDZTjs.Context.getAop(meta2, {
101
+ aop = _chunkXKK2SQ7Wjs.Context.getAop(meta2, {
102
102
  globalFilter,
103
103
  globalGuards,
104
104
  globalPipe
105
105
  });
106
106
  }
107
107
  const subRouter = new (0, _hyperexpress.Router)();
108
- _chunkH7OCHDZTjs.Context.applyAddons(addons, subRouter, "hyper-express");
109
- subRouter[http.type](_chunkH7OCHDZTjs.joinUrl.call(void 0, http.prefix, http.route), async (req, res, next) => {
108
+ _chunkXKK2SQ7Wjs.Context.applyAddons(addons, subRouter, "hyper-express");
109
+ subRouter[http.type](_chunkXKK2SQ7Wjs.joinUrl.call(void 0, http.prefix, http.route), async (req, res, next) => {
110
110
  debug(`invoke method "${func}" in module "${tag}"`);
111
111
  const contextData = {
112
112
  type: "hyper-express",
@@ -123,21 +123,21 @@ function bind(router, data, opts = {}) {
123
123
  params: req.path_parameters,
124
124
  headers: req.headers,
125
125
  next,
126
- getCookie: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (key) => req.cookies[key], "getCookie"),
127
- setCookie: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (key, value, opts2) => res.cookie(key, value, _optionalChain([opts2, 'optionalAccess', _4 => _4.expires]) && opts2.expires.getTime() - Date.now(), opts2 || {}), "setCookie"),
128
- delCookie: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (key) => res.clearCookie(key), "delCookie"),
129
- redirect: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (url) => res.redirect(url), "redirect"),
130
- setResHeaders: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (headers) => res.set(headers), "setResHeaders"),
131
- setResStatus: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, (code) => res.status(code), "setResStatus"),
132
- getRequest: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, () => req, "getRequest"),
133
- getResponse: /* @__PURE__ */ _chunkRLFCI3RGjs.__name.call(void 0, () => res, "getResponse")
126
+ getCookie: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (key) => req.cookies[key], "getCookie"),
127
+ setCookie: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (key, value, opts2) => res.cookie(key, value, _optionalChain([opts2, 'optionalAccess', _4 => _4.expires]) && opts2.expires.getTime() - Date.now(), opts2 || {}), "setCookie"),
128
+ delCookie: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (key) => res.clearCookie(key), "delCookie"),
129
+ redirect: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (url) => res.redirect(url), "redirect"),
130
+ setResHeaders: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (headers) => res.set(headers), "setResHeaders"),
131
+ setResStatus: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, (code) => res.status(code), "setResStatus"),
132
+ getRequest: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, () => req, "getRequest"),
133
+ getResponse: /* @__PURE__ */ _chunk4LLLQOMFjs.__name.call(void 0, () => res, "getResponse")
134
134
  };
135
- const context = new (0, _chunkH7OCHDZTjs.Context)(contextData);
135
+ const context = new (0, _chunkXKK2SQ7Wjs.Context)(contextData);
136
136
  if (http.headers) {
137
137
  for (const name in http.headers) res.set(name, http.headers[name]);
138
138
  }
139
139
  if (dynamic) {
140
- aop = _chunkH7OCHDZTjs.Context.getAop(meta2, {
140
+ aop = _chunkXKK2SQ7Wjs.Context.getAop(meta2, {
141
141
  globalFilter,
142
142
  globalGuards,
143
143
  globalPipe
@@ -156,10 +156,9 @@ function bind(router, data, opts = {}) {
156
156
  }
157
157
  }
158
158
  }
159
- _chunkRLFCI3RGjs.__name.call(void 0, registerRoute, "registerRoute");
159
+ _chunk4LLLQOMFjs.__name.call(void 0, registerRoute, "registerRoute");
160
160
  }
161
- _chunkRLFCI3RGjs.__name.call(void 0, bind, "bind");
161
+ _chunk4LLLQOMFjs.__name.call(void 0, bind, "bind");
162
162
 
163
163
 
164
164
  exports.bind = bind;
165
- //# sourceMappingURL=index.js.map
@@ -4,10 +4,10 @@ import {
4
4
  createControllerMetaMap,
5
5
  detectAopDep,
6
6
  joinUrl
7
- } from "../../chunk-LBH4RXQQ.mjs";
7
+ } from "../../chunk-E7EAPAGM.mjs";
8
8
  import {
9
9
  __name
10
- } from "../../chunk-MDPW6WGF.mjs";
10
+ } from "../../chunk-NQ55PA2X.mjs";
11
11
 
12
12
  // src/http/hyper-express/bind.ts
13
13
  import { Router } from "hyper-express";
@@ -162,4 +162,3 @@ __name(bind, "bind");
162
162
  export {
163
163
  bind
164
164
  };
165
- //# sourceMappingURL=index.mjs.map