passport-sdk icon indicating copy to clipboard operation
passport-sdk copied to clipboard

docs: Clarity improvement on reader usage

Open lucianHymer opened this issue 1 year ago • 0 comments

PassportReader doesn't have a default export, so you need to either just import { PassportReader } or do something like reader.PassportReader

I updated the README to use the former. As written in the README currently, a user could get the following error: TypeError: PassportReader is not a constructor

lucianHymer avatar Dec 15 '22 19:12 lucianHymer