@travetto/registry 8.0.0-alpha.22 → 8.0.0-alpha.24

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/package.json +14 -14
  2. package/src/store.ts +1 -3
package/package.json CHANGED
@@ -1,39 +1,39 @@
1
1
  {
2
2
  "name": "@travetto/registry",
3
- "version": "8.0.0-alpha.22",
4
- "type": "module",
3
+ "version": "8.0.0-alpha.24",
5
4
  "description": "Patterns and utilities for handling registration of metadata and functionality for run-time use",
6
5
  "keywords": [
7
6
  "ast-transformations",
8
- "registry",
9
7
  "metadata",
8
+ "real-time",
9
+ "registry",
10
10
  "travetto",
11
- "typescript",
12
- "real-time"
11
+ "typescript"
13
12
  ],
14
13
  "homepage": "https://travetto.io",
15
14
  "license": "MIT",
16
15
  "author": {
17
- "email": "travetto.framework@gmail.com",
18
- "name": "Travetto Framework"
16
+ "name": "Travetto Framework",
17
+ "email": "travetto.framework@gmail.com"
18
+ },
19
+ "repository": {
20
+ "url": "git+https://github.com/travetto/travetto.git",
21
+ "directory": "module/registry"
19
22
  },
20
23
  "files": [
21
24
  "__index__.ts",
22
25
  "src",
23
26
  "support"
24
27
  ],
28
+ "type": "module",
25
29
  "main": "__index__.ts",
26
- "repository": {
27
- "url": "git+https://github.com/travetto/travetto.git",
28
- "directory": "module/registry"
30
+ "publishConfig": {
31
+ "access": "public"
29
32
  },
30
33
  "dependencies": {
31
- "@travetto/runtime": "^8.0.0-alpha.22"
34
+ "@travetto/runtime": "^8.0.0-alpha.24"
32
35
  },
33
36
  "travetto": {
34
37
  "displayName": "Registry"
35
- },
36
- "publishConfig": {
37
- "access": "public"
38
38
  }
39
39
  }
package/src/store.ts CHANGED
@@ -9,9 +9,7 @@ export class RegistryIndexStore<A extends RegistryAdapter<{}> = RegistryAdapter<
9
9
  // Core data
10
10
  #adapters = new Map<Class, A>();
11
11
  #idToCls = new Map<string, Class>();
12
- #adapterCls: new (
13
- cls: Class
14
- ) => A;
12
+ #adapterCls: new (cls: Class) => A;
15
13
  #finalized = new Map<Class, boolean>();
16
14
 
17
15
  constructor(adapterCls: new (cls: Class) => A) {