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

bolt07

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bolt07 - npm Package Compare versions

Comparing version 1.9.0 to 1.9.1

2

CHANGELOG.md
# Versions
## 1.9.0
## 1.9.1

@@ -5,0 +5,0 @@ - `hopsFromChannels`, `routeFromChannels`, `routeFromHops`: Add support for

@@ -31,3 +31,3 @@ {

},
"version": "1.9.0"
"version": "1.9.1"
}

@@ -51,7 +51,7 @@ const none = '0';

// Exit early when the discount drowns out the fee
if (-discount > fee) {
if (discount > fee) {
return {fee_mtokens: none};
}
return {fee_mtokens: (fee + discount).toString()};
return {fee_mtokens: (fee - discount).toString()};
};

@@ -39,4 +39,4 @@ const strictSame = require('node:assert').strict.deepStrictEqual;

fee_rate: 1,
inbound_base_discount_mtokens: '-1',
inbound_rate_discount: -1,
inbound_base_discount_mtokens: '1',
inbound_rate_discount: 1,
},

@@ -53,4 +53,4 @@ },

fee_rate: 1,
inbound_base_discount_mtokens: '-10',
inbound_rate_discount: -1,
inbound_base_discount_mtokens: '10',
inbound_rate_discount: 1,
},

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