diff --git a/.gitignore b/.gitignore index 2dc157dfaa..76a2db60c0 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,4 @@ coverage logs.txt logs/ packages/core/src/__tests__/genesis-von.txn -lerna-debug.log -runcredtests.sh -runtests.sh +lerna-debug.log \ No newline at end of file diff --git a/packages/core/src/modules/credentials/formats/indy/IndyCredentialFormatService.ts b/packages/core/src/modules/credentials/formats/indy/IndyCredentialFormatService.ts index aba6add154..f5c77071d1 100644 --- a/packages/core/src/modules/credentials/formats/indy/IndyCredentialFormatService.ts +++ b/packages/core/src/modules/credentials/formats/indy/IndyCredentialFormatService.ts @@ -31,10 +31,10 @@ import type { Cred, CredDef, CredOffer, CredReq, CredReqMetadata } from 'indy-sd import { Lifecycle, scoped } from 'tsyringe' -import { AriesFrameworkError } from '../../../../../src/error' -import { MessageValidator } from '../../../../../src/utils/MessageValidator' import { AgentConfig } from '../../../../agent/AgentConfig' import { EventEmitter } from '../../../../agent/EventEmitter' +import { AriesFrameworkError } from '../../../../error' +import { MessageValidator } from '../../../../utils/MessageValidator' import { uuid } from '../../../../utils/uuid' import { IndyHolderService, IndyIssuerService } from '../../../indy' import { IndyLedgerService } from '../../../ledger' diff --git a/packages/core/src/modules/credentials/formats/models/CredentialFormatServiceOptions.ts b/packages/core/src/modules/credentials/formats/models/CredentialFormatServiceOptions.ts index 0ca6465f58..3172fa9236 100644 --- a/packages/core/src/modules/credentials/formats/models/CredentialFormatServiceOptions.ts +++ b/packages/core/src/modules/credentials/formats/models/CredentialFormatServiceOptions.ts @@ -1,5 +1,5 @@ -import type { LinkedAttachment } from '../../../../../src/utils/LinkedAttachment' import type { Attachment } from '../../../../decorators/attachment/Attachment' +import type { LinkedAttachment } from '../../../../utils/LinkedAttachment' import type { ParseRevocationRegistryDefinitionTemplate } from '../../../ledger/services' import type { AutoAcceptCredential } from '../../CredentialAutoAcceptType' import type { CredentialPreviewAttribute } from '../../models/CredentialPreviewAttributes' diff --git a/packages/core/src/modules/credentials/protocol/v1/handlers/V1IssueCredentialHandler.ts b/packages/core/src/modules/credentials/protocol/v1/handlers/V1IssueCredentialHandler.ts index 340365fb1c..c8dc066f30 100644 --- a/packages/core/src/modules/credentials/protocol/v1/handlers/V1IssueCredentialHandler.ts +++ b/packages/core/src/modules/credentials/protocol/v1/handlers/V1IssueCredentialHandler.ts @@ -4,8 +4,8 @@ import type { DidCommMessageRepository } from '../../../../../storage' import type { CredentialExchangeRecord } from '../../../repository/CredentialExchangeRecord' import type { V1CredentialService } from '../V1CredentialService' -import { AriesFrameworkError } from '../../../../../../src/error/AriesFrameworkError' import { createOutboundMessage, createOutboundServiceMessage } from '../../../../../agent/helpers' +import { AriesFrameworkError } from '../../../../../error/AriesFrameworkError' import { V1IssueCredentialMessage, V1RequestCredentialMessage } from '../messages' export class V1IssueCredentialHandler implements Handler { diff --git a/packages/core/src/modules/credentials/protocol/v1/handlers/V1OfferCredentialHandler.ts b/packages/core/src/modules/credentials/protocol/v1/handlers/V1OfferCredentialHandler.ts index 5a236a6cf2..ce9c9ab37d 100644 --- a/packages/core/src/modules/credentials/protocol/v1/handlers/V1OfferCredentialHandler.ts +++ b/packages/core/src/modules/credentials/protocol/v1/handlers/V1OfferCredentialHandler.ts @@ -5,9 +5,9 @@ import type { MediationRecipientService } from '../../../../routing/services/Med import type { CredentialExchangeRecord } from '../../../repository/CredentialExchangeRecord' import type { V1CredentialService } from '../V1CredentialService' -import { AriesFrameworkError } from '../../../../../../src/error/AriesFrameworkError' import { createOutboundMessage, createOutboundServiceMessage } from '../../../../../agent/helpers' import { ServiceDecorator } from '../../../../../decorators/service/ServiceDecorator' +import { AriesFrameworkError } from '../../../../../error/AriesFrameworkError' import { DidCommMessageRole } from '../../../../../storage' import { V1OfferCredentialMessage, V1ProposeCredentialMessage } from '../messages' diff --git a/packages/core/src/modules/credentials/protocol/v1/handlers/V1ProposeCredentialHandler.ts b/packages/core/src/modules/credentials/protocol/v1/handlers/V1ProposeCredentialHandler.ts index a5db037ef5..3ecc0763f2 100644 --- a/packages/core/src/modules/credentials/protocol/v1/handlers/V1ProposeCredentialHandler.ts +++ b/packages/core/src/modules/credentials/protocol/v1/handlers/V1ProposeCredentialHandler.ts @@ -1,6 +1,6 @@ -import type { Attachment } from '../../../../../../src/decorators/attachment/Attachment' import type { AgentConfig } from '../../../../../agent/AgentConfig' import type { Handler, HandlerInboundMessage } from '../../../../../agent/Handler' +import type { Attachment } from '../../../../../decorators/attachment/Attachment' import type { DidCommMessageRepository } from '../../../../../storage' import type { HandlerAutoAcceptOptions } from '../../../formats/models/CredentialFormatServiceOptions' import type { CredentialPreviewAttribute } from '../../../models/CredentialPreviewAttributes' diff --git a/packages/core/src/modules/credentials/protocol/v1/handlers/V1RequestCredentialHandler.ts b/packages/core/src/modules/credentials/protocol/v1/handlers/V1RequestCredentialHandler.ts index be8cb2b730..7d55fded8e 100644 --- a/packages/core/src/modules/credentials/protocol/v1/handlers/V1RequestCredentialHandler.ts +++ b/packages/core/src/modules/credentials/protocol/v1/handlers/V1RequestCredentialHandler.ts @@ -1,6 +1,6 @@ -import type { Attachment } from '../../../../../../src/decorators/attachment/Attachment' import type { AgentConfig } from '../../../../../agent/AgentConfig' import type { Handler, HandlerInboundMessage } from '../../../../../agent/Handler' +import type { Attachment } from '../../../../../decorators/attachment/Attachment' import type { DidCommMessageRepository } from '../../../../../storage' import type { ServiceAcceptRequestOptions } from '../../../CredentialServiceOptions' import type { CredentialFormatService } from '../../../formats/CredentialFormatService' diff --git a/packages/core/src/modules/credentials/protocol/v2/CredentialMessageBuilder.ts b/packages/core/src/modules/credentials/protocol/v2/CredentialMessageBuilder.ts index 754e91f25f..8f0d72128b 100644 --- a/packages/core/src/modules/credentials/protocol/v2/CredentialMessageBuilder.ts +++ b/packages/core/src/modules/credentials/protocol/v2/CredentialMessageBuilder.ts @@ -14,7 +14,7 @@ import type { V2OfferCredentialMessageOptions } from './messages/V2OfferCredenti import type { V2ProposeCredentialMessageProps } from './messages/V2ProposeCredentialMessage' import type { V2RequestCredentialMessageOptions } from './messages/V2RequestCredentialMessage' -import { AriesFrameworkError } from '../../../../../src/error/AriesFrameworkError' +import { AriesFrameworkError } from '../../../../error/AriesFrameworkError' import { uuid } from '../../../../utils/uuid' import { CredentialProtocolVersion } from '../../CredentialProtocolVersion' import { CredentialState } from '../../CredentialState' diff --git a/packages/core/src/modules/credentials/protocol/v2/handlers/V2IssueCredentialHandler.ts b/packages/core/src/modules/credentials/protocol/v2/handlers/V2IssueCredentialHandler.ts index 048580eb97..6ff4e63b75 100644 --- a/packages/core/src/modules/credentials/protocol/v2/handlers/V2IssueCredentialHandler.ts +++ b/packages/core/src/modules/credentials/protocol/v2/handlers/V2IssueCredentialHandler.ts @@ -5,8 +5,8 @@ import type { DidCommMessageRepository } from '../../../../../storage' import type { CredentialExchangeRecord } from '../../../repository/CredentialExchangeRecord' import type { V2CredentialService } from '../V2CredentialService' -import { AriesFrameworkError } from '../../../../../../src/error/AriesFrameworkError' import { createOutboundMessage, createOutboundServiceMessage } from '../../../../../agent/helpers' +import { AriesFrameworkError } from '../../../../../error/AriesFrameworkError' import { V2IssueCredentialMessage } from '../messages/V2IssueCredentialMessage' import { V2RequestCredentialMessage } from '../messages/V2RequestCredentialMessage' diff --git a/packages/core/src/modules/credentials/protocol/v2/handlers/V2OfferCredentialHandler.ts b/packages/core/src/modules/credentials/protocol/v2/handlers/V2OfferCredentialHandler.ts index 399c53d474..4c6ec1be02 100644 --- a/packages/core/src/modules/credentials/protocol/v2/handlers/V2OfferCredentialHandler.ts +++ b/packages/core/src/modules/credentials/protocol/v2/handlers/V2OfferCredentialHandler.ts @@ -6,9 +6,9 @@ import type { MediationRecipientService } from '../../../../routing/services/Med import type { CredentialExchangeRecord } from '../../../repository/CredentialExchangeRecord' import type { V2CredentialService } from '../V2CredentialService' -import { AriesFrameworkError } from '../../../../../../src/error/AriesFrameworkError' import { createOutboundMessage, createOutboundServiceMessage } from '../../../../../agent/helpers' import { ServiceDecorator } from '../../../../../decorators/service/ServiceDecorator' +import { AriesFrameworkError } from '../../../../../error/AriesFrameworkError' import { DidCommMessageRole } from '../../../../../storage' import { V2OfferCredentialMessage } from '../messages/V2OfferCredentialMessage' import { V2ProposeCredentialMessage } from '../messages/V2ProposeCredentialMessage' diff --git a/packages/core/src/modules/credentials/protocol/v2/handlers/V2RequestCredentialHandler.ts b/packages/core/src/modules/credentials/protocol/v2/handlers/V2RequestCredentialHandler.ts index 3e45368bf7..abcdb10ad7 100644 --- a/packages/core/src/modules/credentials/protocol/v2/handlers/V2RequestCredentialHandler.ts +++ b/packages/core/src/modules/credentials/protocol/v2/handlers/V2RequestCredentialHandler.ts @@ -6,8 +6,8 @@ import type { AcceptRequestOptions } from '../../../CredentialsModuleOptions' import type { CredentialExchangeRecord } from '../../../repository' import type { V2CredentialService } from '../V2CredentialService' -import { AriesFrameworkError } from '../../../../../../src/error/AriesFrameworkError' import { createOutboundMessage, createOutboundServiceMessage } from '../../../../../agent/helpers' +import { AriesFrameworkError } from '../../../../../error/AriesFrameworkError' import { V2OfferCredentialMessage } from '../messages/V2OfferCredentialMessage' import { V2ProposeCredentialMessage } from '../messages/V2ProposeCredentialMessage' import { V2RequestCredentialMessage } from '../messages/V2RequestCredentialMessage'