Skip to content

Commit

Permalink
fix: add back webAuthn export path (redwoodjs#6903)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtoar authored Nov 16, 2022
1 parent fd8229c commit 97c36e1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/auth-providers-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
"dist",
"webAuthn"
],
"scripts": {
"build": "yarn build:js && yarn build:types",
Expand Down
2 changes: 2 additions & 0 deletions packages/auth-providers-web/webAuthn/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/* eslint-env es6, commonjs */
module.exports = require('../dist/dbAuth/webAuthn')
4 changes: 4 additions & 0 deletions packages/auth-providers-web/webAuthn/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"main": "./index.js",
"types": "../dist/dbAuth/webAuthn.d.ts"
}

0 comments on commit 97c36e1

Please sign in to comment.