@fluojs/cache-manager 1.0.0-beta.2 → 1.0.0-beta.3

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.
@@ -5,7 +5,7 @@ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e =
5
5
  function _setFunctionName(e, t, n) { "symbol" == typeof t && (t = (t = t.description) ? "[" + t + "]" : ""); try { Object.defineProperty(e, "name", { configurable: !0, value: n ? n + " " + t : t }); } catch (e) {} return e; }
6
6
  function _checkInRHS(e) { if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (null !== e ? typeof e : "null")); return e; }
7
7
  import { Inject } from '@fluojs/core';
8
- import { metadataSymbol } from '@fluojs/core/internal';
8
+ import { getStandardMetadataBag } from '@fluojs/core/internal';
9
9
  import { SseResponse } from '@fluojs/http';
10
10
  import { cacheRouteMetadataKey, getCacheEvictMetadata, getCacheKeyMetadata, getCacheTtlMetadata } from './decorators.js';
11
11
  import { CacheService } from './service.js';
@@ -14,7 +14,7 @@ function isMetadataBag(value) {
14
14
  return typeof value === 'object' && value !== null;
15
15
  }
16
16
  function getMethodMetadataBag(controllerToken, methodName) {
17
- const classBag = Reflect.get(controllerToken, metadataSymbol);
17
+ const classBag = getStandardMetadataBag(controllerToken);
18
18
  if (!isMetadataBag(classBag)) {
19
19
  return undefined;
20
20
  }
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "memory-store",
11
11
  "decorator"
12
12
  ],
13
- "version": "1.0.0-beta.2",
13
+ "version": "1.0.0-beta.3",
14
14
  "private": false,
15
15
  "license": "MIT",
16
16
  "repository": {
@@ -37,10 +37,10 @@
37
37
  "dist"
38
38
  ],
39
39
  "dependencies": {
40
- "@fluojs/di": "^1.0.0-beta.2",
41
- "@fluojs/core": "^1.0.0-beta.1",
42
- "@fluojs/http": "^1.0.0-beta.1",
43
- "@fluojs/runtime": "^1.0.0-beta.2"
40
+ "@fluojs/core": "^1.0.0-beta.2",
41
+ "@fluojs/di": "^1.0.0-beta.3",
42
+ "@fluojs/http": "^1.0.0-beta.2",
43
+ "@fluojs/runtime": "^1.0.0-beta.3"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "ioredis": "^5.0.0",