diff --git a/package.json b/package.json index f82a616f..3d8cab44 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "minibits_wallet", - "version": "0.1.5-beta.25", + "version": "0.1.5-beta.26", "private": true, "scripts": { "android:clean": "cd android && ./gradlew clean", diff --git a/src/services/lnurl/lnurlUtils.ts b/src/services/lnurl/lnurlUtils.ts index f44cae07..061fccf6 100644 --- a/src/services/lnurl/lnurlUtils.ts +++ b/src/services/lnurl/lnurlUtils.ts @@ -77,9 +77,8 @@ function extractLnurlAddress(maybeAddress: string) { function isLnurlAddress(address: string) { - // Regular expression for a basic email validation - const regex = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/ - + // Regular expression for a basic email validation + const regex = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/ return regex.test(address) }