@typeix/di 8.1.2 → 8.1.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.
@@ -79,7 +79,7 @@ class Injector extends abstract_injector_1.AbstractInjector {
79
79
  await interceptor_1.createInterceptorsAsync(provider, this);
80
80
  let key = (_b = (_a = metadata.find(item => item.decorator === decorators_1.AfterConstruct)) === null || _a === void 0 ? void 0 : _a.propertyKey) !== null && _b !== void 0 ? _b : "afterConstruct";
81
81
  if (utils_1.isFunction(instance[key])) {
82
- instance[key].call(instance);
82
+ await instance[key].call(instance);
83
83
  }
84
84
  return instance;
85
85
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typeix/di",
3
- "version": "8.1.2",
3
+ "version": "8.1.3",
4
4
  "description": "Typescript dependency injection",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -29,8 +29,8 @@
29
29
  },
30
30
  "homepage": "https://typeix.com",
31
31
  "dependencies": {
32
- "@typeix/metadata": "^8.1.2",
33
- "@typeix/utils": "^8.1.2"
32
+ "@typeix/metadata": "^8.1.3",
33
+ "@typeix/utils": "^8.1.3"
34
34
  },
35
35
  "publishConfig": {
36
36
  "access": "public"
@@ -38,5 +38,5 @@
38
38
  "engines": {
39
39
  "node": ">= 12.10.0"
40
40
  },
41
- "gitHead": "01605aeb331f679f888cbe39ad9a17338494c7f9"
41
+ "gitHead": "56402fd50d57a5e628c6ecfc2eb30c3e8c947809"
42
42
  }