Skip to content

Commit 447e54f

Browse files
Release 1.281.0 (#4615)
Co-authored-by: Michael Xiao <michael.xiao@smartcontract.com>
1 parent 2e9478f commit 447e54f

File tree

12 files changed

+75
-55
lines changed

12 files changed

+75
-55
lines changed

.changeset/cold-suits-wave.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/giant-carrots-tease.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/six-trains-fix.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/thin-pens-dream.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

MASTERLIST.md

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@chainlink/external-adapters-js",
3-
"version": "1.280.0",
3+
"version": "1.281.0",
44
"license": "MIT",
55
"private": true,
66
"workspaces": [

packages/composites/ondo-calculated/CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# @chainlink/ondo-calculated-adapter
22

3+
## 2.0.0
4+
5+
### Major Changes
6+
7+
- [#4567](https://github.com/smartcontractkit/external-adapters-js/pull/4567) [`dc405b2`](https://github.com/smartcontractkit/external-adapters-js/commit/dc405b297e07f5ad4f083466d1e9afd8b878c0b7) Thanks [@mxiao-cll](https://github.com/mxiao-cll)! - Read trading session from trading hours instead of hard-coded values
8+
9+
When upgrading to this version:
10+
11+
1. Point TRADING_HOURS_ADAPTER_URL to a trading hours EA with minimum version of 0.6.0
12+
2. If you have DATA_ENGINE_EA_URL set, rename it to DATA_ENGINE_ADAPTER_URL
13+
3. Wait for CLL's go ahead message
14+
15+
### Minor Changes
16+
17+
- [#4577](https://github.com/smartcontractkit/external-adapters-js/pull/4577) [`42f5434`](https://github.com/smartcontractkit/external-adapters-js/commit/42f5434fab7f710f7b95b450e7242309d49dcec5) Thanks [@mxiao-cll](https://github.com/mxiao-cll)! - Reset internal state after in-activity
18+
19+
- [#4576](https://github.com/smartcontractkit/external-adapters-js/pull/4576) [`f3a5ca0`](https://github.com/smartcontractkit/external-adapters-js/commit/f3a5ca0826ae56f5b966d144b7f1274ce049b682) Thanks [@mxiao-cll](https://github.com/mxiao-cll)! - Return source of session data
20+
321
## 1.4.0
422

523
### Minor Changes

packages/composites/ondo-calculated/README.md

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# ONDO_CALCULATED
22

3-
![1.4.0](https://img.shields.io/github/package-json/v/smartcontractkit/external-adapters-js?filename=packages/composites/ondo-calculated/package.json) ![v3](https://img.shields.io/badge/framework%20version-v3-blueviolet)
3+
![2.0.0](https://img.shields.io/github/package-json/v/smartcontractkit/external-adapters-js?filename=packages/composites/ondo-calculated/package.json) ![v3](https://img.shields.io/badge/framework%20version-v3-blueviolet)
44

55
This document was generated automatically. Please see [README Generator](../../scripts#readme-generator) for more info.
66

77
## Environment Variables
88

9-
| Required? | Name | Description | Type | Options | Default |
10-
| :-------: | :---------------------: | :---------------------------------------------------------------------------------------: | :----: | :-----: | :-----: |
11-
|| ETHEREUM_RPC_URL | RPC URL of a Mainnet ETH node | string | | |
12-
| | DATA_ENGINE_ADAPTER_URL | URL of data engine ea | string | | `` |
13-
| | DATA_ENGINE_EA_URL | Deprecated: use DATA_ENGINE_ADAPTER_URL instead | string | | `` |
14-
| | ETHEREUM_RPC_CHAIN_ID | The chain id to connect to | number | | `1` |
15-
| | BACKGROUND_EXECUTE_MS | The amount of time the background execute should sleep before performing the next request | number | | `1000` |
9+
| Required? | Name | Description | Type | Options | Default |
10+
| :-------: | :-----------------------: | :---------------------------------------------------------------------------------------: | :----: | :-----: | :-----: |
11+
|| ETHEREUM_RPC_URL | RPC URL of a Mainnet ETH node | string | | |
12+
| | DATA_ENGINE_ADAPTER_URL | URL of data engine ea | string | | |
13+
| | TRADING_HOURS_ADAPTER_URL | URL of tradinghours ea | string | | |
14+
| | ETHEREUM_RPC_CHAIN_ID | The chain id to connect to | number | | `1` |
15+
| | BACKGROUND_EXECUTE_MS | The amount of time the background execute should sleep before performing the next request | number | | `1000` |
1616

1717
---
1818

@@ -34,17 +34,19 @@ There are no rate limits for this adapter.
3434

3535
### Input Params
3636

37-
| Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
38-
| :-------: | :-----------------------: | :-----: | :-------------------------------------------------------------------------------------: | :------: | :-------------: | :------: | :--------: | :------------: |
39-
|| registry | | Ondo on-chain registry address | string | | | | |
40-
|| asset | | Maps to the asset in ondo’s on-chain registry | string | | | | |
41-
|| regularStreamId | | Data Streams regular hour feed ID for the underlying asset | string | | | | |
42-
|| extendedStreamId | | Data Streams extended hour feed ID for the underlying asset | string | | | | |
43-
|| overnightStreamId | | Data Streams overnight hour feed ID for the underlying asset | string | | | | |
44-
|| sessionBoundaries | | A list of time where market trasition from 1 session to the next in the format of HH:MM | string[] | | | | |
45-
|| sessionBoundariesTimeZone | | ANA Time Zone Database format | string | | | | |
46-
| | smoother | | Smoothing algorithm to apply to the price | string | `ema`, `kalman` | `kalman` | | |
47-
| | decimals | | Decimals of output result | number | | `8` | | |
37+
| Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
38+
| :-------: | :-----------------------: | :-----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :------: | :-------------: | :------: | :--------: | :------------: |
39+
|| registry | | Ondo on-chain registry address | string | | | | |
40+
|| asset | | Maps to the asset in ondo’s on-chain registry | string | | | | |
41+
|| regularStreamId | | Data Streams regular hour feed ID for the underlying asset | string | | | | |
42+
|| extendedStreamId | | Data Streams extended hour feed ID for the underlying asset | string | | | | |
43+
|| overnightStreamId | | Data Streams overnight hour feed ID for the underlying asset | string | | | | |
44+
|| sessionMarket | | The name of the market for session times, for example nyse. This is passed to the tradinghours adapter as the `market` parameter. | string | | | | |
45+
|| sessionMarketType | | The type of the market for session times, for example 24/5. This is passed to the tradinghours adapter as the `type` parameter. | string | | | | |
46+
|| sessionBoundaries | | (backup) A list of time where market trasition from 1 session to the next in the format of HH:MM. This is only used when the adapter is unable to fetch session times from the tradinghours EA | string[] | | | | |
47+
|| sessionBoundariesTimeZone | | ANA Time Zone Database format | string | | | | |
48+
| | smoother | | Smoothing algorithm to apply to the price | string | `ema`, `kalman` | `kalman` | | |
49+
| | decimals | | Decimals of output result | number | | `8` | | |
4850

4951
### Example
5052

@@ -59,6 +61,8 @@ Request:
5961
"regularStreamId": "0x0",
6062
"extendedStreamId": "0x0",
6163
"overnightStreamId": "0x0",
64+
"sessionMarket": "nyse",
65+
"sessionMarketType": "24/5",
6266
"sessionBoundaries": ["04:00", "16:00", "20:00"],
6367
"sessionBoundariesTimeZone": "America/New_York",
6468
"smoother": "kalman",

packages/composites/ondo-calculated/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@chainlink/ondo-calculated-adapter",
3-
"version": "1.4.0",
3+
"version": "2.0.0",
44
"description": "Chainlink ondo-calculated adapter.",
55
"keywords": [
66
"Chainlink",

packages/sources/tradinghours/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @chainlink/tradinghours-adapter
22

3+
## 0.6.0
4+
5+
### Minor Changes
6+
7+
- [#4564](https://github.com/smartcontractkit/external-adapters-js/pull/4564) [`3c4170a`](https://github.com/smartcontractkit/external-adapters-js/commit/3c4170a058e455cb4be5e5f73b6d557c035dea93) Thanks [@mxiao-cll](https://github.com/mxiao-cll)! - Add new session endpoint
8+
39
## 0.5.0
410

511
### Minor Changes

0 commit comments

Comments
 (0)