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

getSecuredApiKeyRemainingValidity is not available in browser bundle #1493

Open
AlexMeah opened this issue Dec 5, 2023 · 2 comments
Open

Comments

@AlexMeah
Copy link

AlexMeah commented Dec 5, 2023

I am trying to implement automatic key refresh using getSecuredApiKeyRemainingValidity but the function only exported in the node bundle.

Would you accept a PR to make getSecuredApiKeyRemainingValidity work in the browser?

@Haroenv
Copy link
Contributor

Haroenv commented Dec 5, 2023

Officially this module still supports down to IE11, but as the method would be newly added to browser bundles I think it should be ok. What method do you have in mind that's isomorphic?

@AlexMeah
Copy link
Author

AlexMeah commented Dec 6, 2023

Depending on what Node versions you support atob landed as a global in v16 nodejs/node#37786 and is compatible back to IE10.

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

No branches or pull requests

2 participants