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

@ceramicnetwork/3id-did-resolver

Package Overview
Dependencies
Maintainers
4
Versions
622
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ceramicnetwork/3id-did-resolver - npm Package Compare versions

Comparing version 0.4.4 to 0.4.5-alpha.0

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [0.4.5-alpha.0](https://github.com/ceramicnetwork/js-ceramic/compare/@ceramicnetwork/3id-did-resolver@0.4.4...@ceramicnetwork/3id-did-resolver@0.4.5-alpha.0) (2020-10-13)
### Bug Fixes
* properly handle versions and key rotations ([#399](https://github.com/ceramicnetwork/js-ceramic/issues/399)) ([c70f04c](https://github.com/ceramicnetwork/js-ceramic/commit/c70f04c037929568e796cf4b7e523679c81818e1))
## [0.4.4](https://github.com/ceramicnetwork/js-ceramic/compare/@ceramicnetwork/3id-did-resolver@0.4.4-alpha.1...@ceramicnetwork/3id-did-resolver@0.4.4) (2020-10-07)

@@ -8,0 +19,0 @@

4

lib/index.js

@@ -15,2 +15,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.wrapDocument = void 0;
const bs58_1 = __importDefault(require("bs58"));

@@ -94,3 +95,4 @@ function wrapDocument(content, did) {

'3': (did, parsed) => __awaiter(void 0, void 0, void 0, function* () {
const doctype = yield ceramic.loadDocument(`/ceramic/${parsed.id}`);
const version = (parsed.query || '').replace('version-id', '?version');
const doctype = yield ceramic.loadDocument(`/ceramic/${parsed.id}${version}`);
return wrapDocument(doctype.content, did);

@@ -97,0 +99,0 @@ })

{
"name": "@ceramicnetwork/3id-did-resolver",
"version": "0.4.4",
"version": "0.4.5-alpha.0",
"description": "DID Resolver for the 3ID method",

@@ -30,3 +30,3 @@ "keywords": [

"dependencies": {
"@ceramicnetwork/ceramic-common": "^0.10.0",
"@ceramicnetwork/ceramic-common": "^0.10.1-alpha.0",
"bs58": "^4.0.1"

@@ -55,3 +55,3 @@ },

},
"gitHead": "8b87a86651c4a3bd4441c09b13c38ce8ed342e3c"
"gitHead": "ff8e5231fcffec78592c83d9f3bbc3a305956921"
}

Sorry, the diff of this file is not supported yet

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