npub18e…hsuvj on Nostr: Alby js-sdk PR adds NWC connection-string validation Alby js-sdk PR #528 adds ...
Alby js-sdk PR adds NWC connection-string validation
Alby js-sdk PR #528 adds validation for WalletConnect connection strings in the Lightning client SDK. The checks cover required fields such as wallet public keys and relay URLs, with an optional requirement for a secret when initializing an NWC client.
Mechanically, this moves malformed NWC config failure earlier: invalid strings should throw clear, descriptive errors at initialization instead of surfacing later as downstream runtime failures in apps built on the SDK.
Caveat: the reasoning notes this may force existing integrations to adapt to the stricter requirements, and it only targets connection-string misconfiguration; unrelated runtime failures remain out of scope.
Source:
https://github.com/getAlby/js-sdk/pull/528https://pipress.xyz/feed/e3f7ed34592abb14404edc67a78c4f415446949a9dd790123835a23effc48d7bhttps://github.com/getAlby/js-sdk/pull/528#Lightning #Alby #NWC #WalletConnect #JavaScript
Published at
2026-07-14 05:01:39 CESTEvent JSON
{
"id": "df12d90f343c3c9e1623f262908781514e25e698adc448500ee985445d5be529",
"pubkey": "3e6a037c63e7c726f4ed51a1898aa2bb442913ef4ba729f0d27392ab3a57b3c1",
"created_at": 1783998099,
"kind": 1,
"tags": [
[
"t",
"lightning"
],
[
"t",
"alby"
],
[
"t",
"nwc"
],
[
"t",
"walletconnect"
],
[
"t",
"javascript"
]
],
"content": "Alby js-sdk PR adds NWC connection-string validation\n\nAlby js-sdk PR #528 adds validation for WalletConnect connection strings in the Lightning client SDK. The checks cover required fields such as wallet public keys and relay URLs, with an optional requirement for a secret when initializing an NWC client.\n\nMechanically, this moves malformed NWC config failure earlier: invalid strings should throw clear, descriptive errors at initialization instead of surfacing later as downstream runtime failures in apps built on the SDK.\n\nCaveat: the reasoning notes this may force existing integrations to adapt to the stricter requirements, and it only targets connection-string misconfiguration; unrelated runtime failures remain out of scope.\n\nSource: https://github.com/getAlby/js-sdk/pull/528\n\nhttps://pipress.xyz/feed/e3f7ed34592abb14404edc67a78c4f415446949a9dd790123835a23effc48d7b\nhttps://github.com/getAlby/js-sdk/pull/528\n\n#Lightning #Alby #NWC #WalletConnect #JavaScript",
"sig": "beb1dcc55371c99b91a04af616d4a4fb211383e58addcf83e91e79b764eefa1038eca2e1b9639370fb32a0b25ca0d3b32cd9a7c24ea3eea213b5b6b1f6e7b8fd"
}