Skip to content

Conversation

@parfeon
Copy link
Contributor

@parfeon parfeon commented Apr 15, 2025

fix(interface): add missing new retry policy as static field of PubNub

Add missing NoneRetryPolicy static field for PubNub class.

refactor(retry-policy): change None retry policy to function

RetryPolicy.None exported as a function to not affect tree-shaking and modules exclusion possibilities.

Add missing `NoneRetryPolicy` static field for `PubNub` class.

refactor(retry-policy): change `None` retry policy to function

`RetryPolicy.None` exported as a function to not affect tree-shaking and modules exclusion
possibilities.
@parfeon parfeon added status: done This issue is considered resolved. priority: medium This PR should be reviewed after all high priority PRs. type: fix This PR contains fixes to existing features. labels Apr 15, 2025
@parfeon parfeon self-assigned this Apr 15, 2025
return true;
},
};
static None(): RequestRetryPolicy {
Copy link
Contributor

Choose a reason for hiding this comment

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

good docs catch

@parfeon
Copy link
Contributor Author

parfeon commented Apr 15, 2025

@pubnub-release-bot release

@parfeon parfeon merged commit fc389df into master Apr 15, 2025
7 checks passed
@parfeon parfeon deleted the fix/add-missing-static-for-none-retry branch April 15, 2025 10:41
@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: medium This PR should be reviewed after all high priority PRs. 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