MCPcopy
hub / github.com/bitpay/wallet / constructor

Method constructor

src/providers/location/location.ts:9–11  ·  view source on GitHub ↗
(private http: HttpClient, private logger: Logger)

Source from the content-addressed store, hash-verified

7export class LocationProvider {
8 public countryPromise: Promise<string>;
9 constructor(private http: HttpClient, private logger: Logger) {
10 this.logger.debug('LocationProvider initialized');
11 }
12
13 getCountry(): Promise<string> {
14 this.countryPromise = this.countryPromise

Callers

nothing calls this directly

Calls 1

debugMethod · 0.80

Tested by

no test coverage detected