From fe1d6181b675250fefe618f95f3b215aec6d9f11 Mon Sep 17 00:00:00 2001 From: amitpadmani-awts Date: Mon, 29 Jan 2024 12:29:58 +0530 Subject: [PATCH 1/3] fix: export required interfaces Signed-off-by: amitpadmani-awts --- packages/ssi/src/index.ts | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/packages/ssi/src/index.ts b/packages/ssi/src/index.ts index 47905bc..3567c4a 100644 --- a/packages/ssi/src/index.ts +++ b/packages/ssi/src/index.ts @@ -66,7 +66,15 @@ import { ConnectionsModule, Agent, BasicMessageRepository, - AriesFrameworkError + AriesFrameworkError, + ConnectionStateChangedEvent, + CredentialStateChangedEvent, + ProofStateChangedEvent, + ConnectionEventTypes, + CredentialEventTypes, + ProofEventTypes, + GenericRecord, + SaveGenericRecordOption } from '@aries-framework/core' import { GetCredentialsForRequestReturn, @@ -132,7 +140,15 @@ export { ConnectionsModule, Agent, BasicMessageRepository, - AriesFrameworkError + AriesFrameworkError, + ConnectionStateChangedEvent, + CredentialStateChangedEvent, + ProofStateChangedEvent, + ConnectionEventTypes, + CredentialEventTypes, + ProofEventTypes, + GenericRecord, + SaveGenericRecordOption } // Anoncreds export { From 237aa7c5b893b2c09f732d45ccddd5f14936c1a2 Mon Sep 17 00:00:00 2001 From: amitpadmani-awts Date: Mon, 29 Jan 2024 12:36:14 +0530 Subject: [PATCH 2/3] fix: import issue for GenericRecord Signed-off-by: amitpadmani-awts --- packages/ssi/src/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/ssi/src/index.ts b/packages/ssi/src/index.ts index 3567c4a..75fde1c 100644 --- a/packages/ssi/src/index.ts +++ b/packages/ssi/src/index.ts @@ -73,13 +73,12 @@ import { ConnectionEventTypes, CredentialEventTypes, ProofEventTypes, - GenericRecord, - SaveGenericRecordOption } from '@aries-framework/core' import { GetCredentialsForRequestReturn, ProofFormatDataMessagePayload } from '@aries-framework/core/build/modules/proofs/protocol/ProofProtocolOptions' +import type { GenericRecord, SaveGenericRecordOption } from '@aries-framework/core/build/modules/generic-records/repository/GenericRecord'; // Indy VDR import { IndyVdrAnonCredsRegistry, From d2cd4b206abd1c3ead2e9bc02e78f2c4fed89145 Mon Sep 17 00:00:00 2001 From: amitpadmani-awts Date: Mon, 29 Jan 2024 12:40:36 +0530 Subject: [PATCH 3/3] fix: lint issues Signed-off-by: amitpadmani-awts --- packages/ssi/src/index.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/ssi/src/index.ts b/packages/ssi/src/index.ts index 75fde1c..aee502f 100644 --- a/packages/ssi/src/index.ts +++ b/packages/ssi/src/index.ts @@ -1,4 +1,8 @@ import type { InitConfig } from '@aries-framework/core' +import type { + GenericRecord, + SaveGenericRecordOption +} from '@aries-framework/core/build/modules/generic-records/repository/GenericRecord' // Anoncreds import { @@ -72,13 +76,12 @@ import { ProofStateChangedEvent, ConnectionEventTypes, CredentialEventTypes, - ProofEventTypes, + ProofEventTypes } from '@aries-framework/core' import { GetCredentialsForRequestReturn, ProofFormatDataMessagePayload } from '@aries-framework/core/build/modules/proofs/protocol/ProofProtocolOptions' -import type { GenericRecord, SaveGenericRecordOption } from '@aries-framework/core/build/modules/generic-records/repository/GenericRecord'; // Indy VDR import { IndyVdrAnonCredsRegistry,