birdpack 1.0.4 → 1.0.5

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.
Files changed (2) hide show
  1. package/lib/method.js +2 -1
  2. package/package.json +1 -1
package/lib/method.js CHANGED
@@ -33,7 +33,8 @@ module.exports = {
33
33
 
34
34
  if(typeof callback !== 'function'){
35
35
  callback = (req, {load, file})=>{
36
- req.file(load, {
36
+ req.file({
37
+ file:load,
37
38
  error:(code, text)=>{
38
39
  error(req, code, text);
39
40
  }
package/package.json CHANGED
@@ -3,6 +3,6 @@
3
3
  "description": "BirdPack web framework is a tool for web server via TCP HTTP supporting websocket focusing on speed.",
4
4
  "author":"R938",
5
5
  "license":"R938",
6
- "version":"1.0.4",
6
+ "version":"1.0.5",
7
7
  "main": "index.js"
8
8
  }