@peculiar/asn1-schema
Advanced tools
Comparing version 2.0.29 to 2.0.32
@@ -52,3 +52,3 @@ "use strict"; | ||
const value = {}; | ||
value.valueHex = asn1Item.valueBlock.toBER(); | ||
value.valueHex = asn1Item instanceof asn1.Null ? asn1Item.valueBeforeDecode : asn1Item.valueBlock.toBER(); | ||
asn1Value.push(new asn1.Primitive(Object.assign({ optional: schemaItem.optional, idBlock: { | ||
@@ -55,0 +55,0 @@ tagClass: 3, |
@@ -49,3 +49,3 @@ import * as asn1 from "asn1js"; | ||
const value = {}; | ||
value.valueHex = asn1Item.valueBlock.toBER(); | ||
value.valueHex = asn1Item instanceof asn1.Null ? asn1Item.valueBeforeDecode : asn1Item.valueBlock.toBER(); | ||
asn1Value.push(new asn1.Primitive(Object.assign({ optional: schemaItem.optional, idBlock: { | ||
@@ -52,0 +52,0 @@ tagClass: 3, |
{ | ||
"name": "@peculiar/asn1-schema", | ||
"version": "2.0.29", | ||
"version": "2.0.32", | ||
"description": "Decorators for ASN.1 schemas building", | ||
@@ -56,3 +56,3 @@ "files": [ | ||
], | ||
"gitHead": "dbc214262a1abf50f42a052ecade1e7bf8116acc" | ||
"gitHead": "3f2193126cf4df87cf7120f6c1c8989d12c4957a" | ||
} |
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
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
284620