@vercube/di 0.0.24 → 0.0.25

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.mjs +1 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -355,8 +355,7 @@ var Container = class Container {
355
355
  const values = [...this.fNewQueue.values()];
356
356
  for (const def of values) {
357
357
  if (def.type !== IOC.ServiceFactoryType.CLASS_SINGLETON) continue;
358
- const instance = this.internalResolve(def);
359
- initializeDecorators(instance, this);
358
+ initializeDecorators(this.internalResolve(def), this);
360
359
  }
361
360
  this.fNewQueue.clear();
362
361
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercube/di",
3
- "version": "0.0.24",
3
+ "version": "0.0.25",
4
4
  "description": "Dependencie Injection module for Vercube framework",
5
5
  "repository": {
6
6
  "type": "git",