Comparing version 0.0.18 to 0.0.19
@@ -1,2 +0,2 @@ | ||
import { Resolver } from 'did-resolver'; | ||
import { DIDDocument } from 'did-resolver'; | ||
import { IdentityManager, IdentityController } from './identity-manager'; | ||
@@ -12,2 +12,5 @@ import { ServiceControllerWithConfig, LastMessageTimestamp } from './service-manager'; | ||
}; | ||
export interface Resolver { | ||
resolve(did: string): Promise<DIDDocument | null>; | ||
} | ||
interface Config { | ||
@@ -14,0 +17,0 @@ didResolver: Resolver; |
@@ -1,2 +0,2 @@ | ||
export { Core, EventTypes } from './core'; | ||
export { Core, EventTypes, Resolver } from './core'; | ||
export { AbstractActionHandler } from './action-handler'; | ||
@@ -3,0 +3,0 @@ export { EncryptionKeyManager, KeyPair } from './encryption-manager'; |
@@ -1,2 +0,3 @@ | ||
import { Resolver, DIDDocument } from 'did-resolver'; | ||
import { DIDDocument } from 'did-resolver'; | ||
import { Resolver } from './core'; | ||
import { Issuer } from './identity-manager'; | ||
@@ -3,0 +4,0 @@ import { RawMessage } from './types'; |
{ | ||
"name": "daf-core", | ||
"description": "DID Agent Framework Core", | ||
"version": "0.0.18", | ||
"version": "0.0.19", | ||
"main": "build/index.js", | ||
@@ -31,3 +31,3 @@ "types": "build/index.d.ts", | ||
"keywords": [], | ||
"gitHead": "59237e8fa146dd4dc50ba8d5a72ac911dcadd02b" | ||
"gitHead": "6b4b6fcbb6efdbe925a4ae29ef058f2eb3d6650f" | ||
} |
import PubSub from 'pubsub-js' | ||
import { Resolver } from 'did-resolver' | ||
import { DIDDocument } from 'did-resolver' | ||
import { IdentityManager, IdentityController } from './identity-manager' | ||
@@ -28,2 +28,6 @@ import { | ||
export interface Resolver { | ||
resolve(did: string): Promise<DIDDocument | null> | ||
} | ||
interface Config { | ||
@@ -30,0 +34,0 @@ didResolver: Resolver |
@@ -1,2 +0,2 @@ | ||
export { Core, EventTypes } from './core' | ||
export { Core, EventTypes, Resolver } from './core' | ||
export { AbstractActionHandler } from './action-handler' | ||
@@ -3,0 +3,0 @@ export { EncryptionKeyManager, KeyPair } from './encryption-manager' |
@@ -1,2 +0,3 @@ | ||
import { Resolver, DIDDocument } from 'did-resolver' | ||
import { DIDDocument } from 'did-resolver' | ||
import { Resolver } from './core' | ||
import { Issuer } from './identity-manager' | ||
@@ -3,0 +4,0 @@ import { RawMessage } from './types' |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
96454
1747