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
Hi @leunamcrack ! I think we broke your library when we moved the job queue onto a new token format. We emulated the old API, but your code does validation against the token prefixes. We'll need to modify your code to treat the tokens as opaque strings and it should work.
The text was updated successfully, but these errors were encountered:
Changing it to /^(?:JT?INF[:_](?:[a-z0-9]){26,27})$/i fixed the issue for me. Not sure if this is the best regex for the most recent FakeYou token format, but it works.
I created a pull request #4 that uses @mchernoff's constant and fixes the issue.
I'm not sure how long if it will take a while to get merged or not, so I may upload a forked package to npm in the meantime. So for anyone coming here check out my fork if this repo if the change hasn't been merged yet.
Hi @leunamcrack ! I think we broke your library when we moved the job queue onto a new token format. We emulated the old API, but your code does validation against the token prefixes. We'll need to modify your code to treat the tokens as opaque strings and it should work.
The text was updated successfully, but these errors were encountered: