phecda-server 5.3.0 → 5.3.1

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.
@@ -213,10 +213,6 @@ _chunkRVWBJ6LVjs.__name.call(void 0, Rpc, "Rpc");
213
213
 
214
214
  // src/decorators/ctx.ts
215
215
 
216
- function Injectable() {
217
- return (target) => _phecdacore.Empty.call(void 0, target);
218
- }
219
- _chunkRVWBJ6LVjs.__name.call(void 0, Injectable, "Injectable");
220
216
  var Ctx = /* @__PURE__ */ _chunkRVWBJ6LVjs.__name.call(void 0, (target, key) => {
221
217
  _phecdacore.setPropertyState.call(void 0, target, _phecdacore.SHARE_KEY, (state) => {
222
218
  if (!state.ctxs) state.ctxs = /* @__PURE__ */ new Set([
@@ -280,5 +276,4 @@ _chunkRVWBJ6LVjs.__name.call(void 0, Define, "Define");
280
276
 
281
277
 
282
278
 
283
-
284
- exports.BaseParam = BaseParam; exports.Body = Body; exports.Head = Head; exports.Query = Query; exports.Param = Param; exports.Arg = Arg; exports.Guard = Guard; exports.Plugin = Plugin; exports.Interceptor = Interceptor; exports.Filter = Filter; exports.Pipe = Pipe; exports.Route = Route; exports.Header = Header; exports.Get = Get; exports.Post = Post; exports.Put = Put; exports.Patch = Patch; exports.Delete = Delete; exports.Controller = Controller; exports.Event = Event; exports.Queue = Queue; exports.Rpc = Rpc; exports.Injectable = Injectable; exports.Ctx = Ctx; exports.Define = Define;
279
+ exports.BaseParam = BaseParam; exports.Body = Body; exports.Head = Head; exports.Query = Query; exports.Param = Param; exports.Arg = Arg; exports.Guard = Guard; exports.Plugin = Plugin; exports.Interceptor = Interceptor; exports.Filter = Filter; exports.Pipe = Pipe; exports.Route = Route; exports.Header = Header; exports.Get = Get; exports.Post = Post; exports.Put = Put; exports.Patch = Patch; exports.Delete = Delete; exports.Controller = Controller; exports.Event = Event; exports.Queue = Queue; exports.Rpc = Rpc; exports.Ctx = Ctx; exports.Define = Define;
@@ -212,11 +212,7 @@ function Rpc() {
212
212
  __name(Rpc, "Rpc");
213
213
 
214
214
  // src/decorators/ctx.ts
215
- import { Empty, SHARE_KEY, getState as getState5, setPropertyState as setPropertyState5 } from "phecda-core";
216
- function Injectable() {
217
- return (target) => Empty(target);
218
- }
219
- __name(Injectable, "Injectable");
215
+ import { SHARE_KEY, getState as getState5, setPropertyState as setPropertyState5 } from "phecda-core";
220
216
  var Ctx = /* @__PURE__ */ __name((target, key) => {
221
217
  setPropertyState5(target, SHARE_KEY, (state) => {
222
218
  if (!state.ctxs) state.ctxs = /* @__PURE__ */ new Set([
@@ -278,7 +274,6 @@ export {
278
274
  Event,
279
275
  Queue,
280
276
  Rpc,
281
- Injectable,
282
277
  Ctx,
283
278
  Define
284
279
  };
package/dist/index.d.mts CHANGED
@@ -171,7 +171,6 @@ declare function Event(isEvent?: boolean): (target: any, k?: PropertyKey) => voi
171
171
  declare function Queue(queue?: string): (target: any, k?: PropertyKey) => void;
172
172
  declare function Rpc(): ClassDecorator;
173
173
 
174
- declare function Injectable(): (target: any) => void;
175
174
  declare const Ctx: PropertyDecorator;
176
175
  declare function Define(key: string, value: any): any;
177
176
 
@@ -248,4 +247,4 @@ declare function setLogger(logger: Record<LogLevel, (msg: string) => void>): voi
248
247
  declare function log(msg: string, level?: LogLevel): void;
249
248
  declare function Mix<C1 extends Construct | AbConstruct, C2 extends Construct>(InternalClass: C1, ExtendClass: C2): new (...args: ConstructorParameters<C2>) => InstanceType<C1> & InstanceType<C2>;
250
249
 
251
- export { Arg, BadGatewayException, BadRequestException, BaseContext, BaseError, BaseParam, Body, ConflictException, Context, Controller, ControllerMetaData, Ctx, DefaultOptions, Define, Delete, Emitter, Event, Exception, Filter, type FilterType, ForbiddenException, FrameworkException, Generator, Get, Guard, type GuardType, HTTPGenerator, Head, Header, HttpBase, HttpContext, Injectable, Interceptor, type InterceptorType, InvalidInputException, MetaData, Mix, NotFoundException, PExtension, PFilter, PGuard, PInterceptor, PPipe, PPlugin, Param, Patch, PayloadLargeException, Pipe, type PipeArg, type PipeType, Plugin, Post, Put, Query, Queue, RPCGenerator, Route, Rpc, RpcBase, RpcContext, ServerBase, ServiceUnavailableException, TimeoutException, TimerException, UnauthorizedException, UndefinedException, UnsupportedMediaTypeException, ValidateException, WorkerException, addFilter, addGuard, addInterceptor, addPipe, addPlugin, defaultPipe, log, setLogger };
250
+ export { Arg, BadGatewayException, BadRequestException, BaseContext, BaseError, BaseParam, Body, ConflictException, Context, Controller, ControllerMetaData, Ctx, DefaultOptions, Define, Delete, Emitter, Event, Exception, Filter, type FilterType, ForbiddenException, FrameworkException, Generator, Get, Guard, type GuardType, HTTPGenerator, Head, Header, HttpBase, HttpContext, Interceptor, type InterceptorType, InvalidInputException, MetaData, Mix, NotFoundException, PExtension, PFilter, PGuard, PInterceptor, PPipe, PPlugin, Param, Patch, PayloadLargeException, Pipe, type PipeArg, type PipeType, Plugin, Post, Put, Query, Queue, RPCGenerator, Route, Rpc, RpcBase, RpcContext, ServerBase, ServiceUnavailableException, TimeoutException, TimerException, UnauthorizedException, UndefinedException, UnsupportedMediaTypeException, ValidateException, WorkerException, addFilter, addGuard, addInterceptor, addPipe, addPlugin, defaultPipe, log, setLogger };
package/dist/index.d.ts CHANGED
@@ -171,7 +171,6 @@ declare function Event(isEvent?: boolean): (target: any, k?: PropertyKey) => voi
171
171
  declare function Queue(queue?: string): (target: any, k?: PropertyKey) => void;
172
172
  declare function Rpc(): ClassDecorator;
173
173
 
174
- declare function Injectable(): (target: any) => void;
175
174
  declare const Ctx: PropertyDecorator;
176
175
  declare function Define(key: string, value: any): any;
177
176
 
@@ -248,4 +247,4 @@ declare function setLogger(logger: Record<LogLevel, (msg: string) => void>): voi
248
247
  declare function log(msg: string, level?: LogLevel): void;
249
248
  declare function Mix<C1 extends Construct | AbConstruct, C2 extends Construct>(InternalClass: C1, ExtendClass: C2): new (...args: ConstructorParameters<C2>) => InstanceType<C1> & InstanceType<C2>;
250
249
 
251
- export { Arg, BadGatewayException, BadRequestException, BaseContext, BaseError, BaseParam, Body, ConflictException, Context, Controller, ControllerMetaData, Ctx, DefaultOptions, Define, Delete, Emitter, Event, Exception, Filter, type FilterType, ForbiddenException, FrameworkException, Generator, Get, Guard, type GuardType, HTTPGenerator, Head, Header, HttpBase, HttpContext, Injectable, Interceptor, type InterceptorType, InvalidInputException, MetaData, Mix, NotFoundException, PExtension, PFilter, PGuard, PInterceptor, PPipe, PPlugin, Param, Patch, PayloadLargeException, Pipe, type PipeArg, type PipeType, Plugin, Post, Put, Query, Queue, RPCGenerator, Route, Rpc, RpcBase, RpcContext, ServerBase, ServiceUnavailableException, TimeoutException, TimerException, UnauthorizedException, UndefinedException, UnsupportedMediaTypeException, ValidateException, WorkerException, addFilter, addGuard, addInterceptor, addPipe, addPlugin, defaultPipe, log, setLogger };
250
+ export { Arg, BadGatewayException, BadRequestException, BaseContext, BaseError, BaseParam, Body, ConflictException, Context, Controller, ControllerMetaData, Ctx, DefaultOptions, Define, Delete, Emitter, Event, Exception, Filter, type FilterType, ForbiddenException, FrameworkException, Generator, Get, Guard, type GuardType, HTTPGenerator, Head, Header, HttpBase, HttpContext, Interceptor, type InterceptorType, InvalidInputException, MetaData, Mix, NotFoundException, PExtension, PFilter, PGuard, PInterceptor, PPipe, PPlugin, Param, Patch, PayloadLargeException, Pipe, type PipeArg, type PipeType, Plugin, Post, Put, Query, Queue, RPCGenerator, Route, Rpc, RpcBase, RpcContext, ServerBase, ServiceUnavailableException, TimeoutException, TimerException, UnauthorizedException, UndefinedException, UnsupportedMediaTypeException, ValidateException, WorkerException, addFilter, addGuard, addInterceptor, addPipe, addPlugin, defaultPipe, log, setLogger };
package/dist/index.js CHANGED
@@ -29,8 +29,7 @@ var _chunkN4ULJDEQjs = require('./chunk-N4ULJDEQ.js');
29
29
 
30
30
 
31
31
 
32
-
33
- var _chunkAUAAKHWSjs = require('./chunk-AUAAKHWS.js');
32
+ var _chunkODUYOCDFjs = require('./chunk-ODUYOCDF.js');
34
33
 
35
34
 
36
35
 
@@ -98,9 +97,6 @@ var ServerBase = (_class = class extends _phecdacore.Base {constructor(...args2)
98
97
  }
99
98
  __init() {this.emitter = exports.emitter = _chunkN4ULJDEQjs.emitter}
100
99
  }, _class);
101
- ServerBase = exports.ServerBase = _ts_decorate([
102
- _phecdacore.Empty
103
- ], ServerBase);
104
100
  var HttpBase = class extends ServerBase {
105
101
  static {
106
102
  _chunkRVWBJ6LVjs.__name.call(void 0, this, "HttpBase");
@@ -108,7 +104,7 @@ var HttpBase = class extends ServerBase {
108
104
 
109
105
  };
110
106
  _ts_decorate([
111
- _chunkAUAAKHWSjs.Ctx,
107
+ _chunkODUYOCDFjs.Ctx,
112
108
  _ts_metadata("design:type", typeof HttpContext === "undefined" ? Object : HttpContext)
113
109
  ], HttpBase.prototype, "context", void 0);
114
110
  var RpcBase = class extends ServerBase {
@@ -118,7 +114,7 @@ var RpcBase = class extends ServerBase {
118
114
 
119
115
  };
120
116
  _ts_decorate([
121
- _chunkAUAAKHWSjs.Ctx,
117
+ _chunkODUYOCDFjs.Ctx,
122
118
  _ts_metadata("design:type", typeof RpcContext === "undefined" ? Object : RpcContext)
123
119
  ], RpcBase.prototype, "context", void 0);
124
120
 
@@ -422,5 +418,4 @@ return ret
422
418
 
423
419
 
424
420
 
425
-
426
- exports.Arg = _chunkAUAAKHWSjs.Arg; exports.BadGatewayException = _chunkQYX5Q7KOjs.BadGatewayException; exports.BadRequestException = _chunkQYX5Q7KOjs.BadRequestException; exports.BaseParam = _chunkAUAAKHWSjs.BaseParam; exports.Body = _chunkAUAAKHWSjs.Body; exports.ConflictException = _chunkQYX5Q7KOjs.ConflictException; exports.Context = _chunkQYX5Q7KOjs.Context; exports.Controller = _chunkAUAAKHWSjs.Controller; exports.Ctx = _chunkAUAAKHWSjs.Ctx; exports.CustomResponse = CustomResponse; exports.Define = _chunkAUAAKHWSjs.Define; exports.Delete = _chunkAUAAKHWSjs.Delete; exports.ERROR_SYMBOL = _chunkRVWBJ6LVjs.ERROR_SYMBOL; exports.Event = _chunkAUAAKHWSjs.Event; exports.Exception = _chunkQYX5Q7KOjs.Exception; exports.Factory = _chunkN4ULJDEQjs.Factory; exports.Filter = _chunkAUAAKHWSjs.Filter; exports.ForbiddenException = _chunkQYX5Q7KOjs.ForbiddenException; exports.FrameworkException = _chunkQYX5Q7KOjs.FrameworkException; exports.Generator = Generator; exports.Get = _chunkAUAAKHWSjs.Get; exports.Guard = _chunkAUAAKHWSjs.Guard; exports.HTTPGenerator = HTTPGenerator; exports.Head = _chunkAUAAKHWSjs.Head; exports.Header = _chunkAUAAKHWSjs.Header; exports.HttpBase = HttpBase; exports.IS_HMR = _chunkRVWBJ6LVjs.IS_HMR; exports.IS_ONLY_GENERATE = _chunkRVWBJ6LVjs.IS_ONLY_GENERATE; exports.IS_STRICT = _chunkRVWBJ6LVjs.IS_STRICT; exports.Injectable = _chunkAUAAKHWSjs.Injectable; exports.Interceptor = _chunkAUAAKHWSjs.Interceptor; exports.InvalidInputException = _chunkQYX5Q7KOjs.InvalidInputException; exports.LOG_LEVEL = _chunkRVWBJ6LVjs.LOG_LEVEL; exports.Meta = _chunkN4ULJDEQjs.Meta; exports.Mix = _chunkRVWBJ6LVjs.Mix; exports.NotFoundException = _chunkQYX5Q7KOjs.NotFoundException; exports.PExtension = PExtension; exports.PFilter = PFilter; exports.PGuard = PGuard; exports.PInterceptor = PInterceptor; exports.PPipe = PPipe; exports.PPlugin = PPlugin; exports.PS_EXIT_CODE = _chunkRVWBJ6LVjs.PS_EXIT_CODE; exports.Param = _chunkAUAAKHWSjs.Param; exports.Patch = _chunkAUAAKHWSjs.Patch; exports.PayloadLargeException = _chunkQYX5Q7KOjs.PayloadLargeException; exports.Pipe = _chunkAUAAKHWSjs.Pipe; exports.Plugin = _chunkAUAAKHWSjs.Plugin; exports.Post = _chunkAUAAKHWSjs.Post; exports.Put = _chunkAUAAKHWSjs.Put; exports.Query = _chunkAUAAKHWSjs.Query; exports.Queue = _chunkAUAAKHWSjs.Queue; exports.RPCGenerator = RPCGenerator; exports.Route = _chunkAUAAKHWSjs.Route; exports.Rpc = _chunkAUAAKHWSjs.Rpc; exports.RpcBase = RpcBase; exports.ServerBase = ServerBase; exports.ServiceUnavailableException = _chunkQYX5Q7KOjs.ServiceUnavailableException; exports.TimeoutException = _chunkQYX5Q7KOjs.TimeoutException; exports.TimerException = _chunkQYX5Q7KOjs.TimerException; exports.UnauthorizedException = _chunkQYX5Q7KOjs.UnauthorizedException; exports.UndefinedException = _chunkQYX5Q7KOjs.UndefinedException; exports.UnsupportedMediaTypeException = _chunkQYX5Q7KOjs.UnsupportedMediaTypeException; exports.ValidateException = _chunkQYX5Q7KOjs.ValidateException; exports.WorkerException = _chunkQYX5Q7KOjs.WorkerException; exports.addFilter = _chunkQYX5Q7KOjs.addFilter; exports.addGuard = _chunkQYX5Q7KOjs.addGuard; exports.addInterceptor = _chunkQYX5Q7KOjs.addInterceptor; exports.addPipe = _chunkQYX5Q7KOjs.addPipe; exports.addPlugin = _chunkQYX5Q7KOjs.addPlugin; exports.createPhecda = _chunkN4ULJDEQjs.createPhecda; exports.defaultPipe = _chunkQYX5Q7KOjs.defaultPipe; exports.emitter = _chunkN4ULJDEQjs.emitter; exports.log = _chunkRVWBJ6LVjs.log; exports.setLogger = _chunkRVWBJ6LVjs.setLogger;
421
+ exports.Arg = _chunkODUYOCDFjs.Arg; exports.BadGatewayException = _chunkQYX5Q7KOjs.BadGatewayException; exports.BadRequestException = _chunkQYX5Q7KOjs.BadRequestException; exports.BaseParam = _chunkODUYOCDFjs.BaseParam; exports.Body = _chunkODUYOCDFjs.Body; exports.ConflictException = _chunkQYX5Q7KOjs.ConflictException; exports.Context = _chunkQYX5Q7KOjs.Context; exports.Controller = _chunkODUYOCDFjs.Controller; exports.Ctx = _chunkODUYOCDFjs.Ctx; exports.CustomResponse = CustomResponse; exports.Define = _chunkODUYOCDFjs.Define; exports.Delete = _chunkODUYOCDFjs.Delete; exports.ERROR_SYMBOL = _chunkRVWBJ6LVjs.ERROR_SYMBOL; exports.Event = _chunkODUYOCDFjs.Event; exports.Exception = _chunkQYX5Q7KOjs.Exception; exports.Factory = _chunkN4ULJDEQjs.Factory; exports.Filter = _chunkODUYOCDFjs.Filter; exports.ForbiddenException = _chunkQYX5Q7KOjs.ForbiddenException; exports.FrameworkException = _chunkQYX5Q7KOjs.FrameworkException; exports.Generator = Generator; exports.Get = _chunkODUYOCDFjs.Get; exports.Guard = _chunkODUYOCDFjs.Guard; exports.HTTPGenerator = HTTPGenerator; exports.Head = _chunkODUYOCDFjs.Head; exports.Header = _chunkODUYOCDFjs.Header; exports.HttpBase = HttpBase; exports.IS_HMR = _chunkRVWBJ6LVjs.IS_HMR; exports.IS_ONLY_GENERATE = _chunkRVWBJ6LVjs.IS_ONLY_GENERATE; exports.IS_STRICT = _chunkRVWBJ6LVjs.IS_STRICT; exports.Interceptor = _chunkODUYOCDFjs.Interceptor; exports.InvalidInputException = _chunkQYX5Q7KOjs.InvalidInputException; exports.LOG_LEVEL = _chunkRVWBJ6LVjs.LOG_LEVEL; exports.Meta = _chunkN4ULJDEQjs.Meta; exports.Mix = _chunkRVWBJ6LVjs.Mix; exports.NotFoundException = _chunkQYX5Q7KOjs.NotFoundException; exports.PExtension = PExtension; exports.PFilter = PFilter; exports.PGuard = PGuard; exports.PInterceptor = PInterceptor; exports.PPipe = PPipe; exports.PPlugin = PPlugin; exports.PS_EXIT_CODE = _chunkRVWBJ6LVjs.PS_EXIT_CODE; exports.Param = _chunkODUYOCDFjs.Param; exports.Patch = _chunkODUYOCDFjs.Patch; exports.PayloadLargeException = _chunkQYX5Q7KOjs.PayloadLargeException; exports.Pipe = _chunkODUYOCDFjs.Pipe; exports.Plugin = _chunkODUYOCDFjs.Plugin; exports.Post = _chunkODUYOCDFjs.Post; exports.Put = _chunkODUYOCDFjs.Put; exports.Query = _chunkODUYOCDFjs.Query; exports.Queue = _chunkODUYOCDFjs.Queue; exports.RPCGenerator = RPCGenerator; exports.Route = _chunkODUYOCDFjs.Route; exports.Rpc = _chunkODUYOCDFjs.Rpc; exports.RpcBase = RpcBase; exports.ServerBase = ServerBase; exports.ServiceUnavailableException = _chunkQYX5Q7KOjs.ServiceUnavailableException; exports.TimeoutException = _chunkQYX5Q7KOjs.TimeoutException; exports.TimerException = _chunkQYX5Q7KOjs.TimerException; exports.UnauthorizedException = _chunkQYX5Q7KOjs.UnauthorizedException; exports.UndefinedException = _chunkQYX5Q7KOjs.UndefinedException; exports.UnsupportedMediaTypeException = _chunkQYX5Q7KOjs.UnsupportedMediaTypeException; exports.ValidateException = _chunkQYX5Q7KOjs.ValidateException; exports.WorkerException = _chunkQYX5Q7KOjs.WorkerException; exports.addFilter = _chunkQYX5Q7KOjs.addFilter; exports.addGuard = _chunkQYX5Q7KOjs.addGuard; exports.addInterceptor = _chunkQYX5Q7KOjs.addInterceptor; exports.addPipe = _chunkQYX5Q7KOjs.addPipe; exports.addPlugin = _chunkQYX5Q7KOjs.addPlugin; exports.createPhecda = _chunkN4ULJDEQjs.createPhecda; exports.defaultPipe = _chunkQYX5Q7KOjs.defaultPipe; exports.emitter = _chunkN4ULJDEQjs.emitter; exports.log = _chunkRVWBJ6LVjs.log; exports.setLogger = _chunkRVWBJ6LVjs.setLogger;
package/dist/index.mjs CHANGED
@@ -18,7 +18,6 @@ import {
18
18
  Guard,
19
19
  Head,
20
20
  Header,
21
- Injectable,
22
21
  Interceptor,
23
22
  Param,
24
23
  Patch,
@@ -30,7 +29,7 @@ import {
30
29
  Queue,
31
30
  Route,
32
31
  Rpc
33
- } from "./chunk-5E2AVYP2.mjs";
32
+ } from "./chunk-ORQAEOSE.mjs";
34
33
  import {
35
34
  BadGatewayException,
36
35
  BadRequestException,
@@ -80,7 +79,7 @@ var CustomResponse = class {
80
79
  };
81
80
 
82
81
  // src/modules/base.ts
83
- import { Base, Empty } from "phecda-core";
82
+ import { Base } from "phecda-core";
84
83
  function _ts_decorate(decorators, target, key, desc) {
85
84
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
86
85
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -98,9 +97,6 @@ var ServerBase = class extends Base {
98
97
  }
99
98
  emitter = emitter;
100
99
  };
101
- ServerBase = _ts_decorate([
102
- Empty
103
- ], ServerBase);
104
100
  var HttpBase = class extends ServerBase {
105
101
  static {
106
102
  __name(this, "HttpBase");
@@ -377,7 +373,6 @@ export {
377
373
  IS_HMR,
378
374
  IS_ONLY_GENERATE,
379
375
  IS_STRICT,
380
- Injectable,
381
376
  Interceptor,
382
377
  InvalidInputException,
383
378
  LOG_LEVEL,
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkAUAAKHWSjs = require('../../chunk-AUAAKHWS.js');
3
+ var _chunkODUYOCDFjs = require('../../chunk-ODUYOCDF.js');
4
4
 
5
5
 
6
6
 
@@ -147,7 +147,7 @@ function bind(app, data, opts = {}) {
147
147
  }
148
148
  _chunkRVWBJ6LVjs.__name.call(void 0, bind, "bind");
149
149
  function Elysia(opts) {
150
- return _chunkAUAAKHWSjs.Define.call(void 0, "elysia", opts);
150
+ return _chunkODUYOCDFjs.Define.call(void 0, "elysia", opts);
151
151
  }
152
152
  _chunkRVWBJ6LVjs.__name.call(void 0, Elysia, "Elysia");
153
153
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Define
3
- } from "../../chunk-5E2AVYP2.mjs";
3
+ } from "../../chunk-ORQAEOSE.mjs";
4
4
  import {
5
5
  BadRequestException,
6
6
  Context,
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkAUAAKHWSjs = require('../../chunk-AUAAKHWS.js');
3
+ var _chunkODUYOCDFjs = require('../../chunk-ODUYOCDF.js');
4
4
 
5
5
 
6
6
 
@@ -162,7 +162,7 @@ function bind(fastify, data, opts = {}) {
162
162
  }
163
163
  _chunkRVWBJ6LVjs.__name.call(void 0, bind, "bind");
164
164
  function Fastify(opts) {
165
- return _chunkAUAAKHWSjs.Define.call(void 0, "fastify", opts);
165
+ return _chunkODUYOCDFjs.Define.call(void 0, "fastify", opts);
166
166
  }
167
167
  _chunkRVWBJ6LVjs.__name.call(void 0, Fastify, "Fastify");
168
168
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Define
3
- } from "../../chunk-5E2AVYP2.mjs";
3
+ } from "../../chunk-ORQAEOSE.mjs";
4
4
  import {
5
5
  BadRequestException,
6
6
  Context,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phecda-server",
3
- "version": "5.3.0",
3
+ "version": "5.3.1",
4
4
  "description": "server framework that provide IOC/type-reuse/http&rpc-adaptor",
5
5
  "author": "fgsreally",
6
6
  "license": "MIT",
@@ -145,7 +145,7 @@
145
145
  "fs-extra": "^11.2.0",
146
146
  "picocolors": "^1.0.0",
147
147
  "reflect-metadata": "^0.1.13",
148
- "phecda-core": "3.1.0"
148
+ "phecda-core": "3.1.1"
149
149
  },
150
150
  "devDependencies": {
151
151
  "@koa/router": "^12.0.1",