File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ import { serveStatic } from "hono/deno";
33
44import {
55 CredentialRequestOptions ,
6- generateRequestOptions ,
7- verifyResponse ,
6+ generatePresentationOptions ,
7+ verifyPresentationResponse ,
88} from "../packages/server/src/index.ts" ;
99
1010let currentOptions : CredentialRequestOptions ;
@@ -15,7 +15,7 @@ app.use("/static/*", serveStatic({ root: "./" }));
1515app . get ( "/" , serveStatic ( { path : "./static/index.html" } ) ) ;
1616
1717app . get ( "/options" , async ( ctx ) => {
18- const options = await generateRequestOptions ( {
18+ const options = await generatePresentationOptions ( {
1919 desiredClaims : [ "family_name" , "given_name" ] ,
2020 requestOrigin : "http://localhost:8000" ,
2121 } ) ;
@@ -32,7 +32,7 @@ app.post("/verify", async (ctx) => {
3232
3333 console . log ( "verifying presentation" , body ) ;
3434
35- const verified = await verifyResponse ( {
35+ const verified = await verifyPresentationResponse ( {
3636 response : body ,
3737 options : currentOptions ,
3838 } ) ;
You can’t perform that action at this time.
0 commit comments