auth.andert.me/package.json
Howard 81a70959af
Fix session sigs (#7)
* Decouple Google OAuth sign in with Mint PKP step

* Use new signSessionKey SDK method

* Handle authentication separately from storing conditions

* Use auth-helpers package to generate session sigs correctly

* Use react-app-rewired to use config override for fixing webpack bundle

create-react-app default webpack config does not match against .cjs files, so we need to override the default config to bundle .cjs files from auth-helpers using CJS to import the .cjs file
from recap-ts.

* Implement encrypt / decrypt using session sigs

* Use latest js-sdk, use npm instead of yarn

yarn still installs tslib at 1.14.1, which breaks, whereas npm installs at 2.5.0
2023-05-17 17:14:36 -07:00

67 lines
1.7 KiB
JSON

{
"name": "oauth-pkp-signup",
"version": "0.1.0",
"private": true,
"dependencies": {
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@lit-protocol/access-control-conditions": "^2.2.0",
"@lit-protocol/auth-helpers": "^2.2.0",
"@lit-protocol/bls-sdk": "^2.2.0",
"@lit-protocol/constants": "^2.2.0",
"@lit-protocol/crypto": "^2.2.0",
"@lit-protocol/lit-node-client": "^2.2.0",
"@lit-protocol/lit-node-client-nodejs": "^2.2.0",
"@lit-protocol/types": "^2.2.0",
"@mui/material": "^5.10.16",
"@react-oauth/google": "^0.4.0",
"@simplewebauthn/browser": "^6.2.2",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^29.4.0",
"@types/node": "^18.11.19",
"@types/react": "^18.0.27",
"@types/react-dom": "^18.0.10",
"base64url": "^3.0.1",
"ethers": "^5.7.2",
"js-base64": "^3.7.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
"web-vitals": "^2.1.4"
},
"devDependencies": {
"prettier": "^1.18.2",
"react-app-rewired": "^2.2.1",
"tslint": "^5.19.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "3.6.2"
},
"scripts": {
"start": "react-app-rewired start",
"build": "yarn fetchContracts && react-app-rewired build",
"test": "react-app-rewired test",
"eject": "react-app-rewired eject",
"fetchContracts": "node ./tools/getDeployedContracts.mjs"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}