This release was merged in PR #2874
@chainlink/finnhub-adapter@2.4.0
Minor Changes
-
fbf3a4d: Finnhub: Separate base, quote and exchange params.
- Separating the base, quote and exchange params allows us to maintain standardised inbound and DP requests.
- This fixes an issue where Finnhub EA's would fail for certain requests when using WebSockets. Previously Finnhub WebSocket requests would succeed for full symbols (e.g. {"base": "OANDA:EUR_USD"}), but fail for requests with separate base and quote (e.g. {"base": "EUR", "quote: "USD"}). This is because the WebSocket message returns a single symbol which is cached as the base, and future requests included a quote so did not match the cached key.
- This commit introduces a requestTransform for the Finnhub Quote endpoint, which splits full symbols into their constituent base, quote and exchange. We can the consistently build and destructure the symbols in our REST and WS transports. As part of this a new input parameter
exchange
is added, allowing requests to specify the exchange they wish to fetch data for.
@chainlink/finnhub-secondary-adapter@0.2.0
Minor Changes
-
fbf3a4d: Finnhub: Separate base, quote and exchange params.
- Separating the base, quote and exchange params allows us to maintain standardised inbound and DP requests.
- This fixes an issue where Finnhub EA's would fail for certain requests when using WebSockets. Previously Finnhub WebSocket requests would succeed for full symbols (e.g. {"base": "OANDA:EUR_USD"}), but fail for requests with separate base and quote (e.g. {"base": "EUR", "quote: "USD"}). This is because the WebSocket message returns a single symbol which is cached as the base, and future requests included a quote so did not match the cached key.
- This commit introduces a requestTransform for the Finnhub Quote endpoint, which splits full symbols into their constituent base, quote and exchange. We can the consistently build and destructure the symbols in our REST and WS transports. As part of this a new input parameter
exchange
is added, allowing requests to specify the exchange they wish to fetch data for.
Patch Changes
- Updated dependencies [fbf3a4d]
- @chainlink/finnhub-adapter@2.4.0
@chainlink/market-closure-adapter@1.3.5
Patch Changes
- Updated dependencies [fbf3a4d]
- @chainlink/finnhub-adapter@2.4.0
@chainlink/por-indexer-adapter@1.2.60
Patch Changes
- @chainlink/proof-of-reserves-adapter@1.18.4
@chainlink/proof-of-reserves-adapter@1.18.4
Patch Changes
- Updated dependencies [78eb636]
- @chainlink/avalanche-platform-adapter@1.1.1
- @chainlink/por-indexer-adapter@1.2.60
- @chainlink/renvm-address-set-adapter@1.5.51
- @chainlink/wbtc-address-set-adapter@1.4.60
@chainlink/avalanche-platform-adapter@1.1.1
Patch Changes
- 78eb636: Increased default API_TIMEOUT to 60s
@chainlink/renvm-address-set-adapter@1.5.51
Patch Changes
- @chainlink/proof-of-reserves-adapter@1.18.4
@chainlink/wbtc-address-set-adapter@1.4.60
Patch Changes
- @chainlink/proof-of-reserves-adapter@1.18.4