Skip to content

Commit f3aed2d

Browse files
authored
fix: pass required options parameter (#303)
Signed-off-by: Mirko Mollik <mirko.mollik@eudi.sprind.org>
1 parent 653fe87 commit f3aed2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ export class SDJwtInstance<ExtendedPayload extends SdJwtPayload> {
206206
if (!sdjwt.jwt || !sdjwt.jwt.payload) {
207207
throw new SDJWTException('Invalid SD JWT');
208208
}
209-
const { payload, header } = await this.validate(encodedSDJwt);
209+
const { payload, header } = await this.validate(encodedSDJwt, options);
210210

211211
if (options?.requiredClaimKeys) {
212212
const keys = await sdjwt.keys(hasher);

0 commit comments

Comments
 (0)