New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pubnub

Package Overview
Dependencies
Maintainers
7
Versions
245
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pubnub - npm Package Versions

2345
25

9.3.0

Diff
client-engineering-bot
published 9.3.0 •
client-engineering-bot
published 9.2.0 •
client-engineering-bot
published 9.1.0 •

Changelog

Source

v9.1.0

March 13 2025

Added
  • SubscriptionSet will re-add listener every time when Subscription or SubscriptionSet added to it - this will let receive updates from newly added subscribe capable objects.
Fixed
  • Fix issue because of errors returned by fetch taken from iframe (to protect against monkey-patching by APM packages) was't handled as Error.
Modified
  • Use access token (auth key) content instead of base64 encoded token to identify PubNub clients, which can be used for requests aggregation.
client-engineering-bot
published 9.0.0 •

Changelog

Source

v9.0.0

March 10 2025

Added
  • BREAKING CHANGES: SubscriptionSet will subscribe / unsubscribe added / removed Subscription or SubscriptionSet objects if the set itself already subscribed.
Fixed
  • Fix issue because of which throttle didn't consider difference in client settings (throttled only by user ID and subscribe key, which is not enough).
  • With the fix, smart heartbeat as feature has been added to the SDK, and it is disabled by default.
client-engineering-bot
published 8.10.0 •

Changelog

Source

v8.10.0

March 06 2025

Added
  • Add useSmartHeartbeat configuration option which allows ignoring implicit heartbeat (with successful subscribe response) and keep sending heartbeat calls with fixed intervals.
  • subscriptionWorkerOfflineClientsCheckInterval configuration option can be used to configure the interval at which “offline” PubNub clients (when tab closed) detection will be done.
  • subscriptionWorkerUnsubscribeOfflineClients configuration option can be used to force unsubscribe (presence leave) for “offline” PubNub clients (when tab closed).
client-engineering-bot
published 8.9.1 •

Changelog

Source

v8.9.1

February 26 2025

Fixed
  • Fix issue because of which code doesn't handle edge case when fetch reject with empty object and not Error.
Modified
  • Remove -pnpres channels and groups from presence leave and heartbeat requests.
client-engineering-bot
published 8.9.0 •

Changelog

Source

v8.9.0

February 18 2025

Added
  • Emit 'PNDisconnectedUnexpectedlyCategory' in cases when client receives bad request or unexpected / malformed service response.
Modified
  • Move error / malformed response handling into AbstractRequest to simplify actual endpoint classes.
client-engineering-bot
published 8.8.1 •

Changelog

Source

v8.8.1

February 10 2025

Fixed
  • Fix issue because of which APM fix worked only when the client has been configured with logVerbosity: true.
client-engineering-bot
published 8.8.0 •

Changelog

Source

v8.8.0

February 05 2025

Added
  • For the browser version of PubNub SDK, add the ability to switch between fetch and xhr APIs (transport configuration option).
Fixed
  • Fix issue because of which, in Event Engine mode, wrong timeout values have been set for requests which create long-poll request.
Modified
  • Refactor timeout implementation for fetch transport to properly cancel request when the timeout timer will fire.
client-engineering-bot
published 8.7.1 •

Changelog

Source

v8.7.1

January 31 2025

Fixed
  • Fix long-poll request cancellation caused by APM packages monkey patching 'fetch' and try to use 'native' implementation instead of patched.
2345
25