Skip to content

Commit 0a37a06

Browse files
committed
feat: expose token status apis
Signed-off-by: DaevMithran <[email protected]>
1 parent 2900601 commit 0a37a06

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/core/src/modules/sd-jwt-vc/SdJwtVcApi.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import { AgentContext } from '../../agent'
1212
import { injectable } from '../../plugins'
1313

1414
import { SdJwtVcService } from './SdJwtVcService'
15+
import { TokenStatusListService } from './credential-status'
1516

1617
/**
1718
* @public
@@ -20,10 +21,12 @@ import { SdJwtVcService } from './SdJwtVcService'
2021
export class SdJwtVcApi {
2122
private agentContext: AgentContext
2223
private sdJwtVcService: SdJwtVcService
24+
public tokenStatusListService: TokenStatusListService
2325

24-
public constructor(agentContext: AgentContext, sdJwtVcService: SdJwtVcService) {
26+
public constructor(agentContext: AgentContext, sdJwtVcService: SdJwtVcService, tokenStatusListService: TokenStatusListService) {
2527
this.agentContext = agentContext
2628
this.sdJwtVcService = sdJwtVcService
29+
this.tokenStatusListService = tokenStatusListService
2730
}
2831

2932
public async sign<Payload extends SdJwtVcPayload>(options: SdJwtVcSignOptions<Payload>) {

0 commit comments

Comments
 (0)