diff --git a/src/lib/GoogleAuth.svelte b/src/lib/GoogleAuth.svelte index 6874ddb..5963462 100644 --- a/src/lib/GoogleAuth.svelte +++ b/src/lib/GoogleAuth.svelte @@ -9,6 +9,7 @@ import { createLitSession } from "./createLitSession"; import { connectProvider } from "./setupLit"; import { ethers } from "ethers"; + import Signer from "./Signer.svelte"; const redirectUri = "http://localhost:3000/"; @@ -194,12 +195,16 @@ {/if} {#if view === "READY"}
-

Your PKP Address: {currentPKP.ethAddress}

+

Your PKP Address:

+

{currentPKP.ethAddress}

Ready to sign

- - {#if messageToSign} -
{JSON.stringify(messageToSign)}
- {/if} + (status = e.detail)} + on:error={(e) => setError(e.detail)} + />
{/if}
diff --git a/src/lib/Signer.svelte b/src/lib/Signer.svelte new file mode 100644 index 0000000..8114909 --- /dev/null +++ b/src/lib/Signer.svelte @@ -0,0 +1,92 @@ + + + + +{#if messageToSign} +
{JSON.stringify(messageToSign)}
+{/if}