Skip to content

Commit

Permalink
fix: missing export
Browse files Browse the repository at this point in the history
  • Loading branch information
nklomp committed Oct 4, 2024
1 parent 6b2cd09 commit ee4b7d5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ export async function fetchJwks(jwksUri: string): Promise<Jwks | undefined> {
* If a jwks field is provided, the JWKS will be extracted from the field.
* If a jwks_uri is provided, the JWKS will be fetched from the URI.
*
* @param input - The metadata input to be validated and parsed.
* @returns A promise that resolves to the extracted JWKS or undefined.
* @throws {JoseJwksExtractionError} If the metadata format is invalid or no decryption key is found.
* @param metadata
*/
export const extractJwksFromJwksMetadata = async (metadata: JwksMetadataParams) => {
let jwks: Jwks | undefined = metadata.jwks?.keys[0] ? metadata.jwks : undefined
Expand Down
1 change: 1 addition & 0 deletions packages/siop-oid4vp/lib/helpers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from './HttpUtils'
export * from './ObjectUtils'
export * from './Revocation'
export * from './State'
export * from './ExtractJwks'
export * from './LanguageTagUtils'
2 changes: 1 addition & 1 deletion packages/siop-oid4vp/lib/op/OP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import {
PresentationExchangeResponseOpts,
} from '../authorization-response'
import { encodeJsonAsURI, post } from '../helpers'
import { extractJwksFromJwksMetadata, JwksMetadataParams } from '../helpers/ExtractJwks'
import { authorizationRequestVersionDiscovery } from '../helpers/SIOPSpecVersion'
import { extractJwksFromJwksMetadata, JwksMetadataParams } from '../helpers/extract-jwks'
import {
AuthorizationEvent,
AuthorizationEvents,
Expand Down
2 changes: 1 addition & 1 deletion packages/siop-oid4vp/lib/types/SIOP.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
PresentationVerificationCallback,
VerifyAuthorizationResponseOpts,
} from '../authorization-response'
import { JwksMetadataParams } from '../helpers/extract-jwks'
import { JwksMetadataParams } from '../helpers/ExtractJwks'
import { RequestObject, RequestObjectOpts } from '../request-object'
import { IRPSessionManager } from '../rp'

Expand Down

0 comments on commit ee4b7d5

Please sign in to comment.