From d1447757af03b9228473a3506de1b39ed425bf95 Mon Sep 17 00:00:00 2001 From: Nelson Taveras <4562733+nvtaveras@users.noreply.github.com> Date: Tue, 9 Jul 2024 03:08:20 +0200 Subject: [PATCH] chore: update alphavantage cert (#261) --- package.json | 2 +- src/exchange_adapters/alphavantage.ts | 4 ++-- src/exchange_adapters/bitget.ts | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index e5171b7a..21aecf12 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "celo-oracle", - "version": "2.0.4-beta", + "version": "2.0.6-beta", "description": "Oracle application to aggregate and report exchange rates to the Celo network", "author": "Celo", "license": "Apache-2.0", diff --git a/src/exchange_adapters/alphavantage.ts b/src/exchange_adapters/alphavantage.ts index c0e0e9b0..3bf04d25 100644 --- a/src/exchange_adapters/alphavantage.ts +++ b/src/exchange_adapters/alphavantage.ts @@ -25,9 +25,9 @@ interface Response { export class AlphavantageAdapter extends BaseExchangeAdapter implements ExchangeAdapter { baseApiUrl = 'https://www.alphavantage.co' readonly _exchangeName: Exchange = Exchange.ALPHAVANTAGE - // E1 - validity not after: 15/09/2025, 13:00:00 GMT-3 + // WE1 Expires: Tuesday, 20. February 2029 at 16:00:00 Eastern readonly _certFingerprint256 = - '46:49:4E:30:37:90:59:DF:18:BE:52:12:43:05:E6:06:FC:59:07:0E:5B:21:07:6C:E1:13:95:4B:60:51:7C:DA' + '1D:FC:16:05:FB:AD:35:8D:8B:C8:44:F7:6D:15:20:3F:AC:9C:A5:C1:A7:9F:D4:85:7F:FA:F2:86:4F:BE:BF:96' protected generatePairSymbol(): string { const base = AlphavantageAdapter.standardTokenSymbolMap.get(this.config.baseCurrency) diff --git a/src/exchange_adapters/bitget.ts b/src/exchange_adapters/bitget.ts index 90432683..429dc159 100644 --- a/src/exchange_adapters/bitget.ts +++ b/src/exchange_adapters/bitget.ts @@ -6,9 +6,9 @@ export class BitgetAdapter extends BaseExchangeAdapter { baseApiUrl = 'https://api.bitget.com/api' readonly _exchangeName = Exchange.BITGET - // Cloudflare Inc ECC CA-3 - validity not after: 31/12/2024, 19:59:59 GMT-4 + // E6 - validity not after: 12/03/2027, 18:59:59 GMT-5 readonly _certFingerprint256 = - '46:49:4E:30:37:90:59:DF:18:BE:52:12:43:05:E6:06:FC:59:07:0E:5B:21:07:6C:E1:13:95:4B:60:51:7C:DA' + '76:E9:E2:88:AA:FC:0E:37:F4:39:0C:BF:94:6A:AD:99:7D:5C:1C:90:1B:3C:E5:13:D3:D8:FA:DB:AB:E2:AB:85' async fetchTicker(): Promise { return this.parseTicker(