@ceramicnetwork/3id-did-resolver
Advanced tools
Comparing version 0.1.1 to 0.1.3
@@ -6,2 +6,21 @@ # Change Log | ||
## [0.1.3](https://github.com/ceramicnetwork/js-ceramic/compare/@ceramicnetwork/3id-did-resolver@0.1.2...@ceramicnetwork/3id-did-resolver@0.1.3) (2020-07-13) | ||
### Bug Fixes | ||
* **account-template:** fix import ([3a660d7](https://github.com/ceramicnetwork/js-ceramic/commit/3a660d72f654d7614f207587b5086888c9da6273)) | ||
## [0.1.2](https://github.com/ceramicnetwork/js-ceramic/compare/@ceramicnetwork/3id-did-resolver@0.1.1...@ceramicnetwork/3id-did-resolver@0.1.2) (2020-07-13) | ||
**Note:** Version bump only for package @ceramicnetwork/3id-did-resolver | ||
## [0.1.1](https://github.com/ceramicnetwork/js-ceramic/compare/@ceramicnetwork/3id-did-resolver@0.1.0...@ceramicnetwork/3id-did-resolver@0.1.1) (2020-04-17) | ||
@@ -8,0 +27,0 @@ |
import type { DIDResolver, DIDDocument } from 'did-resolver'; | ||
interface Document { | ||
interface Doctype { | ||
content: any; | ||
} | ||
interface Ceramic { | ||
loadDocument(docId: string): Promise<Document>; | ||
loadDocument(docId: string): Promise<Doctype>; | ||
} | ||
@@ -8,0 +8,0 @@ interface ResolverRegistry { |
@@ -37,4 +37,4 @@ "use strict"; | ||
'3': (did, parsed) => __awaiter(void 0, void 0, void 0, function* () { | ||
const doc = yield ceramic.loadDocument(`/ceramic/${parsed.id}`); | ||
return wrapDocument(doc.content, did); | ||
const doctype = yield ceramic.loadDocument(`/ceramic/${parsed.id}`); | ||
return wrapDocument(doctype.content, did); | ||
}) | ||
@@ -41,0 +41,0 @@ }) |
{ | ||
"name": "@ceramicnetwork/3id-did-resolver", | ||
"version": "0.1.1", | ||
"version": "0.1.3", | ||
"description": "DID Resolver for the 3ID method", | ||
@@ -38,3 +38,3 @@ "keywords": [ | ||
"babel-jest": "^25.1.0", | ||
"did-resolver": "^1.1.0", | ||
"did-resolver": "^2.0.1", | ||
"eslint": "^6.8.0", | ||
@@ -50,3 +50,3 @@ "eslint-plugin-jest": "^23.8.2", | ||
}, | ||
"gitHead": "c955e7f399c41b2fad9611adf5e9b9ba5ed7d817" | ||
"gitHead": "8dd71e2083468ac295f68417ffcc5ec80913a69b" | ||
} |
Sorry, the diff of this file is not supported yet
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
7209
1