Skip to content

Commit 4935a36

Browse files
update demo
1 parent a7a7bcc commit 4935a36

File tree

3 files changed

+11
-15
lines changed

3 files changed

+11
-15
lines changed

demo/redirect-flow-example/package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/redirect-flow-example/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
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",

demo/redirect-flow-example/src/App.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import {
1313
factorKeyCurve,
1414
makeEthereumSigner,
1515
SIG_TYPE,
16-
IContext,
1716
} from "@web3auth/mpc-core-kit";
1817
import { PasskeysPlugin } from "@web3auth/mpc-passkey-plugin";
1918
import 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
};

0 commit comments

Comments
 (0)