File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 22
33## vNext
44
5+ ### Features
6+
7+ - Switched to the new Catalyst API ([ PR 3129] ( https://github.com/input-output-hk/daedalus/pull/3129 ) )
8+
59### Fixes
610
711- Fixed decimals for syncing percentage ([ PR 3106] ( https://github.com/input-output-hk/daedalus/pull/3106 ) )
Original file line number Diff line number Diff line change 11import { externalRequest } from '../../utils/externalRequest' ;
2- import { MAINNET_SERVICING_STATION_URL } from '../../../config/urlsConfig' ;
2+ import { CATALYST_API_URL } from '../../../config/urlsConfig' ;
33import { GetCatalystFundResponse } from '../types' ;
44
55export const getCatalystFund = ( ) : Promise < GetCatalystFundResponse > =>
66 externalRequest ( {
7- hostname : MAINNET_SERVICING_STATION_URL ,
7+ hostname : CATALYST_API_URL ,
88 path : '/api/v0/fund' ,
99 method : 'GET' ,
1010 protocol : 'https' ,
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export const DEVELOPMENT_NEWS_HASH_URL = 'newsfeed.daedaluswallet.io';
1111export const MAINNET_NEWS_HASH_URL = 'newsfeed.daedaluswallet.io' ;
1212export const TESTNET_NEWS_HASH_URL = 'newsfeed.daedaluswallet.io' ;
1313export const STAGING_NEWS_HASH_URL = 'newsfeed.daedaluswallet.io' ;
14- export const MAINNET_SERVICING_STATION_URL = 'servicing-station.gov.iog .io' ;
14+ export const CATALYST_API_URL = 'core.projectcatalyst .io' ;
1515export const ALLOWED_EXTERNAL_HOSTNAMES = [
1616 MAINNET_EXPLORER_URL ,
1717 STAGING_EXPLORER_URL ,
@@ -25,5 +25,5 @@ export const ALLOWED_EXTERNAL_HOSTNAMES = [
2525 TESTNET_NEWS_HASH_URL ,
2626 STAGING_NEWS_HASH_URL ,
2727 coingeckoConfig . hostname ,
28- MAINNET_SERVICING_STATION_URL ,
28+ CATALYST_API_URL ,
2929] ;
You can’t perform that action at this time.
0 commit comments