You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
Export the internal validateReaction function (which normalizes and checks against the whitelist) so users can validate reaction strings in their own code.
Acceptance Criteria:
Function validateReaction(reaction: string) is exported from the package.
It returns a normalized version of the reaction if valid.
It throws an error with a clear message if the reaction is not allowed.
The function respects the plugin's case sensitivity and whitelist options.
Feature: Export
validateReactionHelperDescription:
Export the internal
validateReactionfunction (which normalizes and checks against the whitelist) so users can validate reaction strings in their own code.Acceptance Criteria:
validateReaction(reaction: string)is exported from the package.