The bill, which took more than 24 hours to debate and passed by a narrow margin of 50-49, includes direct payments to most Americans and extends unemployment benefits through September.