@nattyjs/core 0.0.1-beta.43 → 0.0.1-beta.45

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/dist/index.cjs CHANGED
@@ -491,7 +491,7 @@ const entityContainer = new class {
491
491
  }
492
492
  getPropertyValidators(entityName, propName) {
493
493
  const entityInfo = this.entityConfig[entityName];
494
- const propertyInfo = entityInfo.properties[propName];
494
+ const propertyInfo = entityInfo ? entityInfo.properties[propName] : void 0;
495
495
  return propertyInfo ? propertyInfo.validators : {};
496
496
  }
497
497
  getProperties(entityName) {
package/dist/index.mjs CHANGED
@@ -489,7 +489,7 @@ const entityContainer = new class {
489
489
  }
490
490
  getPropertyValidators(entityName, propName) {
491
491
  const entityInfo = this.entityConfig[entityName];
492
- const propertyInfo = entityInfo.properties[propName];
492
+ const propertyInfo = entityInfo ? entityInfo.properties[propName] : void 0;
493
493
  return propertyInfo ? propertyInfo.validators : {};
494
494
  }
495
495
  getProperties(entityName) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nattyjs/core",
3
- "version": "0.0.1-beta.43",
3
+ "version": "0.0.1-beta.45",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "author": "ajayojha",
@@ -18,7 +18,7 @@
18
18
  "reflect-metadata": "0.2.2",
19
19
  "tsyringe": "^4.7.0",
20
20
  "path-to-regexp": "6.2.1",
21
- "@nattyjs/common": "0.0.1-beta.43"
21
+ "@nattyjs/common": "0.0.1-beta.45"
22
22
  },
23
23
  "devDependencies": {
24
24
  "unbuild": "1.2.1"