Closed prli closed 1 year ago
looking to use in an AWS lambda. the highest version of node runtime supported on AWS is node v16.
fetch used in Utils.ts only exists in node v18+ :(
fetch
Utils.ts
I end up with the following error
RefernceError: fetch is not defined
I have a working branch using node-fetch which works for node < 18 (tested on AWS lambda) but I think it breaks any existing consumers of the library since they need to install peerDependency node-fetch.
node-fetch
looking to use in an AWS lambda. the highest version of node runtime supported on AWS is node v16.
fetch
used inUtils.ts
only exists in node v18+ :(I end up with the following error