Walk the donations cursor until exhausted and concatenate every
page into a single flat array. Useful for one-shot warmers / Node
scripts; React hooks should prefer the page-at-a-time
createTiltifyDonationsFetcher fed into TanStack Query.
Safety guard: bails out after maxPages to avoid runaway loops
against a buggy proxy. Defaults to 100 pages × 100 rows = 10k
donations, which is well above any single-campaign volume seen in
production.
Walk the donations cursor until exhausted and concatenate every page into a single flat array. Useful for one-shot warmers / Node scripts; React hooks should prefer the page-at-a-time createTiltifyDonationsFetcher fed into TanStack Query.
Safety guard: bails out after
maxPagesto avoid runaway loops against a buggy proxy. Defaults to 100 pages × 100 rows = 10k donations, which is well above any single-campaign volume seen in production.