Skip to content

Commit fb79e41

Browse files
authored
add pagesize (#308)
1 parent 12b8286 commit fb79e41

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vesselapi/integrations",
3-
"version": "1.0.75",
3+
"version": "1.0.76",
44
"description": "Vessel integrations",
55
"main": "dist/index.js",
66
"module": "dist/index.mjs",

src/platforms/outreach/client.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,17 @@ export const client = {
7878
list: request(
7979
({
8080
cursor,
81+
pageSize,
8182
filters,
8283
}: {
8384
cursor?: `${typeof BASE_URL}/${string}`;
85+
pageSize?: string;
8486
filters?: { emails?: string; tags?: string; sequenceIds?: string };
8587
}) => ({
8688
url: cursor ?? `/prospects`,
8789
query: shake({
8890
count: 'false',
89-
'page[size]': `${DEFAULT_PAGE_SIZE}`,
91+
'page[size]': pageSize ?? `${DEFAULT_PAGE_SIZE}`,
9092
'filter[sequenceStates][sequence][id]': filters?.sequenceIds,
9193
...(filters
9294
? mapKeys<any, any, any>(

0 commit comments

Comments
 (0)