deep-core
Advanced tools
Comparing version 1.2.3 to 1.2.4
@@ -7,5 +7,2 @@ /** | ||
/** | ||
* Request received by the lambda context | ||
*/ | ||
Object.defineProperty(exports, '__esModule', { | ||
@@ -17,4 +14,14 @@ value: true | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } | ||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } | ||
var _qs = require('qs'); | ||
var _qs2 = _interopRequireDefault(_qs); | ||
/** | ||
* Request received by the lambda context | ||
*/ | ||
var Request = (function () { | ||
@@ -25,6 +32,8 @@ /** | ||
function Request(data) { | ||
function Request() { | ||
var data = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0]; | ||
_classCallCheck(this, Request); | ||
this._data = data || {}; | ||
this._data = typeof data === 'object' ? _qs2['default'].parse(data) : data; | ||
@@ -31,0 +40,0 @@ this._registerDataAsParams(); |
{ | ||
"name": "deep-core", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "DEEP Core Library", | ||
@@ -60,3 +60,5 @@ "keywords": [ | ||
}, | ||
"dependencies": {}, | ||
"dependencies": { | ||
"qs": "^5.2.x" | ||
}, | ||
"devDependencies": { | ||
@@ -63,0 +65,0 @@ "chai": "^3.2.x", |
95119
1940
1