Formatting/linting

This commit is contained in:
Jon Staab
2025-05-05 11:20:49 -07:00
parent 0e4832a716
commit c538db070a
6 changed files with 24 additions and 8 deletions
+10 -1
View File
@@ -1,5 +1,14 @@
import {partition, now, nthEq, race} from "@welshman/lib"
import {makeEvent, Filter, getPubkeyTagValues, TrustedEvent, asDecryptedEvent, readList, getRelaysFromList, RELAYS} from "@welshman/util"
import {
makeEvent,
Filter,
getPubkeyTagValues,
TrustedEvent,
asDecryptedEvent,
readList,
getRelaysFromList,
RELAYS,
} from "@welshman/util"
import {Nip01Signer, ISigner} from "@welshman/signer"
import {Repository} from "@welshman/relay"
import {Router, getFilterSelections, addMinimalFallbacks} from "@welshman/router"
+3 -3
View File
@@ -215,7 +215,7 @@ export const simplifyFeed = (feed: Feed): Feed => {
const modified: Feed[] = []
for (let sub of args.map(simplifyFeed)) {
for (const sub of args.map(simplifyFeed)) {
if (isUnionFeed(sub)) {
modified.push(...getFeedArgs(sub))
} else {
@@ -233,7 +233,7 @@ export const simplifyFeed = (feed: Feed): Feed => {
const modified: Feed[] = []
for (let sub of args.map(simplifyFeed)) {
for (const sub of args.map(simplifyFeed)) {
if (isIntersectionFeed(sub)) {
modified.push(...getFeedArgs(sub))
} else {
@@ -251,7 +251,7 @@ export const simplifyFeed = (feed: Feed): Feed => {
const modified: Feed[] = []
for (let sub of args.map(simplifyFeed)) {
for (const sub of args.map(simplifyFeed)) {
if (isDifferenceFeed(sub)) {
modified.push(...getFeedArgs(sub))
} else {