Closed johannbuscail closed 1 week ago
Hi @johannbuscail, Thank you for raising this. We will check this issue and get back to you with a fix.
Thank you.
Hi @johannbuscail, I took a quick look and i was able to replicate the problem.
While i come up with a proper solution, I found that the below snippet works with deno. Please use it temporarily so that you can continue with your integration..
// Import All exported objects
import PaddleSDK from "npm:@paddle/paddle-node-sdk@1.2.2";
// Access `EventName`
if (eventData.eventType === PaddleSDK.EventName.SubscriptionCreated) {
console.log(eventData)
}
Please let me know if you need any other help. Thank you.
Hey, any update on a proper solution ?
Hi @johannbuscail, I am sorry, I don't have any updates on this issue. I should have a fix for this in a week or two.
Thank you.
Hi @johannbuscail,
I have made some changes to support deno
runtime and released a beta version (1.4.0-beta.0
).
Please test and let us know if it works for you.
I will let it stay in beta
tag for a while before moving it to the latest
tag.
Thank you.
Hi @johannbuscail,
I was looking into releasing this change to the latest
tag and realized that deno
has made some changes on version (1.43.0
) and our SDK works well without any change.
I am going to close this issue as it is working with the latest version of deno and will not port the changes to the latest
tag.
Please let us know if you need any other help.
Thank you.
What happened?
Hello, I'm using Paddle Webhooks & Supabase Edge Functions to manage my customers' billing. I want to use this SDK in the Webhooks which work with Deno.
I tried to import this module like any other npm module through:
This doesn't work and returns:
Steps to reproduce
EventName
enumWhat did you expect to happen?
Access the
EventName
in Paddle SDK on Edge Functions.Edit
I don't know if
EventName
is the only exported thing that's concerned (haven't tested other exports yet).