Add NIP-30 module for custom emojis

This commit is contained in:
Alex Gleason
2023-07-06 13:08:38 -05:00
committed by fiatjaf_
parent 9cd4f16e45
commit 36e0de2a68
3 changed files with 87 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ export interface NostrURIMatch extends NostrURI {
}
/** Find and decode all NIP-21 URIs. */
export function* matchAll(content: string): Iterable<NostrURIMatch> {
export function * matchAll(content: string): Iterable<NostrURIMatch> {
const matches = content.matchAll(regex())
for (const match of matches) {