Releases: smartcontractkit/external-adapters-js
Releases · smartcontractkit/external-adapters-js
Release v0.2.1-rc.1
Add fake RAI2 symbol to override to Rai Reflex Index (#512)
Release v0.2.0
[Master] Release/v0.2.0 (#439) * coinmarketcap ts refactor * types & lint & package name * CHANGELOG * Requested changes: uses generic execute types, base url from config, splits tests * add conflux adapter * Remove adapter.js from merge * Fix: increase test timeout, move marketcap unknown market to error calls, correct typo in baseURL * getDefaultConfig takes new parameter for required API key * Brings back dummy API_KEYs for tests * Uses verbose env var to determine response data * update changelog: add conflux adapter * EA migration - batch #1 (#226) * 1forge to TS * Add Config type for recent change to generic types * Utilize ExecuteWithConfig in 1forge * Adds example README template & remove 'server' script * Alphavantage adapter to TS * Remove alphavantage-sdr folder * Amberdata-gasprice to TS * Anyblock-gasprice to TS * Binance-DEX to TS * Add note to binance-dex's differing use of API_ENDPOINT env var * Brave New Coin to TS * Bring Brave New Coin VWAP into Brave New Coin EA * Coinapi to TS * Coinbase to TS * Coingecko to TS * Move BNC helpers into BNC adapter * Increase alphavantage test timeout * Moves alphavantage APIkey param into endpoint - issue open for improvement * Clean up leftover bravenewcoin-vwap traces * Remove 1forge's conflicting and not useful endpoint param * Requested changes: 1forge balance -> price, alphavantage example output * Re-add server script & spread response data into endpoint responses * Uses verbose env var to determine response data * Gets API_KEY from makeConfig * Add test dummy API_KEY * Re-add server script to example * batch adapter TS refactor (#234) * batch adapter TS refactor * satisfy linter * Uses config in generics, removes non-TS server script * EA endpoints return their own response & use ExecuteWithConfig type * Capitalize name property * Use Config for baseURL and API_KEYS, re-add server script, use verbose env var for data response Co-authored-by: Justin Kaseman <[email protected]> * README improvements, fix typo with PRICE_ADAPTER * networkId type fix * feed tx gas info * Read dxFeed config correctly with prefix * Include config change in secondary adapter * Use "Quote" for WTI * Fix case-sensitive endpoint params * batch requests on coingecko * DPI readme updated * removed console * Update Synthetix for new sDEFI pairs * docs: additiona to 1forge, amberdata-gasprice, anyblock-gasprice, & binance-dex * Add API_KEY docs & docs from QA for coinapi, coinbase, cmc, coinpaprika, cryptocompare, currencylayer, and poa-gasprice * Finish TS migrated adapter QA * Add dummy API keys for tests * Use Jonas' fix to non-lowercase endpoint param * Add dummy API key to openexchangerates test * Add dummy API key to polygon test * Requested changes: consistent endpoint title capitalization, tweak API_KEY description, add sample input to example EA * Fix: balance test helper path * Remove WrappedResponse * Merge develop * CHANGELOG * Requested Change: remove from CHANGELOG * Change: Only one Middleware type * Change: revert change to withCache to remove options param * Remove util.wrapExecute from all EAs * Revert result being optional * Makes Middleware a generic type to allow withCache options & fix test with result in mock data response * wrap response * returning result on callback * removed unused imports * Update KCS slug on CMC synth-index * Update KCS slug on CMC * synthx as composite using TA * removed old synth adapter and its build steps * base as default input param * TA default quote as env var * TA accepts method as param * validation on TA * avoid floating numbers on TA * removed TA reference from Readme * readme updated * negative balance checked easier * prefix preference on TA make config * updated adapter name * added cmc slugs * updated synthx version * fix synthx version * tiingo adapter with tests * misc tiingo fixes * updated changelog * updates * fix import name error * Remove synthetix dependency from global package * Update synthetix package * Prevent scientific notation of balances * removed google finance * filter out auth from logging * Publish Docker images to SDLC Public ECR instead of Prod Public ECR * remove old js code * add ts conflux adaptor code * remove lock file * comment example test * added preset ticker on coinpaprika and coingecko * update config helper * Include the "result" key on cached responses * Include jobRunID in cached response * added ethwrite JS project and its dependencies * converted to TS * working with the new structure * added hardhat and relevant test setup * default config + naming convention fix * changed README, added defaults and test * review changes; need to check tests * asserting true values written to contract in test * small change in config * made dataType optional, altered tests, added helper file * removed helper files * installed fresh dependencies * README changes and required env vars * moved private key to hardhat helpers * yarn install * json for hardhat exported var * cleaned comments * update new ea-bootstrap * fix lint error * add unit test * fix lint * update tests * Publish adapters to prod when merging to develop * basic setup * geoDB adapter * updated changelog * Removed other parts of config that include sensitive values. Removed api key warning * Add "agoric" adapter (#114) * feat: add Agoric adapter * fix: use agoric_oracle_query_id * fix: make more explicit * test: remove agoric/test * fix: another attempt to plumb through the 'Task Run Data' * fix: use the promise-based API * fix: make request_id numeric * fix: cast payment from number to string * fix: properly export the Agoric async adapter and string queryId * refactor: separate concerns and add tests * fix: more robust adapter; send errors to the oracleServer * feat!: surface errors from the oracle backend * fix: match with actual POST reply from the ag-solo * fix: use AdapterErrors to surface errors to the node operator * test: add integration test * fix: use Requester instead of axios * chore: rename package to @chainlink/agoric * ci: add "agoric" to adapters.json * refactor: clarify implementation according to review comments * refactor: use the adapter-test-helpers * ci: fix the Agoric build process * fix: address review comments * refactor: standardize code based on example adapter * fix: import makeConfig * fix: correct the default agoric adapter parameters * chore: remove dependency on bn.js * Kaiko special case for DIGG/BTC (#336) * Kaiko special case for DIGG/BTC * Increase timespan for Kaiko requests * Add changelog item * updated geodb url * Update node version in GCP readme * Add Amberdata case for DIGG/BTC (#345) * TheRundown adapter * updated changelog * updated therundown readme * TS EAs #4 batch 0 of 3 (#332) * Add couple more best practices into example adapter * TrueUSD adapter to TS * Reverts change to TrueUSD param name * Rename path param --> field * Move TE stream adapter to monorepo (#346) * Move TE stream adapter to monorepo * Add changelog entry * Make config optional * Add tests * Added LINA preset in coingecko * CMC should prefer IDs over slugs (#343) * CMC should prefer IDs over slugs * Add changelog entry * Add conversion from AMP to AMP2 for Nomics adapter * parsing c(close price) according to v3 * Add tradermade support to outlier-detection (#357) * Add tradermade support to outlier-detection * Fix outdated tests * Add changelog entry * Improve Redis connection cleanup * AlphaChain adapter to TS * Add postinstall script * More best practices in the example EA * Bitex adapter to TS * Bitso adapter to TS * Clean up bravenewcoin-vwap fragment * Coinlore adapter to TS * Remove postinstall script until entire build process can be refactored * TrueUSD adapter to TS * Reverts change to TrueUSD param name * COVID-tracker adapter to TS * Cryptomkt adapter to TS * Remove google-finance adapter fragment * Lition adapter to TS * Add public ecr registry to docker login * Skip coinlore integration tests * Add baseurl option (#367) * Explicitly specify aws region (#370) * Updated Asset Allocation Interface (#358) * asset allocation updated * updated version * decimals to number * Fix support for WING on Nomics (#371) * Add basic prom metrics (#365) * Messari adapter to TS * Orchid Bandwidth adapter to TS * SatoshiTange adapter to TS * TradingEconomics adapter to TS * Extra to TradingEconomics README * Fix to tradingeconomics .eslintrc.js * Fix: remove no longer relevant test * Cryptoapis tests and README (#248) * Update README about metadata (#379) * Add new ticker conversions * Overrides Input parameter (#384) * override format validator. coingecko impl * price adapter use overrides * overrides validator test * override inside validator * refactor * more adapters added * more adapters added * readmes updated * lint fix * preset symbols used re * tests updated * merge with lodash * fix merge * Bump elliptic from 3.0.3 to 6.5.4 (#391) Bumps [elliptic](https://github.com/indutny/elliptic) from 3.0.3 to 6.5.4. - [Release notes](https://github.com/indutny/elliptic/releases) - [Commits](https://github.com/indutny/elliptic/compare/v3.0.3...v6.5.4) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Remove GOOGL override for dxfeed-secondary (#392) * fix-format-readme-link (#393) * Set correct response type on metrics * Add FB support for dxfeed and dxfeed-secondary (#420) * bitcoin endpoints (#417) * bitcoin endpoints * Fix blockstream and blockchain.com adapters * Fix height result output * Fix blockstream README * Update blockstream/package.json * Update blockstream/README.md * Condense endpoints to blocks & use field param * Blockstream doesn't require an API KEY * Update Blockstream README * Add blockstream to github workflow Co-authored-by: Thomas Hodges <[email protected]> Co-authored-by: Justin Kaseman <[email protected]> * Update Genesis Volatility README (#422) * add support for RAI to kaiko, nomics (#425) * add rai, weth (#424) * add rai, weth Added handling of RAI/WETH pair using contract addresses * Fix formatting Co-authored-by: Jonas Hals <[email protected]> * update API key url (#428) * additional fixes for RAI support on kaiko adapter (#431) * added includes:['weth'] support to kaiko adapter * Apply suggestions from code review Co-authored-by: Jonas Hals <[email protected]> * v0.0.4 * Preparing v0.2.0 release: version patch bumps * Tag changelog * Bump dependency versions * Additional CHANGELOG items Co-authored-by: ryan <[email protected]> Co-authored-by: PanaW <[email protected]> Co-authored-by: Kristijan Rebernisak <[email protected]> Co-authored-by: Jonas Hals <[email protected]> Co-authored-by: Jonas Hals <[email protected]> Co-authored-by: RodrigoAD <[email protected]> Co-authored-by: Thomas Hodges <[email protected]> Co-authored-by: christianagnew <[email protected]> Co-authored-by: Evangelos Barakos <[email protected]> Co-authored-by: Edward Medvedev <[email protected]> Co-authored-by: W <[email protected]> Co-authored-by: HenryNguyen5 <[email protected]> Co-authored-by: Michael FIG <[email protected]> Co-authored-by: Peter van Mourik <[email protected]> Co-authored-by: Evangelos Barakos <[email protected]> Co-authored-by: Connor Stein <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Brendon Van Essen <[email protected]> Co-authored-by: aalu1418 <[email protected]>
Release v0.2.0-rc.1
Merge pull request #297 from smartcontractkit/release/v0.2.0-rc.1 [master] Preparing release v0.2.0-rc.1
Release v0.1.5
Changed
- Cache key generator now ignores
'meta'
metadata as default setting
Release v0.1.5-rc.1
Add caching support
Release v0.1.4
Added
- New adapters:
linkpool
to get ICE futures quotesonchain
to get ICE futures quotes
Fixed
- Local in-memory cache got broken in the last release, and was reinitialized on every request.
amberdata
adapter wasn't responding for some assets because they don't make cross-rates by default. Cross-rates are now included which enables this adapter to support markets likeBNB/USD
, not just the actualBNB/USDT
.
Release v0.1.3
Added
- Caching improvements:
- Request coalescing support to mitigate the issue of requests for data coming in bursts and missing the cache.
- Remote cache (Redis/ElastiCache) support, with adapter key grouping, to enable more efficient serverless deployments.
- Support for composite adapters:
composite/proof-of-reserves
adapter combines multiple adapters to find total balance in custody for wBTC or renBTC protocols.
- New adapters:
wbtc-address-set
to query wBTC custody address set.renvm-address-set
to query renVM protocol custody address set.blockchain.com
to fetch balances for a set of Bitcoin addresses.blockcypher
to fetch balances for a set of Bitcoin addresses.reduce
to reduce an array to a result. Different reducers are supported like:sum
,product
,average
,median
,min
&max
.trueusd
to query supply and issuance data for TrueUSD.cryptoid
to get chain difficulty measurement from different networks.blockchair
to get chain difficulty measurement from different networks.bitso
to get last 24 hours volume weighted average price (vwap) for multiple markets.cryptomkt
to get last transaction price for multiple markets.satoshitango
to get last bid price for multiple markets.bitex
to get volume weighted average price (vwap) for multiple markets.orchid-bandwidth
to get available bandwidth from Chainlink as service provider.genesis-volatility
to get implied volatility of an asset.covid-tracker
to query COVID-19 statistics.lition
to query the price in Euros per MWh for Lition.coinlore
to query the Bitcoin market dominance and market capitalization.messari
to query the Bitcoin market dominance.
Changed
- Improved logs.
- Prettier logs in development environment.
Release v0.1.3-rc.0
Remove yahoo-finance from release workflow
Release v0.1.2
Merge pull request #86 from smartcontractkit/release/v0.1.2 Prepare v0.1.2 release
Release v0.1.1
Merge pull request #84 from smartcontractkit/release/v1.0.1