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

bolt12-decoder

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bolt12-decoder - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"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 @@ }

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