-
Notifications
You must be signed in to change notification settings - Fork 8
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
[Feature]: Support Cloudflare #9
Comments
Hi @mw10013, We will do some testing and get back to you. Thank you. |
Hi @mw10013, As a strategic solution, We have updated the package to export both CommonJS and ESM format so that the build systems can pick up the appropriate format. We have released a beta version Please use the new version and let us know how it goes. Thank you. |
@vijayasingam-paddle |
Tell us about your feature request
Tweak
paddle-node-sdk
so that it runs on Cloudflare.What problem are you looking to solve?
paddle-node-sdk does not run on Cloudflare because it imports
crypto
without anode:
prefix. Node.js compatibility in Cloudflare requires thenode:
prefix per https://developers.cloudflare.com/workers/runtime-apis/nodejs/paddle-node-sdk
is cjs andnode:crypto
on Cloudflare seems to be esm. Cjs must use a dynamic import to import esm.Additional context
No response
How important is this suggestion to you?
Critical
The text was updated successfully, but these errors were encountered: