Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: relax validation rules for major in beacons #158

Merged

Conversation

AbdelrahmanHafez
Copy link
Contributor

@AbdelrahmanHafez AbdelrahmanHafez commented Aug 13, 2023

Description

Fixes #157
This PR relaxes major validation in beacons.

Check relevant checkboxes

  • I've run tests (through npm test) and they passed
  • I generated a working Apple Wallet Pass after the change
  • Provided examples keep working after the change
  • This improvement is or might be a breaking change

Relevant information

Look at #157 for more information about the issue.
Example of a working pass: https://file.io/f1XIkfUuzC96

@alexandercerutti
Copy link
Owner

Can you please use the proposed template shown when opening a PullRequest?
You can also find it here: https://raw.githubusercontent.com/alexandercerutti/passkit-generator/master/.github/pull_request_template.md

Thank you!

@AbdelrahmanHafez
Copy link
Contributor Author

@alexandercerutti
I fixed the description, thanks!

@AbdelrahmanHafez AbdelrahmanHafez changed the title fix: relax validation rules for \major\ in beacons fix: relax validation rules for major in beacons Aug 13, 2023
Copy link
Owner

@alexandercerutti alexandercerutti left a comment

Choose a reason for hiding this comment

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

LGTM! Will merge asap.

@alexandercerutti alexandercerutti merged commit ab1aaeb into alexandercerutti:master Aug 15, 2023
1 of 7 checks passed
@alexandercerutti
Copy link
Owner

Released in v3.1.11 🎉

Thank you very much @AbdelrahmanHafez! If you could leave a ⭐️ on the project, that would be awesome!

@AbdelrahmanHafez AbdelrahmanHafez deleted the relax-validation branch August 16, 2023 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Beacon minor/major validation is stricter than needed
2 participants