Skip to content

Commit

Permalink
fix: build issues
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <[email protected]>
  • Loading branch information
TimoGlastra committed Oct 23, 2024
1 parent 157f856 commit 91b9f9f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion packages/oid4vci/src/credential-offer/credential-offer.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import * as v from 'valibot'
import { Oid4vcError } from '../error/Oid4vcError'
import { Oid4vcValidationError } from '../error/Oid4vcValidationError'
import type { Fetch } from '../globals'
import { getQueryParams } from '../utils/url'
import { type Fetch, createValibotFetcher } from '../utils/valibot-fetcher'
import { createValibotFetcher } from '../utils/valibot-fetcher'
import {
type CredentialOfferObject,
preAuthorizedCodeGrantIdentifier,
Expand Down
4 changes: 2 additions & 2 deletions packages/oid4vci/src/credential-request/format-payload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
vSdJwtVcCredentialIssuerMetadata,
} from '../formats/credential'
import type { IssuerMetadataResult } from '../metadata/fetch-issuer-metadata'
import type { CredentialRequestFormats } from './v-credential-request'
import type { CredentialRequestWithFormats } from './v-credential-request'

export interface GetCredentialRequestFormatPayloadForCredentialConfigurationIdOptions {
/**
Expand All @@ -24,7 +24,7 @@ export interface GetCredentialRequestFormatPayloadForCredentialConfigurationIdOp

export function getCredentialRequestFormatPayloadForCredentialConfigurationId(
options: GetCredentialRequestFormatPayloadForCredentialConfigurationIdOptions
): CredentialRequestFormats {
): CredentialRequestWithFormats {
const credentialConfiguration =
options.issuerMetadata.credentialIssuer.credential_configurations_supported[options.credentialConfigurationId]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Oid4vcError } from '../../error/Oid4vcError'
import type { Fetch } from '../../globals'
import { joinUriParts } from '../../utils/path'
import type { Fetch } from '../../utils/valibot-fetcher'
import { fetchWellKnownMetadata } from '../fetch-metadata'
import { type AuthorizationServerMetadata, vAuthorizationServerMetadata } from './v-authorization-server-metadata'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Oid4vcError } from '../../error/Oid4vcError'
import type { Fetch } from '../../globals'
import { joinUriParts } from '../../utils/path'
import type { Fetch } from '../../utils/valibot-fetcher'
import type { Oid4vciDraftVersion } from '../../versions/draft-version'
import { fetchWellKnownMetadata } from '../fetch-metadata'
import {
Expand Down

0 comments on commit 91b9f9f

Please sign in to comment.