File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " hypersync-client"
3- version = " 0.18.5 "
3+ version = " 0.19.0 "
44edition = " 2021"
55description = " client library for hypersync"
66license = " MPL-2.0"
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ impl Client {
169169 let res: QueryResponse = QueryResponse :: from ( & res) ;
170170 let events = event_join_strategy. join_from_response_data ( res. data ) ;
171171
172- data. push ( events) ;
172+ data. extend ( events) ;
173173
174174 archive_height = res. archive_height ;
175175 next_block = res. next_block ;
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ impl EventResponse {
4949 archive_height : r. archive_height ,
5050 next_block : r. next_block ,
5151 total_execution_time : r. total_execution_time ,
52- data : vec ! [ event_join_strategy. join_from_response_data( r. data) ] ,
52+ data : event_join_strategy. join_from_response_data ( r. data ) ,
5353 rollback_guard : r. rollback_guard ,
5454 }
5555 }
@@ -118,7 +118,7 @@ pub struct QueryResponse<T = ResponseData> {
118118/// Alias for Arrow Query response
119119pub type ArrowResponse = QueryResponse < ArrowResponseData > ;
120120/// Alias for Event oriented, vectorized QueryResponse
121- pub type EventResponse = QueryResponse < Vec < Vec < Event > > > ;
121+ pub type EventResponse = QueryResponse < Vec < Event > > ;
122122
123123/// Arrow chunk with schema
124124#[ derive( Debug , Clone ) ]
You can’t perform that action at this time.
0 commit comments