ebay-api
Advanced tools
Comparing version 7.0.1 to 7.0.2
@@ -27,7 +27,9 @@ import Restful from '../../'; | ||
* paginated response. | ||
* @param sort Allows sorting by payouts date in descending order with '-payoutDate' (default) and ascending with 'payoutDate' | ||
*/ | ||
getPayouts({ filter, limit, offset, }?: { | ||
getPayouts({ filter, limit, offset, sort, }?: { | ||
filter?: string; | ||
limit?: number; | ||
offset?: number; | ||
sort?: 'payoutDate' | '-payoutDate'; | ||
}): Promise<any>; | ||
@@ -34,0 +36,0 @@ /** |
@@ -38,4 +38,5 @@ "use strict"; | ||
* paginated response. | ||
* @param sort Allows sorting by payouts date in descending order with '-payoutDate' (default) and ascending with 'payoutDate' | ||
*/ | ||
getPayouts({ filter, limit, offset, } = {}) { | ||
getPayouts({ filter, limit, offset, sort, } = {}) { | ||
return this.get(`/payout`, { | ||
@@ -46,2 +47,3 @@ params: { | ||
offset, | ||
sort, | ||
}, | ||
@@ -48,0 +50,0 @@ }); |
{ | ||
"name": "ebay-api", | ||
"author": "Daniil Tomilow", | ||
"version": "7.0.1", | ||
"version": "7.0.2", | ||
"description": "eBay TypeScript/JavaScript API for Node and Browser", | ||
@@ -6,0 +6,0 @@ "browser": "./lib/ebay-api.min.js", |
@@ -23,3 +23,3 @@ # eBay Node API in TypeScript with Browser support | ||
* `v7.0.1` is the latest release. | ||
* `v7.0.2` is the latest release. | ||
* See [here](https://github.com/hendt/ebay-api/blob/master/CHANGELOG.md) for the full changelog. | ||
@@ -26,0 +26,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1817259
17716