Skip to content

Commit

Permalink
fix: Removing daf-sodium-fs and encryptionmanager
Browse files Browse the repository at this point in the history
  • Loading branch information
simonas-notcat committed Feb 11, 2020
1 parent 552c967 commit 1ea064d
Show file tree
Hide file tree
Showing 17 changed files with 9 additions and 544 deletions.
1 change: 0 additions & 1 deletion examples/expressjs-ethr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"daf-resolver": "^1.1.0",
"daf-resolver-universal": "^1.1.0",
"daf-selective-disclosure": "^1.5.1",
"daf-sodium-fs": "^1.4.1",
"daf-trust-graph": "^1.4.1",
"daf-url": "^1.4.1",
"daf-w3c": "^1.4.1",
Expand Down
1 change: 0 additions & 1 deletion examples/expressjs-ethr/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
{ "path": "../../packages/daf-resolver" },
{ "path": "../../packages/daf-resolver-universal" },
{ "path": "../../packages/daf-selective-disclosure" },
{ "path": "../../packages/daf-sodium-fs" },
{ "path": "../../packages/daf-trust-graph" },
{ "path": "../../packages/daf-url" },
{ "path": "../../packages/daf-w3c" }
Expand Down
1 change: 0 additions & 1 deletion packages/daf-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"daf-resolver": "^1.1.0",
"daf-resolver-universal": "^1.1.0",
"daf-selective-disclosure": "^1.5.1",
"daf-sodium-fs": "^1.4.1",
"daf-trust-graph": "^1.4.1",
"daf-url": "^1.4.1",
"daf-w3c": "^1.4.1",
Expand Down
1 change: 0 additions & 1 deletion packages/daf-cli/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
{ "path": "../daf-resolver" },
{ "path": "../daf-resolver-universal" },
{ "path": "../daf-selective-disclosure" },
{ "path": "../daf-sodium-fs" },
{ "path": "../daf-trust-graph" },
{ "path": "../daf-url" },
{ "path": "../daf-w3c" }
Expand Down
5 changes: 0 additions & 5 deletions packages/daf-core/src/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { ServiceControllerDerived } from './service/abstract-service-controller'
import { MessageValidator, unsupportedMessageTypeError } from './message/abstract-message-validator'
import { ActionHandler } from './action/action-handler'
import { Action } from './types'
import { EncryptionKeyManager } from './encryption-manager'
import { Message } from './message/message'

import Debug from 'debug'
Expand All @@ -28,12 +27,10 @@ interface Config {
serviceControllers: ServiceControllerDerived[]
messageValidator: MessageValidator
actionHandler?: ActionHandler
encryptionKeyManager?: EncryptionKeyManager
}

export class Core extends EventEmitter {
public identityManager: IdentityManager
public encryptionKeyManager?: EncryptionKeyManager
public didResolver: Resolver
private serviceManager: ServiceManager
private messageValidator: MessageValidator
Expand All @@ -46,8 +43,6 @@ export class Core extends EventEmitter {
identityProviders: config.identityProviders,
})

this.encryptionKeyManager = config.encryptionKeyManager

this.didResolver = config.didResolver

this.serviceManager = new ServiceManager({
Expand Down
16 changes: 0 additions & 16 deletions packages/daf-core/src/encryption-manager.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/daf-core/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
export { Core, EventTypes, Resolver } from './core'
export { AbstractActionHandler } from './action/action-handler'
export { EncryptionKeyManager, KeyPair } from './encryption-manager'
export { IdentityManager } from './identity/identity-manager'
export { AbstractIdentity } from './identity/abstract-identity'
export { AbstractIdentityProvider, IdentityProviderDerived } from './identity/abstract-identity-provider'
Expand Down
179 changes: 0 additions & 179 deletions packages/daf-sodium-fs/CHANGELOG.md

This file was deleted.

Loading

0 comments on commit 1ea064d

Please sign in to comment.