@github-did/lib
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"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 @@ } |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a 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
59866
3