@orion-js/services 3.1.12 → 3.2.21

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/lib/typedi.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import { Constructable } from 'typedi';
2
- export { Service, Inject } from 'typedi';
2
+ export { Service, Inject, Container } from 'typedi';
3
3
  export declare function getInstance<T>(service: Constructable<T>): T;
package/lib/typedi.js CHANGED
@@ -3,11 +3,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.getInstance = exports.Inject = exports.Service = void 0;
6
+ exports.getInstance = exports.Container = exports.Inject = exports.Service = void 0;
7
7
  const typedi_1 = __importDefault(require("typedi"));
8
8
  var typedi_2 = require("typedi");
9
9
  Object.defineProperty(exports, "Service", { enumerable: true, get: function () { return typedi_2.Service; } });
10
10
  Object.defineProperty(exports, "Inject", { enumerable: true, get: function () { return typedi_2.Inject; } });
11
+ Object.defineProperty(exports, "Container", { enumerable: true, get: function () { return typedi_2.Container; } });
11
12
  function getInstance(service) {
12
13
  return typedi_1.default.get(service);
13
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orion-js/services",
3
- "version": "3.1.12",
3
+ "version": "3.2.21",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "files": [
@@ -17,7 +17,7 @@
17
17
  "upgrade-interactive": "yarn upgrade-interactive"
18
18
  },
19
19
  "dependencies": {
20
- "@orion-js/helpers": "^3.1.12",
20
+ "@orion-js/helpers": "^3.2.21",
21
21
  "typedi": "^0.10.0"
22
22
  },
23
23
  "devDependencies": {
@@ -32,5 +32,5 @@
32
32
  "publishConfig": {
33
33
  "access": "public"
34
34
  },
35
- "gitHead": "a6b82a931bea3179dfac4099579096c4f7a780bb"
35
+ "gitHead": "160e776b7a8448c8e4f67cae79849d6520eaf0c1"
36
36
  }