birdpack 1.0.20 → 1.1.0

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/websocket.js +2 -2
  2. package/package.json +1 -1
package/lib/websocket.js CHANGED
@@ -336,8 +336,8 @@ module.exports = class{
336
336
  }
337
337
  sendc = (text, opcode = 1, call) => {
338
338
  let encode = this.encode(text, opcode);
339
- this.userEach(async(user)=>{
340
- if(await call(user)){
339
+ this.userEach((user)=>{
340
+ if(call(user)){
341
341
  user.write(encode);
342
342
  }
343
343
  });
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.20",
6
+ "version":"1.1.0",
7
7
  "main": "index.js"
8
8
  }