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

Compatibility with edge runtimes (Web API) #1154

Open
typeofweb opened this issue May 7, 2023 · 1 comment
Open

Compatibility with edge runtimes (Web API) #1154

typeofweb opened this issue May 7, 2023 · 1 comment
Labels
do not stale Feature New feature or request

Comments

@typeofweb
Copy link

Is your feature request related to a problem? Please describe.
I'd like to use adyen nodejs library in edge runtimes, for example Vercel (Next.js). Unfortunately, some functions in Adyen nodejs library cannot be used in edge runtimes. For instance, node:crypto package is not available and global crypto should be used instead.

Describe the solution you'd like
Make sure all apis are compatible with edge runtimes (Web API).

Additional context

@wboereboom wboereboom added the Feature New feature or request label Jul 4, 2023
@wboereboom
Copy link
Contributor

Hi @mmiszy ,
Thanks for requesting this feature.
If I understand correctly, we would have to move to Node version greater than or equal to 19 in order to ensure a global crypto object is available.

This migration is currently not on our roadmap.

Is there any other way we can accommodate for the features you require?

Kind Regards,
Wouter
Adyen

@DjoykeAbyah DjoykeAbyah changed the title [FEATURE] Compatibility with edge runtimes (Web API) Compatibility with edge runtimes (Web API) Jun 6, 2024
@DjoykeAbyah DjoykeAbyah changed the title Compatibility with edge runtimes (Web API) ECP-9266 : Compatibility with edge runtimes (Web API) Jun 6, 2024
@DjoykeAbyah DjoykeAbyah changed the title ECP-9266 : Compatibility with edge runtimes (Web API) Compatibility with edge runtimes (Web API) Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do not stale Feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants