Skip to content

Commit

Permalink
chore: Update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
nklomp committed Jan 28, 2025
1 parent 57a299f commit cf8f502
Show file tree
Hide file tree
Showing 8 changed files with 67 additions and 268 deletions.
2 changes: 1 addition & 1 deletion packages/oid4vci-issuer-store/src/agent/OID4VCIStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class OID4VCIStore implements IAgentPlugin {

private readonly _issuerMetadataStores: Map<string, IKeyValueStore<IssuerMetadata>>
private readonly _authorizationServerMetadataStores: Map<string, IKeyValueStore<AuthorizationServerMetadata>>
private readonly _optionStores: Map<string, IKeyValueStore<IIssuerOptions & { asClientOpts?: unknown }>>
private readonly _optionStores: Map<string, IKeyValueStore<IIssuerOptions>>
private readonly defaultStoreId: string
private readonly defaultNamespace: string

Expand Down
3 changes: 2 additions & 1 deletion packages/oid4vci-issuer-store/src/types/IOID4VCIStore.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AuthorizationServerMetadata, CredentialIssuerMetadataOpts, IssuerMetadata } from '@sphereon/oid4vci-common'
import { AuthorizationServerMetadata, ClientMetadata, CredentialIssuerMetadataOpts, IssuerMetadata } from '@sphereon/oid4vci-common'
import { IDIDOptions, ResolveOpts } from '@sphereon/ssi-sdk-ext.did-utils'
import { ManagedIdentifierOptsOrResult } from '@sphereon/ssi-sdk-ext.identifier-resolution'
import { IKeyValueStore, IValueData } from '@sphereon/ssi-sdk.kv-store-temp'
Expand Down Expand Up @@ -57,6 +57,7 @@ export interface IIssuerInstanceOptions extends IMetadataOptions {
}

export interface IIssuerOptions {
asClientOpts?: ClientMetadata
idOpts?: ManagedIdentifierOptsOrResult
resolveOpts?: ResolveOpts
/**
Expand Down
4 changes: 3 additions & 1 deletion packages/oid4vci-issuer/src/functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -288,13 +288,15 @@ export async function createVciIssuerBuilder(
// builder.withUserPinRequired(issuerOpts.userPinRequired ?? false) was removed from implementers draft v1
builder.withCredentialSignerCallback(await getCredentialSignerCallback(idOpts, context))
builder.withJWTVerifyCallback(getJwtVerifyCallback({ verifyOpts: jwtVerifyOpts }, context))
if (issuerOpts.asClientOpts) {
builder.withASClientMetadata(issuerOpts.asClientOpts)
}
if (args.credentialDataSupplier) {
builder.withCredentialDataSupplier(args.credentialDataSupplier)
}
builder.withInMemoryCNonceState()
builder.withInMemoryCredentialOfferState()
builder.withInMemoryCredentialOfferURIState()
builder.build()

return builder
}
Expand Down
2 changes: 2 additions & 0 deletions packages/oid4vci-issuer/src/types/IOID4VCIIssuer.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {
AccessTokenRequest,
AccessTokenResponse,
ClientMetadata,
CredentialConfigurationSupported,
CredentialDataSupplierInput,
CredentialIssuerMetadataOpts,
Expand Down Expand Up @@ -74,6 +75,7 @@ export interface IIssuerInstanceOptions extends IMetadataOptions {
}

export interface IIssuerOptions {
asClientOpts?: ClientMetadata
idOpts?: ManagedIdentifierOptsOrResult
resolveOpts?: ResolveOpts
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@
"lang": "en-US"
}
],
"path": [
"boardingPass"
]
"path": ["boardingPass"]
},
{
"display": [
Expand All @@ -52,10 +50,7 @@
"lang": "en-US"
}
],
"path": [
"boardingPass",
"barcodeString"
]
"path": ["boardingPass", "barcodeString"]
},
{
"display": [
Expand All @@ -65,10 +60,7 @@
"lang": "en-US"
}
],
"path": [
"boardingPass",
"paxName"
]
"path": ["boardingPass", "paxName"]
},
{
"display": [
Expand All @@ -78,10 +70,7 @@
"lang": "en-US"
}
],
"path": [
"boardingPass",
"segmentCount"
]
"path": ["boardingPass", "segmentCount"]
},
{
"display": [
Expand All @@ -91,10 +80,7 @@
"lang": "en-US"
}
],
"path": [
"boardingPass",
"ticketLessOrElectronicTicketInd"
]
"path": ["boardingPass", "ticketLessOrElectronicTicketInd"]
},
{
"display": [
Expand All @@ -104,11 +90,7 @@
"lang": "en-US"
}
],
"path": [
"boardingPass",
"paxSegments",
null
]
"path": ["boardingPass", "paxSegments", null]
},
{
"display": [
Expand All @@ -118,12 +100,7 @@
"lang": "en-US"
}
],
"path": [
"boardingPass",
"paxSegments",
null,
"bookingRefID"
]
"path": ["boardingPass", "paxSegments", null, "bookingRefID"]
},
{
"display": [
Expand All @@ -133,12 +110,7 @@
"lang": "en-US"
}
],
"path": [
"boardingPass",
"paxSegments",
null,
"checkInOrdinal"
]
"path": ["boardingPass", "paxSegments", null, "checkInOrdinal"]
},
{
"display": [
Expand All @@ -148,12 +120,7 @@
"lang": "en-US"
}
],
"path": [
"boardingPass",
"paxSegments",
null,
"compartmentTypeCode"
]
"path": ["boardingPass", "paxSegments", null, "compartmentTypeCode"]
},
{
"display": [
Expand All @@ -163,12 +130,7 @@
"lang": "en-US"
}
],
"path": [
"boardingPass",
"paxSegments",
null,
"originStationIATALocationCode"
]
"path": ["boardingPass", "paxSegments", null, "originStationIATALocationCode"]
},
{
"display": [
Expand All @@ -178,12 +140,7 @@
"lang": "en-US"
}
],
"path": [
"boardingPass",
"paxSegments",
null,
"destStationIATALocationCode"
]
"path": ["boardingPass", "paxSegments", null, "destStationIATALocationCode"]
},
{
"display": [
Expand All @@ -193,12 +150,7 @@
"lang": "en-US"
}
],
"path": [
"boardingPass",
"paxSegments",
null,
"flightIdentifierDate"
]
"path": ["boardingPass", "paxSegments", null, "flightIdentifierDate"]
},
{
"display": [
Expand All @@ -208,12 +160,7 @@
"lang": "en-US"
}
],
"path": [
"boardingPass",
"paxSegments",
null,
"operatingCarrierAirlineDesigCode"
]
"path": ["boardingPass", "paxSegments", null, "operatingCarrierAirlineDesigCode"]
},
{
"display": [
Expand All @@ -223,12 +170,7 @@
"lang": "en-US"
}
],
"path": [
"boardingPass",
"paxSegments",
null,
"operatingCarrierFlightNumber"
]
"path": ["boardingPass", "paxSegments", null, "operatingCarrierFlightNumber"]
},
{
"display": [
Expand All @@ -238,12 +180,7 @@
"lang": "en-US"
}
],
"path": [
"boardingPass",
"paxSegments",
null,
"paxRelatedStatusCode"
]
"path": ["boardingPass", "paxSegments", null, "paxRelatedStatusCode"]
},
{
"display": [
Expand All @@ -253,12 +190,7 @@
"lang": "en-US"
}
],
"path": [
"boardingPass",
"paxSegments",
null,
"seatAssignmentStatusOrSeatNumberCode"
]
"path": ["boardingPass", "paxSegments", null, "seatAssignmentStatusOrSeatNumberCode"]
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@
"lang": "en-US"
}
],
"path": [
"loyaltyProgramAccount"
]
"path": ["loyaltyProgramAccount"]
},
{
"display": [
Expand All @@ -52,10 +50,7 @@
"lang": "en-US"
}
],
"path": [
"loyaltyProgramAccount",
"givenName"
]
"path": ["loyaltyProgramAccount", "givenName"]
},
{
"display": [
Expand All @@ -65,10 +60,7 @@
"lang": "en-US"
}
],
"path": [
"loyaltyProgramAccount",
"surname"
]
"path": ["loyaltyProgramAccount", "surname"]
},
{
"display": [
Expand All @@ -78,10 +70,7 @@
"lang": "en-US"
}
],
"path": [
"loyaltyProgramAccount",
"titleName"
]
"path": ["loyaltyProgramAccount", "titleName"]
},
{
"display": [
Expand All @@ -91,10 +80,7 @@
"lang": "en-US"
}
],
"path": [
"loyaltyProgramAccount",
"loyaltyProgramAccountIdentifier"
]
"path": ["loyaltyProgramAccount", "loyaltyProgramAccountIdentifier"]
},
{
"display": [
Expand All @@ -104,10 +90,7 @@
"lang": "en-US"
}
],
"path": [
"loyaltyProgramAccount",
"loyaltyProgramAccountTierLevelCode"
]
"path": ["loyaltyProgramAccount", "loyaltyProgramAccountTierLevelCode"]
},
{
"display": [
Expand All @@ -117,10 +100,7 @@
"lang": "en-US"
}
],
"path": [
"loyaltyProgramAccount",
"loyaltyProgramCode"
]
"path": ["loyaltyProgramAccount", "loyaltyProgramCode"]
},
{
"display": [
Expand All @@ -130,10 +110,7 @@
"lang": "en-US"
}
],
"path": [
"loyaltyProgramAccount",
"loyaltyProgramName"
]
"path": ["loyaltyProgramAccount", "loyaltyProgramName"]
},
{
"display": [
Expand All @@ -143,10 +120,7 @@
"lang": "en-US"
}
],
"path": [
"loyaltyProgramAccount",
"providerName"
]
"path": ["loyaltyProgramAccount", "providerName"]
}
]
}
}
Loading

0 comments on commit cf8f502

Please sign in to comment.