phecda-server 8.2.0 → 8.3.0

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.
@@ -2,7 +2,7 @@ import {
2
2
  Context,
3
3
  createControllerMetaMap,
4
4
  detectAopDep
5
- } from "../../chunk-2P2UICBC.mjs";
5
+ } from "../../chunk-US2DTB3Z.mjs";
6
6
  import {
7
7
  HMR,
8
8
  __name
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkMPKVT4SQjs = require('../../chunk-MPKVT4SQ.js');
5
+ var _chunkR73A7HS3js = require('../../chunk-R73A7HS3.js');
6
6
 
7
7
 
8
8
  var _chunkOUQM7GZHjs = require('../../chunk-OUQM7GZH.js');
@@ -13,14 +13,14 @@ var debug = _debug2.default.call(void 0, "phecda-server/ws");
13
13
  function bind(wss, data, opts = {}) {
14
14
  const { globalGuards, globalAddons, globalFilter, globalPipe } = opts;
15
15
  const { moduleMap, meta } = data;
16
- const metaMap = _chunkMPKVT4SQjs.createControllerMetaMap.call(void 0, meta, (meta2) => {
16
+ const metaMap = _chunkR73A7HS3js.createControllerMetaMap.call(void 0, meta, (meta2) => {
17
17
  const { controller, rpc, method, tag } = meta2.data;
18
18
  if (controller === "rpc" && _optionalChain([rpc, 'optionalAccess', _ => _.queue]) !== void 0) {
19
19
  debug(`register method "${method}" in module "${tag}"`);
20
20
  return true;
21
21
  }
22
22
  });
23
- _chunkMPKVT4SQjs.detectAopDep.call(void 0, meta, {
23
+ _chunkR73A7HS3js.detectAopDep.call(void 0, meta, {
24
24
  guards: globalGuards,
25
25
  addons: globalAddons
26
26
  }, "rpc");
@@ -32,12 +32,12 @@ function bind(wss, data, opts = {}) {
32
32
  if (_ps !== 1) return;
33
33
  const meta2 = metaMap.get(tag)[method];
34
34
  const { data: { rpc: { isEvent } = {} } } = meta2;
35
- const aop = _chunkMPKVT4SQjs.Context.getAop(meta2, {
35
+ const aop = _chunkR73A7HS3js.Context.getAop(meta2, {
36
36
  globalFilter,
37
37
  globalGuards,
38
38
  globalPipe
39
39
  });
40
- const context = new (0, _chunkMPKVT4SQjs.Context)({
40
+ const context = new (0, _chunkR73A7HS3js.Context)({
41
41
  type: "ws",
42
42
  category: "rpc",
43
43
  meta: meta2,
@@ -2,7 +2,7 @@ import {
2
2
  Context,
3
3
  createControllerMetaMap,
4
4
  detectAopDep
5
- } from "../../chunk-2P2UICBC.mjs";
5
+ } from "../../chunk-US2DTB3Z.mjs";
6
6
  import {
7
7
  __name
8
8
  } from "../../chunk-JRNXLEAU.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phecda-server",
3
- "version": "8.2.0",
3
+ "version": "8.3.0",
4
4
  "description": "server framework that provide IOC/type-reuse/http&rpc-adaptor",
5
5
  "author": "fgsreally",
6
6
  "license": "MIT",