Closed do4Mother closed 1 year ago
👋 @do4Mother I believe the root of the issue is that Deno is a modern runtime for JavaScript and TypeScript
, and this library doesn't support Typescript yet (see #176).
Since we don't develop the Deno library, we can't really offer much support, but maybe the Deno community might be able to offer some help for interacting with libraries that don't yet have Typescript support. I did see they have a --no-check
option in their docs that might skip type checking.
I'm going to close this issue since we're tracking the root cause (Typescript support) in the issue previously mentioned.
My guess is that Deno's version of the http/https modules don't include a setTimeout
function. https://github.com/braintree/braintree_node/blob/451e665f3a87de88f99281db225f0d9b99cbe33a/lib/braintree/http.js#L4-L5
General information
Issue description
i'm having trouble integrating Braintree payments using Deno. When I try to create a transaction with a payment method and create a customer. I get an error from the log like this.
and here it's my source code