From d84eeb2ef945cbec2d9c98c4218b1b3e775f3e8f Mon Sep 17 00:00:00 2001 From: Kirah Sapong Date: Tue, 5 Dec 2023 16:27:36 -0800 Subject: [PATCH] Export pex type directly --- packages/credentials/src/presentation-exchange.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/credentials/src/presentation-exchange.ts b/packages/credentials/src/presentation-exchange.ts index a447e5fa0..5f95792e0 100644 --- a/packages/credentials/src/presentation-exchange.ts +++ b/packages/credentials/src/presentation-exchange.ts @@ -1,7 +1,8 @@ import type { EvaluationResults, PresentationResult, SelectResults, Validated as PexValidated } from '@sphereon/pex'; import { PEX } from '@sphereon/pex'; -import type { PresentationDefinitionV2 as PexPresDefV2 } from '@sphereon/pex-models'; +import type { PresentationDefinitionV2 } from '@sphereon/pex-models'; +export type { PresentationDefinitionV2 } from '@sphereon/pex-models'; import type { IPresentation, @@ -9,7 +10,6 @@ import type { } from '@sphereon/ssi-types'; export type Validated = PexValidated; -export type PresentationDefinitionV2 = PexPresDefV2 export class PresentationExchange { /**