bolt12-decoder
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "bolt12-decoder", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Decode BOLT12 Offers", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -245,3 +245,6 @@ import { Buffer } from 'buffer' | ||
if (tagCode > 0 && tagCode < 80) { | ||
if ( | ||
(prefix === 'lno' && tagCode > 0 && tagCode < 80) || | ||
((prefix === 'lni' || prefix === 'lnr') && tagCode < 240) | ||
) { | ||
tags.push(Buffer.concat([Buffer.from(tlvs.slice(0, 2)), tlvs[2]]).toString('hex')) | ||
@@ -248,0 +251,0 @@ } |
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
31552
970