custom-module: add support for standard module export syntax
This commit is contained in:
parent
abdee0b223
commit
3c6f8b9581
3 changed files with 32 additions and 29 deletions
|
|
@ -9,6 +9,7 @@
|
|||
- custom module
|
||||
- expose shorthand functions `send` and `receives`
|
||||
- expose a client object instead of just an id in `app` event handlers to allow retrieving the client's ip address as well
|
||||
- custom modules can now be written like standard nodejs modules (using `module.exports` assignement instead of a self-invoking function pattern)
|
||||
|
||||
## 0.42.0
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue