node-dependency-injection 3.0.0-beta.1 → 3.0.0-beta.2

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.
@@ -15,7 +15,7 @@ export interface Logger {
15
15
  }
16
16
 
17
17
  export interface CompilerPass {
18
- process(container: ContainerBuilder): void;
18
+ process(container: ContainerBuilder): Promise<void>;
19
19
  }
20
20
 
21
21
  export interface Factory {
@@ -56,7 +56,7 @@ export class ContainerBuilder {
56
56
 
57
57
  addCompilerPass(compilerPass: any, type?: PassConfigHook, priority?: number): void;
58
58
 
59
- compile(): void;
59
+ compile(): Promise<void>;
60
60
 
61
61
  findDefinition(key: string): Definition;
62
62
 
@@ -160,7 +160,7 @@ export class PassConfig {
160
160
  export class FileLoader {
161
161
  constructor(container: ContainerBuilder);
162
162
 
163
- load(file: string | null): void;
163
+ load(file: string | null): Promise<void>;
164
164
  }
165
165
 
166
166
  export class YamlFileLoader extends FileLoader {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-dependency-injection",
3
- "version": "3.0.0-beta.1",
3
+ "version": "3.0.0-beta.2",
4
4
  "description": "The NodeDependencyInjection component allows you to standardize and centralize the way objects are constructed in your application.",
5
5
  "main": "dist/lib/index.js",
6
6
  "directories": {