Skip to content

Commit

Permalink
feat: remove storages in AgentServicesProps
Browse files Browse the repository at this point in the history
  • Loading branch information
Sotatek-HocNguyena committed May 8, 2024
1 parent 8ad3edb commit c935c28
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions src/core/agent/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,6 @@ class Agent {
this.agentServicesProps = {
signifyClient: this.signifyClient,
eventService: new EventService(),
identifierStorage: new IdentifierStorage(
this.getStorageService<IdentifierMetadataRecord>(this.storageSession)
),
credentialStorage: new CredentialStorage(
this.getStorageService<CredentialMetadataRecord>(this.storageSession)
),
};

(this.peerConnectionStorage = new PeerConnectionStorage(
Expand Down
2 changes: 0 additions & 2 deletions src/core/agent/agent.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,6 @@ interface KeriaNotificationMarker {
interface AgentServicesProps {
signifyClient: SignifyClient;
eventService: EventService;
identifierStorage: IdentifierStorage;
credentialStorage: CredentialStorage;
}

interface CreateIdentifierResult {
Expand Down

0 comments on commit c935c28

Please sign in to comment.