@moneydevkit/core 0.14.0-beta.5 → 0.14.0-beta.7
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.
|
@@ -24,7 +24,7 @@ const webhookSchema = z.union([
|
|
|
24
24
|
const POLL_INTERVAL_MS = 100;
|
|
25
25
|
// Minimum time that we'll run the lightning node when handling incoming payments.
|
|
26
26
|
// This needs to be long enough for JIT channel opening and HTLC commitment exchanges.
|
|
27
|
-
const MIN_WAIT_BEFORE_QUIET_MS =
|
|
27
|
+
const MIN_WAIT_BEFORE_QUIET_MS = 40_000;
|
|
28
28
|
// After the minimum wait, how long to wait with no events before disconnecting.
|
|
29
29
|
// This must be generous enough for the LSP to complete commitment exchanges after
|
|
30
30
|
// forwarding — the merchant sees its last event (e.g., PaymentClaimable) but the
|