All files / src/endpoints market.ts

100% Statements 8/8
75% Branches 6/8
100% Functions 2/2
100% Lines 8/8

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 1444x 1x 1x   1x       12x 12x 12x   1x  
import type {APIClient} from '@wharfkit/antelope'
import {MarketV1APIClient} from './market/v1'
import {MarketV2APIClient} from './market/v2'
 
export class MarketAPIClient {
    public v1: MarketV1APIClient
    public v2: MarketV2APIClient
 
    constructor(private client: APIClient) {
        this.v1 = new MarketV1APIClient(client)
        this.v2 = new MarketV2APIClient(client)
    }
}