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

did-resolver

Package Overview
Dependencies
Maintainers
7
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

did-resolver - npm Package Compare versions

Comparing version 3.1.3 to 3.1.4

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [3.1.4](https://github.com/decentralized-identity/did-resolver/compare/3.1.3...3.1.4) (2021-12-04)
### Bug Fixes
* add optional `[@context](https://github.com/context)` to result data type ([#108](https://github.com/decentralized-identity/did-resolver/issues/108)) ([39a3301](https://github.com/decentralized-identity/did-resolver/commit/39a330197b2125b59456284e01732340149bab82))
## [3.1.3](https://github.com/decentralized-identity/did-resolver/compare/3.1.2...3.1.3) (2021-10-26)

@@ -2,0 +9,0 @@

1

lib/resolver.d.ts
export declare type Extensible = Record<string, any>;
export interface DIDResolutionResult {
'@context'?: 'https://w3id.org/did-resolution/v1' | string | string[];
didResolutionMetadata: DIDResolutionMetadata;

@@ -4,0 +5,0 @@ didDocument: DIDDocument | null;

2

lib/resolver.js

@@ -114,3 +114,3 @@ // Copyright 2018 Consensys AG

error: 'notFound',
message: e.toString() // This is not in spec, nut may be helpful
message: e.toString() // This is not in spec, but may be helpful

@@ -117,0 +117,0 @@ }

@@ -100,3 +100,3 @@ function _extends() {

error: 'notFound',
message: e.toString() // This is not in spec, nut may be helpful
message: e.toString() // This is not in spec, but may be helpful

@@ -103,0 +103,0 @@ }

@@ -114,3 +114,3 @@ // Copyright 2018 Consensys AG

error: 'notFound',
message: e.toString() // This is not in spec, nut may be helpful
message: e.toString() // This is not in spec, but may be helpful

@@ -117,0 +117,0 @@ }

@@ -119,3 +119,3 @@ (function (global, factory) {

error: 'notFound',
message: e.toString() // This is not in spec, nut may be helpful
message: e.toString() // This is not in spec, but may be helpful

@@ -122,0 +122,0 @@ }

{
"name": "did-resolver",
"version": "3.1.3",
"version": "3.1.4",
"description": "Resolve DID documents",

@@ -49,25 +49,25 @@ "source": "src/resolver.ts",

"devDependencies": {
"@babel/core": "7.14.6",
"@babel/preset-env": "7.14.7",
"@babel/preset-typescript": "7.14.5",
"@babel/core": "7.16.0",
"@babel/preset-env": "7.16.4",
"@babel/preset-typescript": "7.16.0",
"@semantic-release/changelog": "5.0.1",
"@semantic-release/git": "9.0.0",
"@types/jest": "27.0.1",
"@typescript-eslint/eslint-plugin": "4.28.1",
"@typescript-eslint/parser": "4.28.1",
"babel-jest": "27.0.6",
"@semantic-release/git": "9.0.1",
"@types/jest": "27.0.2",
"@typescript-eslint/eslint-plugin": "4.33.0",
"@typescript-eslint/parser": "4.33.0",
"babel-jest": "27.3.1",
"codecov": "3.8.2",
"eslint": "7.29.0",
"eslint": "7.32.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-jest": "24.3.6",
"eslint-plugin-jest": "24.7.0",
"eslint-plugin-prettier": "4.0.0",
"jest": "27.0.6",
"microbundle": "0.13.3",
"prettier": "2.3.2",
"semantic-release": "17.4.4",
"typescript": "4.3.4"
"jest": "27.3.1",
"microbundle": "0.14.1",
"prettier": "2.4.1",
"semantic-release": "17.4.7",
"typescript": "4.5.2"
},
"resolutions": {
"@babel/core": "7.15.8"
"@babel/core": "7.16.0"
}
}

@@ -19,2 +19,3 @@ // Copyright 2018 Consensys AG

export interface DIDResolutionResult {
'@context'?: 'https://w3id.org/did-resolution/v1' | string | string[]
didResolutionMetadata: DIDResolutionMetadata

@@ -210,3 +211,3 @@ didDocument: DIDDocument | null

}
} catch (e) {
} catch (e: any) {
return {

@@ -216,3 +217,3 @@ ...EMPTY_RESULT,

error: 'notFound',
message: e.toString(), // This is not in spec, nut may be helpful
message: e.toString(), // This is not in spec, but may be helpful
},

@@ -219,0 +220,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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