cloudflare / cloudflare/cloudflare-typescript
Iterating over cloudflare.hyperdrive.configs.list only returns the first page
Open
- Dominant language
- TypeScript
- Stars
- 814
- Forks
- 190
- Avg merge
- 1h 38m
- Merged PRs (30d)
- 2
Description
### Confirm this is a Typescript library issue and not an underlying Cloudflare API issue
- [x] This is an issue with the Typescript library
### Describe the bug
The following code only iterates over the first page (returning max 20 elements):
```ts
for await (const config of cloudflare.hyperdrive.configs.list({
account_id: accountId,
})) {
//
}
```
### To Reproduce
Run the code on an account with more than 20 hyperdrive configs.
### Code snippets
```Typescript
```
### OS
Linux / Mac
### Runtime version
Not relevant
### Library version
6.0.0-beta.1 but also 5.x.x
Contributor guide
Assessment
This issue has not been assessed yet.