auth0 / node-auth0

Node.js client library for the Auth0 platform.
MIT License
628 stars 307 forks source link

Export models that are using in the runtime #954

Closed frederikprijck closed 11 months ago

frederikprijck commented 11 months ago

Changes

lib/models.js isn't exported, resulting in things like ApiResponse to not be exported. I figured we should be able to export everything in this file.

Checklist

SeanBarry commented 10 months ago

Hey @adamjmcgrath @frederikprijck. I noticed this issue - the inability to import the ApiResponse type and ended up finding this PR.

Do you know when a new version will be released that includes this change?

For some reason when I try to install this package at the commit hash that the fix was introduced at, the package isn't installed correctly, I just see the readme, license and package.json file. As such, I'm not able to workaround and I'm just using any until a release is available with this change included.

Cheers

Screenshot 2023-10-18 at 23 33 38
frederikprijck commented 10 months ago

Hey, it's on our radar but blocked by something we need as part of the release. Most likely early next week, but will see if i can get it out this week, apologies.

SeanBarry commented 10 months ago

No worries, thanks for the reply & the help. 👍