This PR ensures we support both ESM and CJS. To achieve that, we downgraded node-fetch to v2. As a consequence of that, we had to juggle a little with the types.
You'll notice there is still an any involved with the users property on the payload to import users. It works, but we will need to figure out the types.
On top of that, there are also a couple of minor changes.
Changes
This PR ensures we support both ESM and CJS. To achieve that, we downgraded node-fetch to v2. As a consequence of that, we had to juggle a little with the types.
You'll notice there is still an
any
involved with theusers
property on the payload to import users. It works, but we will need to figure out the types.On top of that, there are also a couple of minor changes.
Checklist