@worldsibu/convector-core-controller
Advanced tools
Comparing version 1.3.9-0-alpha.77629755 to 1.3.9-0-alpha.013419ca
@@ -27,3 +27,3 @@ "use strict"; | ||
var _this = this; | ||
var internalCall, schemas, optionals_1, namespace, ctx, e_1, error; | ||
var internalCall, schemas, optionals_1, namespace, ctx, response, e_1, error; | ||
return tslib_1.__generator(this, function (_a) { | ||
@@ -95,3 +95,5 @@ switch (_a.label) { | ||
return [4, fn.call.apply(fn, [ctx].concat(args))]; | ||
case 4: return [2, _a.sent()]; | ||
case 4: | ||
response = _a.sent(); | ||
return [2, typeof response === 'object' ? JSON.parse(JSON.stringify(response)) : response]; | ||
case 5: | ||
@@ -98,0 +100,0 @@ e_1 = _a.sent(); |
@@ -5,3 +5,2 @@ "use strict"; | ||
require("reflect-metadata"); | ||
var isSchema = function (schema) { return 'validate' in schema; }; | ||
exports.optionalMetadataKey = g.ConvectorOptionalParamMetadataKey || Symbol('optional-param'); | ||
@@ -8,0 +7,0 @@ g.ConvectorOptionalParamMetadataKey = exports.optionalMetadataKey; |
{ | ||
"name": "@worldsibu/convector-core-controller", | ||
"version": "1.3.9-0-alpha.77629755", | ||
"version": "1.3.9-0-alpha.013419ca", | ||
"description": "Convector Controller base class", | ||
@@ -53,4 +53,4 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@worldsibu/convector-core-errors": "1.3.9-0-alpha.77629755", | ||
"@worldsibu/convector-core-model": "1.3.9-0-alpha.77629755", | ||
"@worldsibu/convector-core-errors": "1.3.9-0-alpha.013419ca", | ||
"@worldsibu/convector-core-model": "1.3.9-0-alpha.013419ca", | ||
"tslib": "^1.9.0", | ||
@@ -57,0 +57,0 @@ "window-or-global": "^1.0.1", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
32092
233
+ Added@types/cls-hooked@4.3.8(transitive)
+ Added@types/node@20.14.8(transitive)
+ Added@worldsibu/convector-core-errors@1.3.9-0-alpha.013419ca(transitive)
+ Added@worldsibu/convector-core-model@1.3.9-0-alpha.013419ca(transitive)
+ Added@worldsibu/convector-core-storage@1.3.9-0-alpha.013419ca(transitive)
+ Addedundici-types@5.26.5(transitive)
- Removed@worldsibu/convector-core-errors@1.3.9-0-alpha.77629755(transitive)
- Removed@worldsibu/convector-core-model@1.3.9-0-alpha.77629755(transitive)
- Removed@worldsibu/convector-core-storage@1.3.9-0-alpha.77629755(transitive)
Updated@worldsibu/convector-core-errors@1.3.9-0-alpha.013419ca
Updated@worldsibu/convector-core-model@1.3.9-0-alpha.013419ca