File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @storyprotocol/storykit" ,
3
3
"author" : " storyprotocol engineering <eng@storyprotocol.xyz>" ,
4
- "version" : " 0.1.26 " ,
4
+ "version" : " 0.1.27 " ,
5
5
"type" : " module" ,
6
6
"exports" : {
7
7
"." : {
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ export const IpProvider = ({
162
162
}
163
163
return listResource ( RESOURCE_TYPE . ASSET_EDGES , currentOptions )
164
164
} ,
165
- getNextPageParam : ( lastPage , allPages ) => {
165
+ getNextPageParam : ( lastPage : AssetEdges [ ] , allPages : AssetEdges [ ] [ ] ) => {
166
166
const totalFetched = allPages . flat ( ) . length
167
167
return totalFetched < lastPage . length ? totalFetched : undefined
168
168
} ,
@@ -305,7 +305,7 @@ export const IpProvider = ({
305
305
isAssetDataLoading,
306
306
assetParentData,
307
307
isAssetParentDataLoading,
308
- assetChildrenData : assetChildrenData ?. pages . flatMap ( ( page ) => page ) ,
308
+ assetChildrenData : assetChildrenData ?. pages . flatMap ( ( page : AssetEdges [ ] ) => page ) ,
309
309
loadMoreAssetChildren,
310
310
isAssetChildrenDataLoading,
311
311
ipaMetadata,
You can’t perform that action at this time.
0 commit comments