balanceofsatoshis 19.4.1 → 19.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Versions
2
2
 
3
- ## 19.4.1
3
+ ## 19.4.2
4
4
 
5
5
  - `rebalance`: Correct for new fee buffer on close-to-balance rebalances
6
6
 
@@ -415,7 +415,7 @@ module.exports = (args, cbk) => {
415
415
  max_fee: args.max_fee,
416
416
  max_fee_mtokens: args.max_fee_mtokens,
417
417
  mtokens: !BigInt(to.mtokens) ? tokAsMtok(defaultTokens) : to.mtokens,
418
- outgoing_channel: outId.id,
418
+ outgoing_channel: !!outId ? outId.id : undefined,
419
419
  payment: to.payment,
420
420
  routes: to.routes,
421
421
  tagged: !!getIcons ? getIcons.nodes : undefined,
package/package.json CHANGED
@@ -83,5 +83,5 @@
83
83
  "postpublish": "docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t alexbosworth/balanceofsatoshis -t alexbosworth/balanceofsatoshis:$npm_package_version --push .",
84
84
  "test": "npx nyc@17.0.0 node --experimental-test-coverage --test test/arrays/*.js test/balances/*.js test/chain/*.js test/display/*.js test/encryption/*.js test/lnd/*.js test/network/*.js test/nodes/*.js test/peers/*.js test/responses/*.js test/routing/*.js test/services/*.js test/swaps/*.js test/tags/*.js test/telegram/*.js test/wallets/*.js"
85
85
  },
86
- "version": "19.4.1"
86
+ "version": "19.4.2"
87
87
  }