@based/server
Advanced tools
Comparing version 6.1.1 to 6.2.0
@@ -22,3 +22,6 @@ "use strict"; | ||
try { | ||
parsedData = data.byteLength ? JSON.parse(str) : undefined; | ||
if (data.byteLength) { | ||
parsedData = JSON.parse(str); | ||
ctx.session.rawBody = str; | ||
} | ||
return parsedData; | ||
@@ -25,0 +28,0 @@ } |
{ | ||
"name": "@based/server", | ||
"version": "6.1.1", | ||
"version": "6.2.0", | ||
"license": "MIT", | ||
@@ -31,3 +31,3 @@ "main": "./dist/index.js", | ||
"mime-types": "^2.1.31", | ||
"@based/functions": "^2.0.1" | ||
"@based/functions": "^2.1.0" | ||
}, | ||
@@ -34,0 +34,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
440336
6647
Updated@based/functions@^2.1.0