@akanjs/nest 0.0.21 → 0.0.22

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/nest",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "type": "commonjs",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -82,7 +82,10 @@ let CacheInterceptor = class {
82
82
  const cachedData = await __privateMethod(this, _getCache, getCache_fn).call(this, cacheKey);
83
83
  if (cachedData) {
84
84
  __privateGet(this, _logger).debug(`Cache hit for key: ${cacheKey}`);
85
- return (0, import_rxjs.of)(cachedData);
85
+ return new import_rxjs.Observable((subscriber) => {
86
+ subscriber.next(cachedData);
87
+ subscriber.complete();
88
+ });
86
89
  }
87
90
  return next.handle().pipe(
88
91
  (0, import_rxjs.map)((data) => {