bun icon indicating copy to clipboard operation
bun copied to clipboard

Bug in http module with Adyen Node SDK and the bun runner

Open rasmusbe opened this issue 1 year ago • 1 comments

What version of Bun is running?

1.0.25+a8ff7be64

What platform is your computer?

Darwin 23.2.0 arm64 arm

What steps can reproduce the bug?

When fetching data from Adyen API using the Node SDK via bun run I get this thrown https://github.com/Adyen/adyen-node-api-library/blob/main/src/httpClient/httpURLConnectionClient.ts#L151-L153

If I build the same code with bun build and then run the result with node it works.

What is the expected behavior?

No response

What do you see instead?

No response

Additional information

No response

rasmusbe avatar Jan 22 '24 16:01 rasmusbe

We are either missing the .complete property, or not updating it properly.

Electroid avatar Jan 22 '24 16:01 Electroid