Tags: pubnub/javascript
Tags
Fix/prevent retry for non retryable 404 status code (#488) * exclude 404 from retryable * update branch * refactor(error): add error description for HTTP 404 status code * test: appcontext response with 404 * fix lint issue * text enhancement to check retry would not take place, add dist/lib updated * refactor: test, to verify retry not happening on 404 * PubNub SDK v10.2.6 release. --------- Co-authored-by: Mohit Tejani <[email protected]> Co-authored-by: Serhii Mamontov <[email protected]> Co-authored-by: PubNub Release Bot <[email protected]>
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 <[email protected]> Co-authored-by: PubNub Release Bot <[email protected]>
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 <[email protected]> Co-authored-by: PubNub Release Bot <[email protected]>
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 <[email protected]> Co-authored-by: PubNub Release Bot <[email protected]>
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 <[email protected]> Co-authored-by: PubNub Release Bot <[email protected]>
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 <[email protected]> Co-authored-by: Mohit Tejani <[email protected]> Co-authored-by: Serhii Mamontov <[email protected]>
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.
PreviousNext