Wrong node-fetch import in Fetcher
My nextJS API is failing that import require("node-fetch") is not a function. It needs to be imported as require("node-fetch").default in Fetcher.
One possible fix would be require("node-fetch")?.default ?? require("node-fetch")
Good catch @jakubchadim. I'm able to reproduce this; we've got it on our radar to bump some dependencies that should fix this issue for a future release of this SDK.
Hey @jakubchadim - this should be addressed in v2.3.5, mind trying it out when you get a chance?
Closing, but feel free to re-open if you're still having issues after upgrading to the latest SDK version above!