Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

@ew-did-registry/did

Package Overview
Dependencies
0
Maintainers
1
Versions
121
Issues
File Explorer

Advanced tools

@ew-did-registry/did

The interface of a Decentralised Identity

    0.8.0latest
    GitHub

Version published
Maintainers
1
Weekly downloads
871
increased by4.31%

Weekly downloads

Changelog

Source

0.8.0 (2022-09-29)

Code Refactoring

  • @ew-did-registry/did-ipfs-store: change infura ipfs on hosted cluster (4d5c031)

Features

  • expiration: add exp prop to ipublicclaim (f4ed866)
  • expiration: add exp to public claim before signing (3df553e)

BREAKING CHANGES

  • @ew-did-registry/did-ipfs-store: initializer of did store changed from ipfs node url to ipfs cluster root

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 29 Sep 2022

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc