From da77d57392c8f76841493b5066b4ca3a0d722fd9 Mon Sep 17 00:00:00 2001 From: Ross Savage Date: Fri, 9 Feb 2024 09:31:14 +0100 Subject: [PATCH 1/2] Fix links when landing at root URL --- src/guide/getting_started.md | 4 ++-- src/guide/payment_notification.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/guide/getting_started.md b/src/guide/getting_started.md index 548b0a1f..358a673b 100644 --- a/src/guide/getting_started.md +++ b/src/guide/getting_started.md @@ -27,7 +27,7 @@ Join this [telegram group](https://t.me/breezsdk) or email us at -You are now ready to receive a Lightning [payment](payments.md). +You are now ready to receive a Lightning [payment](/guide/payments.md). diff --git a/src/guide/payment_notification.md b/src/guide/payment_notification.md index 770f2f0f..54fba4cc 100644 --- a/src/guide/payment_notification.md +++ b/src/guide/payment_notification.md @@ -1,6 +1,6 @@ # Receiving payments via mobile notifications -The Breez SDK provides users the ability to receive Lightning payments via mobile notifications. It uses a webhook that allows your application to be notified (via a pre-specified URL) when a payment is about to be received. To use this feature, you need to set up a webhook that an LSP can call when a payment is received and [register it in the Breez SDK](https://sdk-doc.breez.technology/guide/payment_notification.html#step-3-register-a-webhook). This webhook, a URL endpoint in your application, will handle incoming payment notifications. This URL should be capable of receiving POST requests. The payment received webhook payload is json formatted and contains the following structure: +The Breez SDK provides users the ability to receive Lightning payments via mobile notifications. It uses a webhook that allows your application to be notified (via a pre-specified URL) when a payment is about to be received. To use this feature, you need to set up a webhook that an LSP can call when a payment is received and [register it in the Breez SDK](payment_notification.html#step-3-register-a-webhook). This webhook, a URL endpoint in your application, will handle incoming payment notifications. This URL should be capable of receiving POST requests. The payment received webhook payload is json formatted and contains the following structure:

From f912d7d5c0c5a312ed0a2430487323d05f15cdd2 Mon Sep 17 00:00:00 2001
From: Ross Savage 
Date: Fri, 9 Feb 2024 09:48:19 +0100
Subject: [PATCH 2/2] Fix trailing spaces CI error

---
 snippets/react-native/closed_channel.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/snippets/react-native/closed_channel.ts b/snippets/react-native/closed_channel.ts
index 6aa1b105..bf674748 100644
--- a/snippets/react-native/closed_channel.ts
+++ b/snippets/react-native/closed_channel.ts
@@ -7,7 +7,7 @@ const examplePrepareRedeemOnchainFunds = async (feeRate: number) => {
   // ANCHOR: prepare-redeem-onchain-funds
   try {
     const toAddress = 'bc1..'
-    const satPerVbyte = feeRate  
+    const satPerVbyte = feeRate
     const prepareRedeemOnchainFundsResp = await prepareRedeemOnchainFunds({ toAddress, satPerVbyte })
   } catch (err) {
     console.error(err)