Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

daf-core

Package Overview
Dependencies
Maintainers
6
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

daf-core - npm Package Compare versions

Comparing version 4.0.0-beta.9 to 4.0.0-beta.11

4

package.json
{
"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 } })

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc