Skip to content

Commit

Permalink
Merge pull request #96 from blockfrost/fix-ts
Browse files Browse the repository at this point in the history
fix: pagination types
  • Loading branch information
mmahut authored Jul 16, 2021
2 parents 4907e3c + df12245 commit 0286b59
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
Binary file modified .yarn/install-state.gz
Binary file not shown.
6 changes: 6 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.9.2]

### Fixed

- pagination types

## [0.9.1]

### Changed
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": "@blockfrost/blockfrost-js",
"version": "0.9.1",
"version": "0.9.2",
"description": "A JavaScript/TypeScript SDK for interacting with the https://blockfrost.io API",
"keywords": [
"blockfrost",
Expand Down
10 changes: 5 additions & 5 deletions src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ export interface ExtendedAxiosError extends AxiosError {
}

export type PaginationOptions = {
count: number;
page: number;
order: 'asc' | 'desc';
count?: number;
page?: number;
order?: 'asc' | 'desc';
};

export type AdditionalEndpointOptions = {
from: string | undefined;
to: string | undefined;
from?: string | undefined;
to?: string | undefined;
};

0 comments on commit 0286b59

Please sign in to comment.