external-adapters-js
external-adapters-js copied to clipboard
Monorepo containing JavaScript implementation of external adapters
## Description Updating Github Action references in all workflows. ### Why Github Actions node16 deprecation. See [blog post (github.blog)](https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/) > Node16 has been out of support since [September 2023](https://github.com/nodejs/Release/#end-of-life-releases). As...
Part 2 of [DF-18523](https://smartcontract-it.atlassian.net/browse/DF-18523) Every EA folder has 3 changes 1. new entries are added into test-payload.json. These new entries are mostly the same payloads but with endpoint names and...
Part 1 of [DF-18523](https://smartcontract-it.atlassian.net/browse/DF-18523) Although this is just the first part, there are lot of file changes, but changes are repetitive. In particular each EA folder has 3 changes 1....
## Closes #ISSUE_NUMBER_GOES_HERE ## Description Grammar improvements. Yes - I'll own up to it this it is AI. Just asked Claude 3 - this is the way. ## Changes -...
on `yarn generate:docker-compose` I get ``` /root/external-adapters-js/packages/scripts/src/docker-build/lib.ts:60 environment: Object.entries(flattenedSchemasByLocation[next.location]?.schema ?? {}).map(([k, v]) => { ^ SyntaxError: Unexpected token '.' at wrapSafe (internal/modules/cjs/loader.js:915:16) at Module._compile (internal/modules/cjs/loader.js:963:27) at Module.m._compile (/root/external-adapters-js/.yarn/__virtual__/ts-node-virtual-7b84b52de7/0/cache/ts-node-npm-10.9.1-6c268be7f4-090adff130.zip/node_modules/ts-node/src/index.ts:1618:23) at Module._extensions..js...
Improved handling of situations with low liquidity by employing the mark price.
## Closes #DF-19036 ## Description change DEFAULT_API_ENDPOINT from:'[https://api.coinpaprika.com'](https://api.coinpaprika.com%27/) to: '[https://api-pro.coinpaprika.com'](https://api-pro.coinpaprika.com%27/) ## Changes - removed DEFAULT_API_ENDPOINT and PRO_API_ENDPOINT variables, and added default value to API_ENDPOINT - removed getApiEndpoint and getApiHeaders methods...
**Description** There is a logic missing in adapter cfbenchmarks's [crypto-lwba.ts](https://github.com/smartcontractkit/external-adapters-js/blob/main/packages/sources/cfbenchmarks/src/endpoint/crypto-lwba.ts). When I set `API_SECONDARY=false,` the code here has no way to generate a proper index to `req.requestContext.data.index`. I apologize if...
## Description Changing the way CVI is smoothed ## Changes - Changed smoothing from using on chain last value to using cached value - Changed some default - Updated README
## Closes #ISSUE_NUMBER_GOES_HERE ## Description ...... ## Changes - High level - changes that - you made ## Steps to Test 1. Steps 2. to 3. test ## Quality Assurance...