diff --git a/.changeset/curvy-trainers-jam.md b/.changeset/curvy-trainers-jam.md deleted file mode 100644 index 794b39ac92..0000000000 --- a/.changeset/curvy-trainers-jam.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@chainlink/finnhub-adapter': minor ---- - -Add stock quotes diff --git a/MASTERLIST.md b/MASTERLIST.md index cdd257090d..f7e9d8a7a3 100644 --- a/MASTERLIST.md +++ b/MASTERLIST.md @@ -1,4 +1,4 @@ -## Release 1.233.0 +## Release 1.234.0 This document was generated automatically. Please see [Master List Generator](./packages/scripts#master-list-generator) for more info. @@ -94,8 +94,8 @@ This document was generated automatically. Please see [Master List Generator](./ | [fcsapi](packages/sources/fcsapi/README.md) | `1.2.48` | `source` | v2 | `https://fcsapi.com/api-v3/` | | `API_KEY (✅)` | `common`, `forex`, `stock` | `common` | | [✅](packages/sources/fcsapi/test/unit) | [✅](packages/sources/fcsapi/test/integration) | | | [finage](packages/sources/finage/README.md) | `2.3.1` | `source` | v3 | `https://api.finage.co.uk` | `external-adapter-framework` | `API_ENDPOINT`, `API_KEY (✅)`, `CRYPTO_WS_API_ENDPOINT`, `ETF_WS_API_ENDPOINT`, `FOREX_WS_API_ENDPOINT`, `STOCK_QUOTES_WS_API_ENDPOINT`, `STOCK_WS_API_ENDPOINT`, `WS_ENABLED`, `WS_SOCKET_KEY (✅)` | `commodities`, `crypto`, `eod`, `etf`, `forex`, `price`, `stock`, `stock_quotes`, `uk_etf` | `stock` | | | [✅](packages/sources/finage/test/integration) | | | [finalto](packages/sources/finalto/README.md) | `1.2.0` | `source` | v3 | Unknown | `external-adapter-framework` | `WS_API_ENDPOINT (✅)`, `WS_API_PASSWORD (✅)`, `WS_API_USERNAME (✅)` | `commodities`, `forex`, `fx`, `quote`, `stock`, `stock_quotes` | `quote` | ✅ | | [✅](packages/sources/finalto/test/integration) | | -| [finnhub](packages/sources/finnhub/README.md) | `3.2.1` | `source` | v3 | `https://finnhub.io/api/v1` | `external-adapter-framework` | `API_ENDPOINT`, `API_KEY (✅)`, `WS_API_ENDPOINT`, `WS_ENABLED` | `commodities`, `commodity-quote`, `common`, `equity-quote`, `forex`, `forex-quote`, `market-status`, `quote`, `stock` | `quote` | | [✅](packages/sources/finnhub/test/unit) | [✅](packages/sources/finnhub/test/integration) | | -| [finnhub-secondary](packages/sources/finnhub-secondary/README.md) | `0.5.3` | `source` | v3 | `https://finnhub.io/api/v1` | `external-adapter-framework`, `finnhub-adapter` | `API_ENDPOINT`, `API_KEY (✅)`, `WS_API_ENDPOINT`, `WS_ENABLED` | `commodities`, `commodity-quote`, `common`, `equity-quote`, `forex`, `forex-quote`, `market-status`, `quote`, `stock` | `quote` | | | [✅](packages/sources/finnhub-secondary/test/integration) | | +| [finnhub](packages/sources/finnhub/README.md) | `3.3.0` | `source` | v3 | `https://finnhub.io/api/v1` | `external-adapter-framework` | `API_ENDPOINT`, `API_KEY (✅)`, `WS_API_ENDPOINT`, `WS_ENABLED` | `commodities`, `commodity-quote`, `common`, `equity-quote`, `forex`, `forex-quote`, `market-status`, `quote`, `stock`, `stock_quotes` | `quote` | | [✅](packages/sources/finnhub/test/unit) | [✅](packages/sources/finnhub/test/integration) | | +| [finnhub-secondary](packages/sources/finnhub-secondary/README.md) | `0.5.4` | `source` | v3 | `https://finnhub.io/api/v1` | `external-adapter-framework`, `finnhub-adapter` | `API_ENDPOINT`, `API_KEY (✅)`, `WS_API_ENDPOINT`, `WS_ENABLED` | `commodities`, `commodity-quote`, `common`, `equity-quote`, `forex`, `forex-quote`, `market-status`, `quote`, `stock` | `quote` | | | [✅](packages/sources/finnhub-secondary/test/integration) | | | [fireblocks](packages/sources/fireblocks/README.md) | `1.0.18` | `source` | v3 | `https://serenitybank.io/stablecoin/` | `external-adapter-framework` | `API_ENDPOINT` | `reserve` | `reserve` | | | [✅](packages/sources/fireblocks/test/integration) | | | [fluent-finance](packages/sources/fluent-finance/README.md) | `2.0.21` | `source` | v2 | `https://gateway.fluent.finance/v1/gateway/` | | | `balances` | `balances` | | [✅](packages/sources/fluent-finance/test/unit) | [✅](packages/sources/fluent-finance/test/integration) | [✅](packages/sources/fluent-finance/test/e2e) | | [fmpcloud](packages/sources/fmpcloud/README.md) | `1.3.47` | `source` | v2 | `https://fmpcloud.io` | | `API_ENDPOINT`, `API_KEY (✅)` | `price`, `quote`, `stock` | `stock` | | [✅](packages/sources/fmpcloud/test/unit) | [✅](packages/sources/fmpcloud/test/integration) | | @@ -139,7 +139,7 @@ This document was generated automatically. Please see [Master List Generator](./ | [llama-guard](packages/composites/llama-guard/README.md) | `1.2.4` | `composite` | v3 | Unknown | `external-adapter-framework` | `BACKGROUND_EXECUTE_MS`, `ETHEREUM_RPC_CHAIN_ID`, `ETHEREUM_RPC_URL (✅)`, `LLAMA_RISK_API_ENDPOINT` | `nav` | `nav` | | [✅](packages/composites/llama-guard/test/unit) | [✅](packages/composites/llama-guard/test/integration) | | | [lotus](packages/sources/lotus/README.md) | `3.0.34` | `source` | v3 | Unknown | `external-adapter-framework` | `API_KEY (✅)`, `BACKGROUND_EXECUTE_MS`, `FILECOIN_RPC_URL (✅)` | `balance`, `filecoin.walletbalance` | `balance` | | | [✅](packages/sources/lotus/test/integration) | | | [m0](packages/sources/m0/README.md) | `0.0.17` | `source` | v3 | `https://api.m0.xyz` | `external-adapter-framework` | `API_ENDPOINT` | `nav`, `por`, `reserves` | `reserves` | | | [✅](packages/sources/m0/test/integration) | | -| [market-closure](packages/composites/market-closure/README.md) | `1.3.59` | `composite` | v2 | Unknown | `fcsapi-adapter`, `finnhub-adapter` | `CHECK_API_KEY`, `FCSAPI_ADAPTER_URL`, `FINNHUB_ADAPTER_URL`, `TH_API_KEY` | Unknown | Unknown | | [✅](packages/composites/market-closure/test/unit) | | [✅](packages/composites/market-closure/test/e2e) | +| [market-closure](packages/composites/market-closure/README.md) | `1.3.60` | `composite` | v2 | Unknown | `fcsapi-adapter`, `finnhub-adapter` | `CHECK_API_KEY`, `FCSAPI_ADAPTER_URL`, `FINNHUB_ADAPTER_URL`, `TH_API_KEY` | Unknown | Unknown | | [✅](packages/composites/market-closure/test/unit) | | [✅](packages/composites/market-closure/test/e2e) | | [market-status](packages/composites/market-status/README.md) | `1.6.1` | `composite` | v3 | Unknown | `external-adapter-framework` | `BACKGROUND_EXECUTE_MS`, `FINNHUB_SECONDARY_ADAPTER_URL (✅)`, `NCFX_ADAPTER_URL (✅)`, `TRADINGHOURS_ADAPTER_URL (✅)` | `market-status`, `multi-market-status` | `market-status` | | | [✅](packages/composites/market-status/test/integration) | | | [medianizer](packages/composites/medianizer/README.md) | `1.2.44` | `composite` | v2 | Unknown | | | `medianizer` | `medianizer` | | [✅](packages/composites/medianizer/test/unit) | [✅](packages/composites/medianizer/test/integration) | | | [messari](packages/sources/messari/README.md) | `1.2.47` | `source` | v2 | `https://data.messari.io/api/v1/` | | `API_ENDPOINT`, `API_KEY` | `assets`, `dominance` | `assets` | | [✅](packages/sources/messari/test/unit) | | | diff --git a/package.json b/package.json index 1b7aa03b99..57a0291539 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@chainlink/external-adapters-js", - "version": "1.233.0", + "version": "1.234.0", "license": "MIT", "private": true, "workspaces": [ diff --git a/packages/composites/market-closure/CHANGELOG.md b/packages/composites/market-closure/CHANGELOG.md index 7fad8636f9..864a0e91ff 100644 --- a/packages/composites/market-closure/CHANGELOG.md +++ b/packages/composites/market-closure/CHANGELOG.md @@ -1,5 +1,12 @@ # @chainlink/market-closure-adapter +## 1.3.60 + +### Patch Changes + +- Updated dependencies [[`7b916bf`](https://github.com/smartcontractkit/external-adapters-js/commit/7b916bf6ab3b69daa0dbb5e043265cc0fd1a262b)]: + - @chainlink/finnhub-adapter@3.3.0 + ## 1.3.59 ### Patch Changes diff --git a/packages/composites/market-closure/package.json b/packages/composites/market-closure/package.json index 3f03a123e0..f78bc5dbb3 100644 --- a/packages/composites/market-closure/package.json +++ b/packages/composites/market-closure/package.json @@ -1,6 +1,6 @@ { "name": "@chainlink/market-closure-adapter", - "version": "1.3.59", + "version": "1.3.60", "description": "Chainlink Market-Closure adapter. Checks if trading market for asset is open before fetching the price.", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/sources/finnhub-secondary/CHANGELOG.md b/packages/sources/finnhub-secondary/CHANGELOG.md index 6ff3516c31..ca2ceb3262 100644 --- a/packages/sources/finnhub-secondary/CHANGELOG.md +++ b/packages/sources/finnhub-secondary/CHANGELOG.md @@ -1,5 +1,12 @@ # @chainlink/finnhub-secondary-adapter +## 0.5.4 + +### Patch Changes + +- Updated dependencies [[`7b916bf`](https://github.com/smartcontractkit/external-adapters-js/commit/7b916bf6ab3b69daa0dbb5e043265cc0fd1a262b)]: + - @chainlink/finnhub-adapter@3.3.0 + ## 0.5.3 ### Patch Changes diff --git a/packages/sources/finnhub-secondary/README.md b/packages/sources/finnhub-secondary/README.md index 229424eaee..b2617dc87d 100644 --- a/packages/sources/finnhub-secondary/README.md +++ b/packages/sources/finnhub-secondary/README.md @@ -1,6 +1,6 @@ # FINNHUB-SECONDARY -![0.5.3](https://img.shields.io/github/package-json/v/smartcontractkit/external-adapters-js?filename=packages/sources/finnhub-secondary/package.json) ![v3](https://img.shields.io/badge/framework%20version-v3-blueviolet) +![0.5.4](https://img.shields.io/github/package-json/v/smartcontractkit/external-adapters-js?filename=packages/sources/finnhub-secondary/package.json) ![v3](https://img.shields.io/badge/framework%20version-v3-blueviolet) This document was generated automatically. Please see [README Generator](../../scripts#readme-generator) for more info. diff --git a/packages/sources/finnhub-secondary/package.json b/packages/sources/finnhub-secondary/package.json index 7a43c72e1e..4c5595d595 100644 --- a/packages/sources/finnhub-secondary/package.json +++ b/packages/sources/finnhub-secondary/package.json @@ -1,6 +1,6 @@ { "name": "@chainlink/finnhub-secondary-adapter", - "version": "0.5.3", + "version": "0.5.4", "license": "MIT", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/sources/finnhub/CHANGELOG.md b/packages/sources/finnhub/CHANGELOG.md index 07927f0f99..e84a2908d6 100644 --- a/packages/sources/finnhub/CHANGELOG.md +++ b/packages/sources/finnhub/CHANGELOG.md @@ -1,5 +1,11 @@ # @chainlink/finnhub-adapter +## 3.3.0 + +### Minor Changes + +- [#4322](https://github.com/smartcontractkit/external-adapters-js/pull/4322) [`7b916bf`](https://github.com/smartcontractkit/external-adapters-js/commit/7b916bf6ab3b69daa0dbb5e043265cc0fd1a262b) Thanks [@mxiao-cll](https://github.com/mxiao-cll)! - Add stock quotes + ## 3.2.1 ### Patch Changes diff --git a/packages/sources/finnhub/README.md b/packages/sources/finnhub/README.md index 8b465ccd57..42be05b7c6 100644 --- a/packages/sources/finnhub/README.md +++ b/packages/sources/finnhub/README.md @@ -1,6 +1,6 @@ # FINNHUB -![3.2.1](https://img.shields.io/github/package-json/v/smartcontractkit/external-adapters-js?filename=packages/sources/finnhub/package.json) ![v3](https://img.shields.io/badge/framework%20version-v3-blueviolet) +![3.3.0](https://img.shields.io/github/package-json/v/smartcontractkit/external-adapters-js?filename=packages/sources/finnhub/package.json) ![v3](https://img.shields.io/badge/framework%20version-v3-blueviolet) This document was generated automatically. Please see [README Generator](../../scripts#readme-generator) for more info. @@ -32,9 +32,9 @@ If `CACHE_MAX_AGE` is set below a current heartbeat interval (60000ms), the exte ## Input Parameters -| Required? | Name | Description | Type | Options | Default | -| :-------: | :------: | :-----------------: | :----: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----: | -| | endpoint | The endpoint to use | string | [commodities](#quote-endpoint), [commodity-quote](#quote-endpoint), [common](#quote-endpoint), [equity-quote](#quote-endpoint), [forex-quote](#quote-endpoint), [forex](#quote-endpoint), [market-status](#market-status-endpoint), [quote](#quote-endpoint), [stock](#quote-endpoint) | `quote` | +| Required? | Name | Description | Type | Options | Default | +| :-------: | :------: | :-----------------: | :----: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----: | +| | endpoint | The endpoint to use | string | [commodities](#quote-endpoint), [commodity-quote](#quote-endpoint), [common](#quote-endpoint), [equity-quote](#quote-endpoint), [forex-quote](#quote-endpoint), [forex](#quote-endpoint), [market-status](#market-status-endpoint), [quote](#quote-endpoint), [stock](#quote-endpoint), [stock_quotes](#stock_quotes-endpoint) | `quote` | ## Quote Endpoint @@ -65,6 +65,22 @@ Request: --- +## Stock_quotes Endpoint + +`stock_quotes` is the only supported name for this endpoint. + +### Input Params + +| Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With | +| :-------: | :--: | :-----------------------------------------: | :-----------------------: | :----: | :-----: | :-----: | :--------: | :------------: | +| ✅ | base | `asset`, `coin`, `from`, `symbol`, `ticker` | The stock ticker to query | string | | | | | + +### Example + +There are no examples for this endpoint. + +--- + ## Market-status Endpoint `market-status` is the only supported name for this endpoint. diff --git a/packages/sources/finnhub/package.json b/packages/sources/finnhub/package.json index dfd1c02b5b..66e667fab7 100644 --- a/packages/sources/finnhub/package.json +++ b/packages/sources/finnhub/package.json @@ -1,6 +1,6 @@ { "name": "@chainlink/finnhub-adapter", - "version": "3.2.1", + "version": "3.3.0", "license": "MIT", "main": "dist/index.js", "types": "dist/index.d.ts",