Skip to content

Commit

Permalink
chore(docs): prep CHANGELOG for release
Browse files Browse the repository at this point in the history
  • Loading branch information
dtfiedler committed Sep 23, 2024
1 parent 9c41e90 commit f7d4a3b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
7 changes: 0 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
## [2.2.2-alpha.1](https://github.com/ar-io/ar-io-sdk/compare/v2.2.1...v2.2.2-alpha.1) (2024-09-18)


### Bug Fixes

* **deps:** update arbundles to @dha-team/arbundles ([c41e4e4](https://github.com/ar-io/ar-io-sdk/commit/c41e4e42057698a9a2895c2ac9e78a01c69bc2d5))

## [2.2.1](https://github.com/ar-io/ar-io-sdk/compare/v2.2.0...v2.2.1) (2024-09-16)


Expand Down
16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ Retrieves the balances of the IO process in `mIO`, paginated and sorted by the s
const io = IO.init();
const balances = await io.getBalances({
cursor: '-4xgjroXENKYhTWqrBo57HQwvDL51mMdfsdsxJy6Y2Z_sA',
limit: 1,
limit: 100,
sortBy: 'balance',
sortOrder: 'desc',
});
Expand All @@ -338,7 +338,12 @@ const balances = await io.getBalances({
{
"address": "-4xgjroXENKYhTWqrBo57HQwvDL51mMvSxJy6Y2Z_sA",
"balance": 1000000
},
{
"address": "-7vXsQZQDk8TMDlpiSLy3CnLi5PDPlAaN2DaynORpck",
"balance": 1000000
}
// ...98 other balances
],
"hasMore": true,
"nextCursor": "-7vXsQZQDk8TMDlpiSLy3CnLi5PDPlAaN2DaynORpck",
Expand Down Expand Up @@ -406,7 +411,7 @@ Retrieves registered gateways of the IO process, using pagination and sorting by
```typescript
const io = IO.init();
const gateways = await io.getGateways({
limit: 1,
limit: 100,
sortOrder: 'desc',
sortBy: 'operatorStake',
});
Expand Down Expand Up @@ -492,9 +497,9 @@ Retrieves all registered ArNS records of the IO process, paginated and sorted by

```typescript
const io = IO.init();
// get the 5 newest names
// get the newest 100 names
const records = await io.getArNSRecords({
limit: 5,
limit: 100,
sortBy: 'startTimestamp',
sortOrder: 'desc',
});
Expand Down Expand Up @@ -548,6 +553,7 @@ Available `sortBy` options are any of the keys on the record object, e.g. `name`
"type": "lease",
"undernames": 100
}
// ...95 other records
],
"hasMore": true,
"nextCursor": "fwdresearch",
Expand Down Expand Up @@ -1336,7 +1342,7 @@ let hasMore = true;
let cursor: string | undefined;
const gateaways = [];
while (hasMore) {
const page = await io.getGateways({ limit: 10, cursor });
const page = await io.getGateways({ limit: 100, cursor });
gateaways.push(...items);
cursor = page.nextCursor;
hasMore = page.hasMore;
Expand Down

0 comments on commit f7d4a3b

Please sign in to comment.