balanceofsatoshis 11.45.0 → 11.45.1

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
- ## 11.45.0
3
+ ## 11.45.1
4
4
 
5
5
  - `increase-inbound-liquidity`: Add support for formulas in `--amount`
6
6
 
package/package.json CHANGED
@@ -37,7 +37,7 @@
37
37
  "ln-accounting": "5.0.5",
38
38
  "ln-service": "53.6.0",
39
39
  "ln-sync": "3.9.0",
40
- "ln-telegram": "3.12.0",
40
+ "ln-telegram": "3.12.1",
41
41
  "moment": "2.29.1",
42
42
  "paid-services": "3.11.0",
43
43
  "probing": "2.0.2",
@@ -81,5 +81,5 @@
81
81
  "postpublish": "docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t alexbosworth/balanceofsatoshis --push .",
82
82
  "test": "tap --branches=1 --functions=1 --lines=1 --statements=1 -t 60 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/wallets/*.js"
83
83
  },
84
- "version": "11.45.0"
84
+ "version": "11.45.1"
85
85
  }
@@ -599,15 +599,14 @@ module.exports = (args, cbk) => {
599
599
  return postClosedMessage({
600
600
  from,
601
601
  lnd,
602
- request,
603
602
  capacity: update.capacity,
604
603
  id: connectedId,
605
604
  is_breach_close: update.is_breach_close,
606
605
  is_cooperative_close: update.is_cooperative_close,
607
606
  is_local_force_close: update.is_local_force_close,
608
607
  is_remote_force_close: update.is_remote_force_close,
609
- key: apiKey.key,
610
608
  partner_public_key: update.partner_public_key,
609
+ send: (id, message) => bot.api.sendMessage(id, message, markdown),
611
610
  },
612
611
  err => !!err ? logger.error({node: from, closed_err: err}) : null);
613
612
  });
@@ -616,13 +615,12 @@ module.exports = (args, cbk) => {
616
615
  return postOpenMessage({
617
616
  from,
618
617
  lnd,
619
- request,
620
618
  capacity: update.capacity,
621
619
  id: connectedId,
622
620
  is_partner_initiated: update.is_partner_initiated,
623
621
  is_private: update.is_private,
624
- key: apiKey.key,
625
622
  partner_public_key: update.partner_public_key,
623
+ send: (id, message) => bot.api.sendMessage(id, message, markdown),
626
624
  },
627
625
  err => !!err ? logger.error({open_err: err}) : null);
628
626
  });
@@ -899,10 +897,9 @@ module.exports = (args, cbk) => {
899
897
 
900
898
  return await postChainTransaction({
901
899
  from,
902
- request,
903
900
  confirmed: transaction.is_confirmed,
904
901
  id: connectedId,
905
- key: apiKey.key,
902
+ send: (id, message) => bot.api.sendMessage(id, message, markdown),
906
903
  transaction: record,
907
904
  });
908
905
  } catch (err) {