File tree Expand file tree Collapse file tree 3 files changed +11
-15
lines changed
demo/redirect-flow-example Expand file tree Collapse file tree 3 files changed +11
-15
lines changed Original file line number Diff line number Diff line change 1414 "@vitejs/plugin-react" : " ^4.3.2" ,
1515 "@web3auth/base" : " ^9.0.2" ,
1616 "@web3auth/ethereum-mpc-provider" : " ^9.3.0" ,
17- "@web3auth/mpc-core-kit" : " 4.1.4 -alpha.0" ,
18- "@web3auth/mpc-passkey-plugin" : " 0.1.11 -alpha.0" ,
17+ "@web3auth/mpc-core-kit" : " 4.1.5 -alpha.0" ,
18+ "@web3auth/mpc-passkey-plugin" : " 0.1.12 -alpha.0" ,
1919 "@toruslabs/torus.js" : " 15.2.0-alpha.0" ,
2020 "browserify-zlib" : " ^0.2.0" ,
2121 "copy-webpack-plugin" : " ^11.0.0" ,
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import {
1313 factorKeyCurve ,
1414 makeEthereumSigner ,
1515 SIG_TYPE ,
16- IContext ,
1716} from "@web3auth/mpc-core-kit" ;
1817import { PasskeysPlugin } from "@web3auth/mpc-passkey-plugin" ;
1918import Web3 from "web3" ;
@@ -167,7 +166,6 @@ function App() {
167166 useDKG : false ,
168167 } )
169168 ) ;
170- const mpcCoreKitContext = useRef < IContext | undefined > ( undefined ) ;
171169 const passkeyPlugin = useRef < PasskeysPlugin | undefined > (
172170 undefined
173171 // new PasskeysPlugin(
@@ -707,8 +705,6 @@ function App() {
707705 if ( ! passkeyPlugin ?. current ) {
708706 throw new Error ( "passkeyPlugin is not set" ) ;
709707 }
710- const context = coreKitInstance . current . getContext ( )
711- console . log ( "coreKitInstance" , context . state )
712708 const passkeys = await passkeyPlugin . current . listPasskeys ( )
713709 uiConsole ( passkeys )
714710 } ;
You can’t perform that action at this time.
0 commit comments