@stemy/backend 2.8.1 → 2.8.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.
- package/bundles/stemy-backend.umd.js +16 -23
- package/bundles/stemy-backend.umd.js.map +1 -1
- package/bundles/stemy-backend.umd.min.js +1 -1
- package/bundles/stemy-backend.umd.min.js.map +1 -1
- package/esm2015/utilities/di-container.js +4 -4
- package/esm2015/utilities/tree.js +11 -7
- package/fesm2015/stemy-backend.js +13 -9
- package/fesm2015/stemy-backend.js.map +1 -1
- package/package.json +1 -1
- package/utilities/di-container.d.ts +1 -1
- package/utilities/tree.d.ts +2 -1
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@ export declare class DiContainer implements IDependencyContainer {
|
|
|
14
14
|
get tree(): ITree;
|
|
15
15
|
protected tokens: Array<InjectionToken>;
|
|
16
16
|
protected tokenSet: Set<InjectionToken>;
|
|
17
|
-
protected
|
|
17
|
+
protected root: Tree;
|
|
18
18
|
constructor(container: DependencyContainer, parent?: IDependencyContainer);
|
|
19
19
|
beforeResolution<T>(token: InjectionToken<T>, callback: PreResolutionInterceptorCallback<T>, options?: {
|
|
20
20
|
frequency: Frequency;
|
package/utilities/tree.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { IDependencyContainer, ITree } from "../common-types";
|
|
2
2
|
export declare class Tree implements ITree {
|
|
3
3
|
protected container: IDependencyContainer;
|
|
4
|
+
protected exists: boolean;
|
|
4
5
|
readonly path: string;
|
|
5
6
|
protected map: Map<string, Tree>;
|
|
6
7
|
protected get parentTree(): ITree;
|
|
7
|
-
constructor(container: IDependencyContainer, path: string);
|
|
8
|
+
constructor(container: IDependencyContainer, exists: boolean, path: string);
|
|
8
9
|
resolveService(): any;
|
|
9
10
|
resolveLeaves(): Map<string, ITree>;
|
|
10
11
|
resolveServices(): Map<string, any>;
|