Comparing version 4.0.0-beta.9 to 4.0.0-beta.11
{ | ||
"name": "daf-core", | ||
"description": "DID Agent Framework Core", | ||
"version": "4.0.0-beta.9+23b320f", | ||
"version": "4.0.0-beta.11+d374d73", | ||
"main": "build/index.js", | ||
@@ -31,3 +31,3 @@ "types": "build/index.d.ts", | ||
"keywords": [], | ||
"gitHead": "23b320f3eb7237e4336ba2a068fe3588f0ce57a3" | ||
"gitHead": "d374d739bbf28655ed9cb546d7d785fafad94f4c" | ||
} |
@@ -9,2 +9,7 @@ export interface ServiceEndpoint { | ||
export abstract class AbstractIdentityController { | ||
/** | ||
* | ||
* @param type String | ||
* @param proofPurpose String[] | ||
*/ | ||
addPublicKey(type: string, proofPurpose?: string[]): Promise<string> { | ||
@@ -14,2 +19,6 @@ return Promise.reject('Method addPublicKey not implemented') | ||
/** | ||
* | ||
* @param keyId String | ||
*/ | ||
removePublicKey(keyId: string): Promise<boolean> { | ||
@@ -16,0 +25,0 @@ return Promise.reject('Method removePublicKey not implemented') |
@@ -39,2 +39,7 @@ import { AbstractIdentityStore, SerializedIdentity } from '../identity/abstract-identity-store' | ||
/** | ||
* | ||
* @param did DID address | ||
* @param serializedIdentity SerializedIdentity | ||
*/ | ||
async set(did: string, serializedIdentity: SerializedIdentity) { | ||
@@ -58,2 +63,5 @@ const identity = new Identity() | ||
/** | ||
* List dids | ||
*/ | ||
async listDids() { | ||
@@ -60,0 +68,0 @@ const identities = await Identity.find({ where: { provider: this.provider } }) |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
229660
4300