@@ -2,29 +2,29 @@ import type Indy from 'indy-sdk';
2
2
import logger from '../logger' ;
3
3
import { InitConfig } from '../types' ;
4
4
import { IndyWallet } from '../wallet/IndyWallet' ;
5
- import { ConnectionService } from '../protocols /connections/ConnectionService' ;
6
- import { ProofService } from '../protocols/present-proof /ProofService' ;
7
- import { ProviderRoutingService } from '../protocols /routing/ProviderRoutingService' ;
8
- import { ConsumerRoutingService } from '../protocols /routing/ConsumerRoutingService' ;
9
- import { BasicMessageService } from '../protocols/basicmessage /BasicMessageService' ;
10
- import { TrustPingService } from '../protocols/trustping /TrustPingService' ;
11
- import { MessagePickupService } from '../protocols/messagepickup /MessagePickupService' ;
5
+ import { ConnectionService } from '../modules /connections/ConnectionService' ;
6
+ import { ProofService } from '../modules/proofs /ProofService' ;
7
+ import { ProviderRoutingService } from '../modules /routing/ProviderRoutingService' ;
8
+ import { ConsumerRoutingService } from '../modules /routing/ConsumerRoutingService' ;
9
+ import { BasicMessageService } from '../modules/basic-messages /BasicMessageService' ;
10
+ import { TrustPingService } from '../modules/connections /TrustPingService' ;
11
+ import { MessagePickupService } from '../modules/routing /MessagePickupService' ;
12
12
import { MessageReceiver } from './MessageReceiver' ;
13
13
import { EnvelopeService } from './EnvelopeService' ;
14
- import { LedgerService } from './LedgerService' ;
14
+ import { LedgerService } from '../modules/ledger /LedgerService' ;
15
15
import { Dispatcher } from './Dispatcher' ;
16
16
import { MessageSender } from './MessageSender' ;
17
17
import { InboundTransporter } from '../transport/InboundTransporter' ;
18
18
import { OutboundTransporter } from '../transport/OutboundTransporter' ;
19
- import { ConnectionRequestHandler } from '../handlers /connections/ConnectionRequestHandler' ;
20
- import { ConnectionResponseHandler } from '../handlers /connections/ConnectionResponseHandler' ;
21
- import { AckMessageHandler } from '../handlers/acks /AckMessageHandler' ;
22
- import { BasicMessageHandler } from '../handlers/basicmessage /BasicMessageHandler' ;
23
- import { ForwardHandler } from '../handlers /routing/ForwardHandler' ;
24
- import { TrustPingMessageHandler } from '../handlers/trustping /TrustPingMessageHandler' ;
25
- import { TrustPingResponseMessageHandler } from '../handlers/trustping /TrustPingResponseMessageHandler' ;
26
- import { MessagePickupHandler } from '../handlers/messagepickup /MessagePickupHandler' ;
27
- import { KeylistUpdateHandler } from '../handlers/coordinatemediation /KeylistUpdateHandler' ;
19
+ import { ConnectionRequestHandler } from '../modules /connections/handlers /ConnectionRequestHandler' ;
20
+ import { ConnectionResponseHandler } from '../modules /connections/handlers /ConnectionResponseHandler' ;
21
+ import { AckMessageHandler } from '../modules/connections/handlers /AckMessageHandler' ;
22
+ import { BasicMessageHandler } from '../modules/basic-messages/handlers /BasicMessageHandler' ;
23
+ import { ForwardHandler } from '../modules /routing/handlers /ForwardHandler' ;
24
+ import { TrustPingMessageHandler } from '../modules/connections/handlers /TrustPingMessageHandler' ;
25
+ import { TrustPingResponseMessageHandler } from '../modules/connections/handlers /TrustPingResponseMessageHandler' ;
26
+ import { MessagePickupHandler } from '../modules/routing/handlers /MessagePickupHandler' ;
27
+ import { KeylistUpdateHandler } from '../modules/routing/handlers /KeylistUpdateHandler' ;
28
28
import { MessageRepository } from '../storage/MessageRepository' ;
29
29
import { BasicMessageRecord } from '../storage/BasicMessageRecord' ;
30
30
import { Repository } from '../storage/Repository' ;
@@ -34,24 +34,24 @@ import { AgentConfig } from './AgentConfig';
34
34
import { Wallet } from '../wallet/Wallet' ;
35
35
import { ProvisioningRecord } from '../storage/ProvisioningRecord' ;
36
36
import { ProvisioningService } from './ProvisioningService' ;
37
- import { ConnectionsModule } from '../modules/ConnectionsModule' ;
38
- import { RoutingModule } from '../modules/RoutingModule' ;
39
- import { BasicMessagesModule } from '../modules/BasicMessagesModule' ;
40
- import { LedgerModule } from '../modules/LedgerModule' ;
41
- import { CredentialsModule } from '../modules/CredentialsModule' ;
42
- import { ProofsModule } from '../modules/ProofsModule' ;
43
- import { CredentialService } from '../protocols/issue-credential /CredentialService' ;
37
+ import { ConnectionsModule } from '../modules/connections/ ConnectionsModule' ;
38
+ import { RoutingModule } from '../modules/routing/ RoutingModule' ;
39
+ import { BasicMessagesModule } from '../modules/basic-messages/ BasicMessagesModule' ;
40
+ import { LedgerModule } from '../modules/ledger/ LedgerModule' ;
41
+ import { CredentialsModule } from '../modules/credentials/ CredentialsModule' ;
42
+ import { ProofsModule } from '../modules/proofs/ ProofsModule' ;
43
+ import { CredentialService } from '../modules/credentials /CredentialService' ;
44
44
import { CredentialRecord } from '../storage/CredentialRecord' ;
45
- import { OfferCredentialHandler } from '../handlers/issue-credential /OfferCredentialHandler' ;
46
- import { RequestCredentialHandler } from '../handlers/issue-credential /RequestCredentialHandler' ;
47
- import { IssueCredentialHandler } from '../handlers/issue-credential /IssueCredentialHandler' ;
48
- import { CredentialAckHandler } from '../handlers/issue-credential /CredentialAckHandler' ;
49
- import { RequestPresentationHandler } from '../handlers/present-proof /RequestPresentationHandler' ;
45
+ import { OfferCredentialHandler } from '../modules/credentials/handlers /OfferCredentialHandler' ;
46
+ import { RequestCredentialHandler } from '../modules/credentials/handlers /RequestCredentialHandler' ;
47
+ import { IssueCredentialHandler } from '../modules/credentials/handlers /IssueCredentialHandler' ;
48
+ import { CredentialAckHandler } from '../modules/credentials/handlers /CredentialAckHandler' ;
49
+ import { RequestPresentationHandler } from '../modules/proofs/handlers /RequestPresentationHandler' ;
50
50
import { ProofRecord } from '../storage/ProofRecord' ;
51
- import { ProposePresentationHandler } from '../handlers/present-proof /ProposePresentationHandler' ;
52
- import { PresentationAckHandler } from '../handlers/present-proof /PresentationAckHandler' ;
53
- import { PresentationHandler } from '../handlers/present-proof /PresentationHandler' ;
54
- import { ProposeCredentialHandler } from '../handlers/issue-credential /ProposeCredentialHandler' ;
51
+ import { ProposePresentationHandler } from '../modules/proofs/handlers /ProposePresentationHandler' ;
52
+ import { PresentationAckHandler } from '../modules/proofs/handlers /PresentationAckHandler' ;
53
+ import { PresentationHandler } from '../modules/proofs/handlers /PresentationHandler' ;
54
+ import { ProposeCredentialHandler } from '../modules/credentials/handlers /ProposeCredentialHandler' ;
55
55
56
56
export class Agent {
57
57
protected wallet : Wallet ;
0 commit comments