vona-module-a-caching 5.0.17 → 5.0.18

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 (2) hide show
  1. package/dist/index.js +6 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -45,9 +45,9 @@ function combineCachingKey(info, options) {
45
45
  prop,
46
46
  intention,
47
47
  options,
48
- self: receiver,
49
- app: cast(receiver).app,
50
- ctx: cast(receiver).ctx
48
+ self: {
49
+ ...receiver
50
+ }
51
51
  }));
52
52
  }
53
53
  // default: only use first arg
@@ -88,9 +88,9 @@ function combineCachingValue(info, options) {
88
88
  prop,
89
89
  intention,
90
90
  options,
91
- self: receiver,
92
- app: cast(receiver).app,
93
- ctx: cast(receiver).ctx
91
+ self: {
92
+ ...receiver
93
+ }
94
94
  });
95
95
  }
96
96
  // default
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-module-a-caching",
3
3
  "type": "module",
4
- "version": "5.0.17",
4
+ "version": "5.0.18",
5
5
  "title": "a-caching",
6
6
  "vonaModule": {
7
7
  "dependencies": {}