Socket
Socket
Sign inDemoInstall

@ew-did-registry/did

Package Overview
Dependencies
0
Maintainers
1
Versions
144
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @ew-did-registry/did

The interface of a Decentralised Identity


Version published
Maintainers
1
Created

Changelog

Source

0.7.0 (2022-08-09)

Bug Fixes

  • @ew-did-registry/claims: mv sjcl types to dev deps (866ddbf)
  • @ew-did-registry/credentials-governance: add vprequest to exchange selection (be00f68)
  • @ew-did-registry/credentials-interface: change status list 2021 entry (1c815f5)
  • @ew-did-registry/credentials-interface: presentation definitionf from pex (7992b92)
  • @ew-did-registry/jwt: replace deep import from (10f155b)
  • @ew-did-registry/verification: join status list errors (ebcc9b2)
  • add sjcl types to dependencies (994a040)
  • credential extends type (bca04ff)
  • deploy.yml: preventing double run (#348) (eb2ebbc)
  • fix i and open-zeppelin vulnerabilities (3dd879e)
  • GH_Action: setting permissions on GITHUB_TOKEN to replace Personal Access Token usage (#345) (57e0fe5)
  • jwy: remove fractional digits from exp (7e183b8)
  • proofVerifier: using addressOf() to get address (b19681f)
  • remove support for DWN service endpoints (994bb6f)
  • serviceEndpoint: Service should have service endpoint (67db59a)
  • types: update pex types (83b3eb6)
  • validate credential status without status list (4308f21)
  • wrapDidDocument: actually make copy (68529df)

Features

  • @ew-did-registry/claims: verify assertion by address (bd38798)
  • @ew-did-registry/credentials-interface: add exchange types (0083119)
  • @ew-did-registry/credentials-interface: status list types (b902b07)
  • @ew-did-registry/jwt: verify ES256 (028fb9c)
  • @ew-did-registry/revocation: verify credential status (d848ba6)
  • add exchange continue types (dcbe407)
  • build: config packages webpack (33ae38d)
  • build: polyfill Node.js modules (42c5e23)
  • build: separate node and web configs (aa14bd3)
  • claim: add credentialstatus prop to ipublicclaim (aee7959)
  • claim: add expiration timestamp to public claims (69b56a4)
  • credentials-interface: add credentials-interface package (9003e31)
  • credentials-interface: add exchange type validation (a70a57c)
  • credentials-interface: export utils (1481a5b)
  • did: updatePublicKey and updateDelegate in did (9b0ba02)
  • jwt: add jwt expiration (4ee1c65)
  • rename vc api exchange (a36dc3c)
  • revocation: add cred status to signed data (eccad52)
  • revocation: remove not null check (9253447)
  • revocation: remove onchain claim revocation code (294da8d)
  • revocation: update naming convention in context to credentials (b76c93b)
  • status-list-entry: make fetchStatusListCredential public (2c295a8)
  • update isValidErc1056 to accept DID address with chain name (90b1c59)

BREAKING CHANGES

  • @ew-did-registry/jwt: JWT initialized from Keys and Signer are non-standard ES256K

Readme

Source

DID Package

The DID Package provides a clean interface which allows the client to store and use different DIDs depending on the network. The did will be aware of the different network and method syntax.

We are working on making the did package more useful.

// Instantiate the DID holder
const DID = new IDID();

// Setting the DID; network is inferred from the DID
DID.set(energyDid);

// Setting the DID by explicitly providing the network
DID.set(Networks.EnergyWeb, energyAddress);

// Retrieving current DID for the specified network.
// Returns either the respective DID or undefined
const id = DID.get(Networks.EnergyWeb);

Keywords

FAQs

Last updated on 09 Aug 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc