custom-module: add support for standard module export syntax

This commit is contained in:
jean-emmanuel 2019-03-20 19:58:27 +01:00
parent abdee0b223
commit 3c6f8b9581
3 changed files with 32 additions and 29 deletions

View file

@ -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