Tags: pubnub/javascript
Tags
react-native: use fast-text-encoding and remove outdated text-encodin… …g polyfill (#487) * use `fast-text-encoding` for react native instead outdated `fast-encoding` * PubNub SDK v10.2.5 release. --------- Co-authored-by: Mohit Tejani <mohit.tejani@Mohits-MacBook-Pro.local> Co-authored-by: PubNub Release Bot <120067856+pubnub-release-bot@users.noreply.github.com>
refactor: avoid re subscribe for already subscribed entities (#486) * refactor: prevent event engine state transition when subsequent subscribe request contain existing channels or groups * lib/dist updates * refactor: remove filter for presence channels from subscriptionChanged status event in re-subscribe scenario * PubNub SDK v10.2.4 release. --------- Co-authored-by: Mohit Tejani <mohit.tejani@Mohits-MacBook-Pro.local> Co-authored-by: PubNub Release Bot <120067856+pubnub-release-bot@users.noreply.github.com>
refactor/use 'fcm' instead 'gcm' for push notification service (#484) * replace `gcm` with `fcm` for push notification gateway type. since google stopped supporting gcm * replaced `pn_gcm` with `pn_fcm` for push notification payload builder utility * update lib and dist * PubNub SDK v10.2.2 release. --------- Co-authored-by: Mohit Tejani <mohit.tejani@Mohits-MacBook-Pro.local> Co-authored-by: PubNub Release Bot <120067856+pubnub-release-bot@users.noreply.github.com>
fix: expose File construct for web target (#483) * expose pubnub.File for target specific file handling construct * test for web to confirm access to File * update dist/lib * update .npmignore * PubNub SDK v10.2.1 release. --------- Co-authored-by: Mohit Tejani <mohit.tejani@Mohits-MacBook-Pro.local> Co-authored-by: PubNub Release Bot <120067856+pubnub-release-bot@users.noreply.github.com>
fix: presence event engine internal state sync (#479) fix: presence event engine internal state sync when unsubscribed feat(react-native) restore legacy crypto module support for React Native target refactor(presence): temporarily remove `offset` --------- Co-authored-by: Mohit Tejani <mohit.tejani@Mohits-MBP.lan> Co-authored-by: Mohit Tejani <mohit.tejani@Mohits-MacBook-Pro.local> Co-authored-by: Serhii Mamontov <sergey@pubnub.com>
Send new presence `state` to the `SharedWorker` and fix newer access … …token override (#473) fix(shared-worker): fix newer access token override Fix issue because of which requests aggregated from other clients were able to override previously explicitly set newer access token. feat(presence-state): send new presence `state` to the `SharedWorker` Send new presence `state` to the `SharedWorker` as soon as it has been set with `setState` to avoid race conditions between regular heartbeats and `backup` heartbeats. refactor(shared-worker): exclude presence `state` from long-poll subscribe request Remove presence `state` from long-poll subscribe requests as part of the transition to explicit heartbeat.
`SharedWorker` refactor (#471) refactor(shared-worker): reorganize `SharedWorker` code Decouple and re-organize `SharedWorker` code for better maintainability. perf(shared-worker): improved subscription state refresh logic Additional query parameter (removed before sending) is added for requests triggered by user and state will be updated only for these requests. refactor(logger): avoid similar timestamp in sequential lines Log entry timestamp will be altered on millisecond if multiple log entries have similar timestamp (logged in fraction of nanoseconds). refactor(shared-worker): change condition for stalled `ping` timer Change the condition that is used to identify whether the `offline` detection timer has been suspended by the browser or not before trying to evict "offline" PubNub clients. --------- Co-authored-by: Mohit Tejani <mohit.tejani@Mohits-MacBook-Pro.local>
PreviousNext