Skip to content

Commit

Permalink
fix: backport default exports
Browse files Browse the repository at this point in the history
  • Loading branch information
yeojz committed May 26, 2019
1 parent 6c5dff1 commit dc2e1f3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/otplib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@ hotp.defaultOptions = { crypto };
totp.defaultOptions = { crypto };

export { authenticator, hotp, totp };
export default {
authenticator,
hotp,
totp
};

0 comments on commit dc2e1f3

Please sign in to comment.