Skip to content

Releases: ipoddubny/ya-node-asterisk

v1.2.4

05 Mar 13:09

Choose a tag to compare

What's Changed

  • Fix typescript interface recursion by @xorus in #19

New Contributors

  • @xorus made their first contribution in #19

Full Changelog: v1.2.3...v1.2.4

1.1.2

08 Sep 15:07

Choose a tag to compare

Set TCP socket options for nodelay and keep-alives

1.1.1

08 Sep 10:00

Choose a tag to compare

Fixed an EventEmitter leak on reconnect.

1.1.0

27 Aug 13:29

Choose a tag to compare

  • Minor fixes
  • Added a test suite

1.0.0

20 Aug 14:57

Choose a tag to compare

Breaking API changes:

  • connect, send and disconnect return JS promises
  • callback to send is now called only once, and must follow the node convention (err, res)
  • send expects object keys to be in lower case
  • keys in events and results of send are always converted to lower case
  • events option is not a boolean anymore but a string, allowing to connect with selective event subscription
  • actions returning event lists are automatically collected into eventlist property (pre-13 Asterisks are also supported)
  • Command action output is collected into output property for compatibility with Asterisk 14 and newer (previously, it was CMD)
  • all returned errors are instances of Error
  • re-connection is not attempted if the initial connection fails