From 40b3cc4cb9af1dc49004d92213e670e902b5b25b Mon Sep 17 00:00:00 2001 From: im-adithya Date: Thu, 5 Oct 2023 10:54:00 +0530 Subject: [PATCH] chore: update proxy address to api.getalby.com --- src/lightning-address.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lightning-address.ts b/src/lightning-address.ts index 7559eee..a6503fe 100644 --- a/src/lightning-address.ts +++ b/src/lightning-address.ts @@ -18,7 +18,7 @@ import { KeysendResponse } from "./types"; const LN_ADDRESS_REGEX = /^((?:[^<>()\[\]\\.,;:\s@"]+(?:\.[^<>()\[\]\\.,;:\s@"]+)*)|(?:".+"))@((?:\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(?:(?:[a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; -export const DEFAULT_PROXY = "https://lnaddressproxy.getalby.com"; +export const DEFAULT_PROXY = "https://api.getalby.com/lnurl"; type LightningAddressOptions = { proxy?: string | false;