@nattyjs/core 0.0.1-beta.50 → 0.0.1-beta.52
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 +0 -2
- package/dist/index.mjs +0 -2
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -644,8 +644,6 @@ class ParameterTypeConverter extends BaseResponse {
|
|
|
644
644
|
const sanitizeValue = this.sanitizer[property.type.toLowerCase()] ? this.sanitizer[property.type.toLowerCase()](value) : value;
|
|
645
645
|
if (sanitizeValue === INVALID_VALUE)
|
|
646
646
|
json.invalidProps[property.name] = getTypedErrorMessage(property.type, value);
|
|
647
|
-
else
|
|
648
|
-
json.body[property.name] = sanitizeValue;
|
|
649
647
|
}
|
|
650
648
|
convert(methodInfo, jObject) {
|
|
651
649
|
for (const parameterInfo of methodInfo.parameters) {
|
package/dist/index.mjs
CHANGED
|
@@ -642,8 +642,6 @@ class ParameterTypeConverter extends BaseResponse {
|
|
|
642
642
|
const sanitizeValue = this.sanitizer[property.type.toLowerCase()] ? this.sanitizer[property.type.toLowerCase()](value) : value;
|
|
643
643
|
if (sanitizeValue === INVALID_VALUE)
|
|
644
644
|
json.invalidProps[property.name] = getTypedErrorMessage(property.type, value);
|
|
645
|
-
else
|
|
646
|
-
json.body[property.name] = sanitizeValue;
|
|
647
645
|
}
|
|
648
646
|
convert(methodInfo, jObject) {
|
|
649
647
|
for (const parameterInfo of methodInfo.parameters) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nattyjs/core",
|
|
3
|
-
"version": "0.0.1-beta.
|
|
3
|
+
"version": "0.0.1-beta.52",
|
|
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.
|
|
21
|
+
"@nattyjs/common": "0.0.1-beta.52"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"unbuild": "1.2.1"
|