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

@github-did/lib

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@github-did/lib - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

package.json
{
"name": "@github-did/lib",
"version": "0.0.3",
"version": "0.0.4",
"description": "GitHub DID Library",

@@ -5,0 +5,0 @@ "main": "./src/index.js",

@@ -9,3 +9,3 @@ const signWithWallet = require("./signWithWallet");

if (options.signWithKID) {
doc = signWithWallet(doc, options.id, options.signWithKID, wallet);
doc = await signWithWallet(doc, options.id, options.signWithKID, wallet);
}

@@ -12,0 +12,0 @@

@@ -21,3 +21,3 @@ const openpgp = require("openpgp");

const didDoc = createDIDDoc(wallet, {
const didDoc = await createDIDDoc(wallet, {
includeKeysWithTags: [did],

@@ -24,0 +24,0 @@ id: did

@@ -21,3 +21,3 @@ const jsonld = require("jsonld");

return documentLoader(
"https://raw.githubusercontent.com/w3c/did-core/master/contexts/did-v0.11.jsonld"
"https://raw.githubusercontent.com/w3c-ccg/did-spec/gh-pages/contexts/did-v0.11.jsonld"
);

@@ -24,0 +24,0 @@ }

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