Comparing version 2.1.79 to 2.1.80
@@ -104,2 +104,7 @@ "use strict"; | ||
static blockName() { | ||
return "AttributeTypeAndValue"; | ||
} //********************************************************************************** | ||
/** | ||
@@ -169,3 +174,3 @@ * Convert parsed asn1js object into current class | ||
if (compareTo instanceof AttributeTypeAndValue) { | ||
if (compareTo.constructor.blockName() === AttributeTypeAndValue.blockName()) { | ||
if (this.type !== compareTo.type) return false; //region Check we do have both strings | ||
@@ -172,0 +177,0 @@ |
@@ -108,3 +108,3 @@ { | ||
"name": "pkijs", | ||
"version": "2.1.79", | ||
"version": "2.1.80", | ||
"license": "BSD-3-Clause", | ||
@@ -111,0 +111,0 @@ "esdoc": { |
@@ -90,2 +90,7 @@ import * as asn1js from "asn1js"; | ||
//********************************************************************************** | ||
static blockName() | ||
{ | ||
return "AttributeTypeAndValue"; | ||
} | ||
//********************************************************************************** | ||
/** | ||
@@ -182,3 +187,3 @@ * Convert parsed asn1js object into current class | ||
if(compareTo instanceof AttributeTypeAndValue) | ||
if(compareTo.constructor.blockName() === AttributeTypeAndValue.blockName()) | ||
{ | ||
@@ -185,0 +190,0 @@ if(this.type !== compareTo.type) |
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
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
4404493
62743