XRPLF / xrpl.js

A JavaScript/TypeScript API for interacting with the XRP Ledger in Node.js and the browser
https://xrpl.org/
1.19k stars 507 forks source link

fix: get `client.requestAll` to handle filters better #2649

Closed mvadari closed 4 months ago

mvadari commented 4 months ago

High Level Overview of Change

The client.requestAll method was failing when it had an initial empty list of objects. This sometimes happens when there is an object filter, such as on `account_objects. This PR fixes that issue.

Context of Change

This issue caused problems in some production code.

Type of Change

Did you update HISTORY.md?

Test Plan

Added a unit test.