perfood / couch-auth

Powerful authentication for APIs and apps using CouchDB (or Cloudant) with Node >= 14
MIT License
66 stars 19 forks source link

Incorrect type for `SlLoginSession.profile` #78

Open jbgtmartin opened 11 months ago

jbgtmartin commented 11 months ago

Hi,

I think that in the typings the type of SlLoginSession.profile should be any instead of string. SlUserDoc.profile is of type any (which I think is correct), and SlLoginSession.profile is copied from SlUserDoc.profile in User.createSession(), so it should have the same type.