Socket
Socket
Sign inDemoInstall

bolt12-decoder

Package Overview
Dependencies
Maintainers
1
Versions
9
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.8 to 0.0.9

2

package.json
{
"name": "bolt12-decoder",
"version": "0.0.8",
"version": "0.0.9",
"description": "Decode BOLT12 Offers",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -52,8 +52,2 @@ import { Buffer } from 'buffer'

if ('offer_absolute_expiry' in final) {
if (final['offer_absolute_expiry'] < new Date() / 1000) {
throw Error('Absolute_expiry has passed!')
}
}
return true

@@ -60,0 +54,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