Current Behavior
When importing the library, I am getting udefined error.
Examples:
import didJWT from 'did-jwt';
ERROR [TypeError: _didJwt.default.EdDSASigner is not a function (it is undefined)]
import { EdDSASigner, createJWT } from 'did-jwt';
ERROR [TypeError: 0, _didJwt.EdDSASigner is not a function (it is undefined)]
I also tried with require, and import * from, but I always get the undefined error.
In did-jwt 6.10.0 I am able to import the library like this:
import didJWT from 'did-jwt/dist/did-jwt.js';
But that type of import is not allowed in 7.x and 8.x branches.
Expected Behavior
Being able to import the library in a React Native Expo project.