pusher/pusher-js
### [`v7.0.0`](https://togithub.com/pusher/pusher-js/blob/master/CHANGELOG.md#700-2020-07-30)
[Compare Source](https://togithub.com/pusher/pusher-js/compare/v6.0.3...v7.0.0)
[UPDATED] Type signatures for authorizer callback. Previously the authorizer
callback had 2 arguments, the first was a boolean indicating that the second
was an error. Switched for a more conventional `function(err, data)` signature.
**This is a breaking change, if you use a custom authorizer**
[UPDATED] Types of errors emitted on `pusher:subscription_error` events.
Previously this event just contained the status code the auth endpoint
returned. This was replaced with a (hopefully) more error object with a message
and a `status` key.
**This is a breaking change, if you depend on the status in the
`pusher:subscription_error` event**
[FIXED] Stop wrapping websocket errors multiple times. [Fixes issue
464](https://togithub.com/pusher/pusher-js/issues/464)
**This might be a breaking change, if you depend on the structure of `'error'` events
emitted by `pusher.connection`**
[FIXED] Stop swallowing errors thrown by handlers on encrypted channels.
Previously errors thrown by handlers bound to encrypted channels were caught
and ignored. This was unintentional and undesirable. [Fixes Issue
437](https://togithub.com/pusher/pusher-js/issues/437)
Renovate configuration
:date: Schedule: "before 3am on the first day of the month" (UTC).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
6.0.3
->7.0.0
Release Notes
pusher/pusher-js
### [`v7.0.0`](https://togithub.com/pusher/pusher-js/blob/master/CHANGELOG.md#700-2020-07-30) [Compare Source](https://togithub.com/pusher/pusher-js/compare/v6.0.3...v7.0.0) [UPDATED] Type signatures for authorizer callback. Previously the authorizer callback had 2 arguments, the first was a boolean indicating that the second was an error. Switched for a more conventional `function(err, data)` signature. **This is a breaking change, if you use a custom authorizer** [UPDATED] Types of errors emitted on `pusher:subscription_error` events. Previously this event just contained the status code the auth endpoint returned. This was replaced with a (hopefully) more error object with a message and a `status` key. **This is a breaking change, if you depend on the status in the `pusher:subscription_error` event** [FIXED] Stop wrapping websocket errors multiple times. [Fixes issue 464](https://togithub.com/pusher/pusher-js/issues/464) **This might be a breaking change, if you depend on the structure of `'error'` events emitted by `pusher.connection`** [FIXED] Stop swallowing errors thrown by handlers on encrypted channels. Previously errors thrown by handlers bound to encrypted channels were caught and ignored. This was unintentional and undesirable. [Fixes Issue 437](https://togithub.com/pusher/pusher-js/issues/437)Renovate configuration
:date: Schedule: "before 3am on the first day of the month" (UTC).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.