Skip to content

Commit

Permalink
add default export to support nodejs commonjs
Browse files Browse the repository at this point in the history
  • Loading branch information
saknarak committed Apr 10, 2023
1 parent 4d935dd commit ff31be8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ export * from './webauthn'
export * from './parsers'
export * from './validation'
*/
import * as client from './client.js';
import * as server from './server.js';
import * as parsers from './parsers.js';
import * as utils from './utils.js';

export * as client from './client.js';
export * as server from './server.js';
export * as parsers from './parsers.js';
export * as utils from './utils.js';


export { client, server, parsers, utils }
export default { client, server, parsers, utils }

0 comments on commit ff31be8

Please sign in to comment.