MCPcopy Create free account
hub / github.com/dfinity/orbit / getDefaultServices

Function getDefaultServices

apps/wallet/src/plugins/services.plugin.ts:20–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18}
19
20const getDefaultServices = (): Services => ({
21 locales: new LocalesService(),
22 auth: new AuthService(),
23 theme: new ThemeService(),
24 controlPanel: new ControlPanelService(
25 new HttpAgent({ host: appInitConfig.apiGatewayUrl.toString() }),
26 ),
27 station: new StationService(new HttpAgent({ host: appInitConfig.apiGatewayUrl.toString() })),
28 sessionExpiration: new SessionExpirationService(),
29});
30
31class ServiceManager {
32 constructor(public services: Services = getDefaultServices()) {}

Callers 1

constructorMethod · 0.85

Calls 1

toStringMethod · 0.80

Tested by

no test coverage detected