Skip to content

v5.0.1

Choose a tag to compare

@thethp thethp released this 11 Jun 18:53
· 23 commits to main since this release
415363a

Fixed

  • triggerBroadcast now treats data and recipients as optional, matching the documented API. Calling with only a broadcast id no longer throws a TypeError, and empty data / recipients objects are omitted from the request payload instead of producing a 422 (empty recipients filter is not valid) from the API — so api.triggerBroadcast(id) sends the broadcast to its configured recipients. The parameters are positional: to pass recipients without data, use triggerBroadcast(id, undefined, recipients). (#220)