Skip to content

Commit

Permalink
change return type
Browse files Browse the repository at this point in the history
  • Loading branch information
volodymyr-basiuk committed Dec 20, 2024
1 parent 947be3f commit 0e26420
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/iden3comm/packers/jws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export class JWSPacker implements IPacker {
return [AcceptJwsAlgorithms.ES256K, AcceptJwsAlgorithms.ES256KR];
}

private getSupportedProtocolVersions(): [ProtocolVersion] {
private getSupportedProtocolVersions(): ProtocolVersion[] {
return [ProtocolVersion.V1];
}

Expand Down
2 changes: 1 addition & 1 deletion src/iden3comm/packers/plain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class PlainPacker implements IPacker {
return true;
}

private getSupportedProtocolVersions(): [ProtocolVersion] {
private getSupportedProtocolVersions(): ProtocolVersion[] {
return [ProtocolVersion.V1];
}
}
2 changes: 1 addition & 1 deletion src/iden3comm/packers/zkp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export class ZKPPacker implements IPacker {
return [AcceptAuthCircuits.AuthV2];
}

private getSupportedProtocolVersions(): [ProtocolVersion] {
private getSupportedProtocolVersions(): ProtocolVersion[] {
return [ProtocolVersion.V1];
}
}
Expand Down

0 comments on commit 0e26420

Please sign in to comment.