expo-stripe-payments-with-supabase-functions
expo-stripe-payments-with-supabase-functions copied to clipboard
Stripe types not imported via esm.sh
Importing the Stripe library results in the stripe client being typed as any.
I've tried as many combinations of esm.sh imports for Stripe as I can, including the one referenced in this example and the stripe client is always cast to any.
I realize this may be more of a Stripe issue than a Supabase issue, but given the helpfulness of the Supabase squad, I figured I'd ask here in case anyone has any good pointers on how to get a typed Stripe client in Supabase functions 😃

I'm currently also not sure why that's happening. I see you've also opened this issue here: https://github.com/stripe-samples/stripe-node-deno-samples/issues/2. I'll check with the Stripe folks in their Discord.
Discussing with the Stripe team here: https://discord.com/channels/841573134531821608/841573134531821616/1049880424949764168
As mentioned here this will be resolved once Deno Deploy supports npm module compatibility mode.
Hi 👋 This issue is still present in v12.11.0