• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

safe-global / safe-client-gateway / 14839292980

05 May 2025 02:48PM UTC coverage: 90.288% (-0.2%) from 90.497%
14839292980

push

github

web-flow
feat(amqp): add heartbeat and reconnect time configuration options (#2572)

This PR introduces configuration options for the AMQP heartbeat interval and reconnect time, improving connection stability and management. Previously, these values were not configurable, which could result in the client prematurely closing the connection.

3291 of 3975 branches covered (82.79%)

Branch coverage included in aggregate %.

3 of 3 new or added lines in 1 file covered. (100.0%)

51 existing lines in 8 files now uncovered.

11389 of 12284 relevant lines covered (92.71%)

559.19 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/domain/interfaces/staking-api.interface.ts
1
import type { Deployment } from '@/datasources/staking-api/entities/deployment.entity';
2
import type { DedicatedStakingStats } from '@/datasources/staking-api/entities/dedicated-staking-stats.entity';
3
import type { NetworkStats } from '@/datasources/staking-api/entities/network-stats.entity';
4
import type { PooledStakingStats } from '@/datasources/staking-api/entities/pooled-staking-stats.entity';
5
import type { DefiVaultStats } from '@/datasources/staking-api/entities/defi-vault-stats.entity';
6
import type { Stake } from '@/datasources/staking-api/entities/stake.entity';
7
import type { TransactionStatus } from '@/datasources/staking-api/entities/transaction-status.entity';
8
import type { Raw } from '@/validation/entities/raw.entity';
9
import type { DefiVaultStake } from '@/datasources/staking-api/entities/defi-vault-stake.entity';
10
import type { DefiMorphoExtraReward } from '@/datasources/staking-api/entities/defi-morpho-extra-reward.entity';
11

UNCOV
12
export const IStakingApi = Symbol('IStakingApi');
×
13

14
export interface IStakingApi {
15
  getDeployments(): Promise<Raw<Array<Deployment>>>;
16

17
  getNetworkStats(): Promise<Raw<NetworkStats>>;
18

19
  getDedicatedStakingStats(): Promise<Raw<DedicatedStakingStats>>;
20

21
  getPooledStakingStats(pool: `0x${string}`): Promise<Raw<PooledStakingStats>>;
22

23
  getDefiVaultStats(vault: `0x${string}`): Promise<Raw<Array<DefiVaultStats>>>;
24

25
  getDefiVaultStakes(args: {
26
    safeAddress: `0x${string}`;
27
    vault: `0x${string}`;
28
  }): Promise<Raw<Array<DefiVaultStake>>>;
29

30
  getDefiMorphoExtraRewards(
31
    safeAddress: `0x${string}`,
32
  ): Promise<Raw<Array<DefiMorphoExtraReward>>>;
33

34
  getStakes(args: {
35
    safeAddress: `0x${string}`;
36
    validatorsPublicKeys: Array<`0x${string}`>;
37
  }): Promise<Raw<Array<Stake>>>;
38

39
  clearStakes(safeAddress: `0x${string}`): Promise<void>;
40

41
  getTransactionStatus(txHash: `0x${string}`): Promise<Raw<TransactionStatus>>;
42
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc