File tree Expand file tree Collapse file tree 5 files changed +12
-4
lines changed
Expand file tree Collapse file tree 5 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## [ Unreleased]
99
10+ ### Changed
11+
12+ - ** BREAKING** Rename ` QuoteResponse.bridgePriceData ` to ` priceData `
13+
1014## [ 22.0.0]
1115
1216### Changed
Original file line number Diff line number Diff line change @@ -276,7 +276,7 @@ export type Quote = {
276276 bridges : string [ ] ;
277277 steps : Step [ ] ;
278278 refuel ?: RefuelData ;
279- bridgePriceData ?: {
279+ priceData ?: {
280280 totalFromAmountUsd ?: string ;
281281 totalToAmountUsd ?: string ;
282282 priceImpact ?: string ;
Original file line number Diff line number Diff line change 137137 "destAmount" : " 143291269234176100000"
138138 }
139139 ],
140- "bridgePriceData " : {
140+ "priceData " : {
141141 "totalFromAmountUsd" : " 124.9200" ,
142142 "totalToAmountUsd" : " 123.9469" ,
143143 "priceImpact" : " 0.007789785462696144"
284284 "destAmount" : " 141450025181571360000"
285285 }
286286 ],
287- "bridgePriceData " : {
287+ "priceData " : {
288288 "totalFromAmountUsd" : " 124.9200" ,
289289 "totalToAmountUsd" : " 122.3543" ,
290290 "priceImpact" : " 0.020538744796669922"
Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## [ Unreleased]
99
10+ ### Changed
11+
12+ - Replace ` bridgePriceData ` with ` priceData ` from QuoteResponse object
13+
1014## [ 19.0.0]
1115
1216### Changed
Original file line number Diff line number Diff line change @@ -850,7 +850,7 @@ export class BridgeStatusController extends StaticIntervalPollingController<Brid
850850 ...getFinalizedTxProperties ( historyItem ) ,
851851 error_message : 'error_message' ,
852852 price_impact : Number (
853- historyItem . quote . bridgePriceData ?. priceImpact ?? '0' ,
853+ historyItem . quote . priceData ?. priceImpact ?? '0' ,
854854 ) ,
855855 } ;
856856 }
You can’t perform that action at this time.
0 commit comments