Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pusher-js

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pusher-js - npm Package Versions

1
6

7.0.2

Diff

Changelog

Source

7.0.2 (2020-11-26)

[FIXED] Removes AuthInfo type from react-native and with-encryption builds. This type was removed everywhere else in v7.0.0. See issue 512

pusherapp
published 7.0.1 •

Changelog

Source

7.0.1 (2020-11-02)

[FIXED] Channels no longer get stuck in the subscriptionPending state after a failed request to an auth endpoint. Fixes Issue 255

pusherapp
published 7.0.0 •

Changelog

Source

7.0.0 (2020-07-30)

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

pusherapp
published 6.0.3 •

Changelog

Source

6.0.3 (2020-05-14)

[FIXED] Added typescript declarations for the pusher-js/with-encryption build

[REMOVED] Unnecessary dummy tweetnacl types for react-native (thanks to @dmitrybirin)

[UPDATED] Copyright years (thanks to @annzenkina)

pusherapp
published 6.0.2 •

Changelog

Source

6.0.2 (2020-04-30)

[FIXED] React-native import broken in release 6.0.1

pusherapp
published 6.0.1 •

Changelog

Source

6.0.1 (2020-04-30)

[CHANGED] Moved tweetnacl from devDependencies to dependencies. No additional code is included in the bundle, but this gives the typescript compiler access to the tweetnacl types

[FIXED] Typescript declarations for react-native. These were supposed to be included in 6.0.0 but the commit was missed

pusherapp
published 6.0.0 •

Changelog

Source

6.0.0 (2020-04-27)

[CHANGED] The default builds for web and worker no longer support encrypted channels. To use encrypted channels in web/worker you must import pusher-js/with-encryption or use the pusher-with-encryption.js/pusher-with-encryption.min.js bundles

[CHANGED] forceTLS now defaults to true

[REMOVED] the encrypted option - this was deprecated in 4.3.0. The library defaults to TLS anyway. Setting encrypted to false will NOT change behaviour

[FIXED] activityTimeout and pongTimeout options now work as described in the docs.

[NEW] Typescript declarations for react-native

[NEW] Support for encrypted-channels in react-native and workers

pusherapp
published 5.1.1 •

Changelog

Source

5.1.1 (2020-02-12)

[FIXED] An issue with typescript declarations which caused builds to fail on typescript projects dependent on pusher-js

pusherapp
published 5.1.0 •

Changelog

Source

5.1.0 (2020-02-11)

[NEW] Include typescript declarations

[CHANGED] Make stats opt in rather than opt out - Previously we sent some metrics about connection strategies to stats.pusher.com by default, it could be disabled by passing the disableStats option. This functionality is now off by default and can be enabled by passing the enableStats option

[FIXED] An issue where local tests would hang for 300s if a browser wasn't available

pusherapp
published 5.0.3 •

Changelog

Source

5.0.3 (2019-11-18)

[NEW] Log a warning when there is an auth error

[CHANGED] Default logger now uses console.warn and console.error

[CHANGED] Improved log messages

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc