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

add support for browser #58

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

add support for browser #58

wants to merge 2 commits into from

Conversation

cre8
Copy link

@cre8 cre8 commented Jan 3, 2024

The base64Url file was updated so it is using the TextEncoder and TextDecoder when dealing with encoded urls or to generate them.

For string encoding this approach is fine. But since this approach only supports utf-8 encoding there could be some limitations for some use cases.
The implementation of window.atob and window.btoa are no alternative since they also only support encoding for strings.

Signed-off-by: Mirko Mollik <[email protected]>
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.

1 participant