assemblerjs 0.0.93 → 0.0.95

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.d.ts +8 -1
  2. package/package.json +8 -2
package/dist/index.d.ts CHANGED
@@ -66,7 +66,14 @@ export declare class Assembler implements AbstractAssembler {
66
66
  * @returns { T } An instance of Concrete<T>.
67
67
  */
68
68
  require<T>(identifier: Identifier<T>): T;
69
- tagged(...tags: string[]): any[];
69
+ /**
70
+ * Require dependencies by tag passed in assemblage's definition.
71
+ *
72
+ * @param { string | string[] } tags The tag(s) to get dependencies.
73
+ * @returns { unknown[] } An array of instances for the given tags. If registered
74
+ * identifier is not marked as 'singleton', will resolve in a new instance.
75
+ */
76
+ tagged(...tags: string[]): unknown[];
70
77
  }
71
78
 
72
79
  export declare class AssemblerContext {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "assemblerjs",
3
3
  "description": "A simple and zero-dependency DI package written in typescript.",
4
- "version": "0.0.93",
4
+ "version": "0.0.95",
5
5
  "author": "Benoît LAHOZ <info@benoitlahoz.io>",
6
6
  "bugs": "https://github.com/benoitlahoz/assemblerjs/issues",
7
7
  "devDependencies": {
@@ -32,13 +32,19 @@
32
32
  "homepage": "https://github.com/benoitlahoz/assemblerjs#README",
33
33
  "keywords": [
34
34
  "composition",
35
+ "assemblage",
36
+ "assembler",
37
+ "agencement",
38
+ "multi",
39
+ "machine",
35
40
  "decorators",
36
41
  "dependency",
37
42
  "di",
38
43
  "injection",
39
44
  "reflection",
40
45
  "swc",
41
- "typescript"
46
+ "typescript",
47
+ "metadata"
42
48
  ],
43
49
  "license": "MIT",
44
50
  "main": "dist/index.js",