Skip to content

Commit

Permalink
add digest param for select vs
Browse files Browse the repository at this point in the history
  • Loading branch information
zzcwoshizz committed Jun 7, 2023
1 parent ce3ba26 commit 4fb4d99
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/tame-houses-think.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@zcloak/login-rpc-defines": minor
---

[zkid-login] add digest param for select vs
3 changes: 3 additions & 0 deletions login/rpc-defines/src/defineZk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,15 @@ export type RequestCredentialDigestParams = {
challenge: string;
ctypehash?: HexString;
attester?: DidUrl;
digest?: HexString;
};

export type RequestCredentialContentParams = {
challenge: string;
contentKeys?: string[];
ctypehash?: HexString;
attester?: DidUrl;
digest?: HexString;
};

export type DidLoginParams = {
Expand All @@ -68,6 +70,7 @@ export type DidDecryptParams = {
export type ZkpGenRequest = {
ctype?: HexString;
attester?: DidUrl;
digest?: HexString;
leaves: number[];
program: string;
publicInput?: string;
Expand Down

0 comments on commit 4fb4d99

Please sign in to comment.