Skip to content

Commit

Permalink
Merge pull request #23 from nftscan-official/release
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
yohuohuohuo authored Apr 15, 2024
2 parents a22e13b + d3c33f5 commit 93a1507
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# Changelog
### [1.13.1](https://github.com/nftscan-official/nftscan-api-js-sdk/compare/v1.13.0...v1.13.1) (2024-04-15)


### ✨ Features | 新功能

* Modify the `limit` of the `getCollectionRanking` interface ([02c5234](https://github.com/nftscan-official/nftscan-api-js-sdk/commit/02c523470cf7aebf8a4a81db1497ec9716912e84))

## [1.13.0](https://github.com/nftscan-official/nftscan-api-js-sdk/compare/v1.12.0...v1.13.0) (2024-03-15)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nftscan-api",
"version": "1.13.0",
"version": "1.13.1",
"description": "js/ts SDK for NFTScan APIs",
"main": "dist/cjs/index.js",
"main-es": "dist/es/index.js",
Expand Down
4 changes: 2 additions & 2 deletions src/api/evm/statistic/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ export default class NftscanEvmStatistic extends BaseApi<NftscanConfig> {
if (params) {
const { limit } = params;

if (limit && limit > 100) {
return invalidLimitError(100);
if (limit && limit > 1000) {
return invalidLimitError(1000);
}
}

Expand Down

0 comments on commit 93a1507

Please sign in to comment.