diff --git a/examples/issuer-sdk-demo/src/components/create-profile.tsx b/examples/issuer-sdk-demo/src/components/create-profile.tsx index a447e9ed9..223375c70 100644 --- a/examples/issuer-sdk-demo/src/components/create-profile.tsx +++ b/examples/issuer-sdk-demo/src/components/create-profile.tsx @@ -19,8 +19,8 @@ export function CreateProfile({ onSuccess }: { onSuccess: () => void }) { if (!idOSSDK) throw new Error("No SDK found"); setLoadingMessage("Creating user password..."); const humanId = crypto.randomUUID(); - const { encryptionPublicKey } = - await idOSSDK.enclave.provider.discoverUserEncryptionKey(humanId); + const { userEncryptionPublicKey } = + await idOSSDK.enclave.provider.discoverUserEncryptionPublicKey(humanId); setLoadingMessage("Signing message on your wallet..."); @@ -31,7 +31,7 @@ export function CreateProfile({ onSuccess }: { onSuccess: () => void }) { setLoadingMessage("Creating your profile..."); - await createProfile(encryptionPublicKey, humanId, { + await createProfile(userEncryptionPublicKey, humanId, { address: address as string, signature, message,