Add store package

This commit is contained in:
Jon Staab
2024-08-01 15:33:37 -07:00
parent cfb0d01316
commit 7bb6d8c54a
10 changed files with 469 additions and 5 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ export const parseAddress = (text: string, context: ParseContext): ParsedAddress
}
export const parseCashu = (text: string, context: ParseContext): ParsedCashu | void => {
const [value] = text.match(/^(cashu)[\d\w=]{50,5000}/i) || []
const [value] = text.match(/^(cashu)[-\d\w=]{50,5000}/i) || []
if (value) {
return {type: ParsedType.Cashu, value, raw: value}