Skip to content

Conversation

@parfeon
Copy link
Contributor

@parfeon parfeon commented Feb 26, 2025

fix(fetch): fix fetch issue with empty object rejection

Fix issue because of which code doesn't handle edge case when fetch reject with empty object and not Error.

refactor(presence): remove -pnpres entries from presence requests

Remove -pnpres channels and groups from presence leave and heartbeat requests.

Fix issue because of which code doesn't handle edge case when `fetch` reject with empty object and
not `Error`.

refactor(presence): remove `-pnpres` entries from presence requests

Remove `-pnpres` channels and groups from presence `leave` and `heartbeat` requests.
@parfeon parfeon added status: done This issue is considered resolved. priority: high This PR should be reviewed ASAP. type: fix This PR contains fixes to existing features. labels Feb 26, 2025
@parfeon parfeon self-assigned this Feb 26, 2025
Copy link
Contributor

@mohitpubnub mohitpubnub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Let's see whether tests detect anything off with this!?

message = 'Access denied';
}

if (typeof response === 'object' && Object.keys(response).length === 0) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

@parfeon
Copy link
Contributor Author

parfeon commented Feb 26, 2025

@pubnub-release-bot release

@parfeon parfeon merged commit b36cf02 into master Feb 26, 2025
6 of 7 checks passed
@parfeon parfeon deleted the CLEN-2568 branch February 26, 2025 08:35
@pubnub-release-bot
Copy link
Contributor

🚀 Release successfully completed 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority: high This PR should be reviewed ASAP. status: done This issue is considered resolved. type: fix This PR contains fixes to existing features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants