@playpilot/tpi 8.25.0 → 8.25.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@playpilot/tpi",
3
- "version": "8.25.0",
3
+ "version": "8.25.1",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
@@ -24,7 +24,7 @@
24
24
 
25
25
  async function getListTitles(params: Record<string, any> = {}): Promise<APIPaginatedResult<TitleData>> {
26
26
  try {
27
- return (await fetchTitles({ ...params, page_size: 20 }))
27
+ return (await fetchTitles({ ...params, page_size: 25 }))
28
28
  } catch (error: any) {
29
29
  console.log(error)
30
30
  track(TrackingEvent.ExploreHomeRailError, null, { message: error.message || error.status.toString() || '', params })
@@ -11,7 +11,7 @@
11
11
 
12
12
  const {
13
13
  fetchFunction,
14
- maxPage = 5,
14
+ maxPage = 4,
15
15
  expandedTitle = $bindable(null),
16
16
  expandedRailKey = $bindable(null),
17
17
  ...rest
@@ -29,7 +29,7 @@
29
29
  if (loading) return
30
30
  if (!hasMorePages) return
31
31
  if (page >= maxPage) return
32
- if (titles.length - shown.length > 5) return
32
+ if (titles.length - shown.length > 10) return
33
33
 
34
34
  page++
35
35
  fetchTitles()