Socket
Socket
Sign inDemoInstall

@ceramicnetwork/3id-did-resolver

Package Overview
Dependencies
0
Maintainers
3
Versions
475
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.1 to 0.1.3

19

CHANGELOG.md

@@ -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 @@

4

lib/index.d.ts
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

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