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

did-resolver

Package Overview
Dependencies
Maintainers
5
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 4.0.1 to 4.1.0

13

lib/resolver.d.ts

@@ -135,3 +135,16 @@ /**

ethereumAddress?: string;
conditionOr?: VerificationMethod[];
conditionAnd?: VerificationMethod[];
threshold?: number;
conditionThreshold?: VerificationMethod[];
conditionWeightedThreshold?: ConditionWeightedThreshold[];
conditionDelegated?: string;
relationshipParent?: string[];
relationshipChild?: string[];
relationshipSibling?: string[];
}
export interface ConditionWeightedThreshold {
condition: VerificationMethod;
weight: number;
}
/**

@@ -138,0 +151,0 @@ * URI params resulting from parsing a DID URI

6

package.json
{
"name": "did-resolver",
"version": "4.0.1",
"version": "4.1.0",
"description": "Resolve DID documents",

@@ -30,3 +30,5 @@ "type": "module",

"contributors": [
"Mircea Nistor <mircea.nistor@mesh.xyz>"
"Mircea Nistor <mircea.nistor@mesh.xyz>",
"Jack Tanner <jack+public@tonomy.foundation>",
"Rebal Alhaqash <rebal@tonomy.foundation>"
],

@@ -33,0 +35,0 @@ "license": "Apache-2.0",

@@ -168,4 +168,20 @@ // Copyright 2018 Consensys AG

ethereumAddress?: string
// ConditionalProof2022 subtypes
conditionOr?: VerificationMethod[]
conditionAnd?: VerificationMethod[]
threshold?: number
conditionThreshold?: VerificationMethod[]
conditionWeightedThreshold?: ConditionWeightedThreshold[]
conditionDelegated?: string
relationshipParent?: string[]
relationshipChild?: string[]
relationshipSibling?: string[]
}
export interface ConditionWeightedThreshold {
condition: VerificationMethod
weight: number
}
/**

@@ -172,0 +188,0 @@ * URI params resulting from parsing a DID URI

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