()
| 13 | } |
| 14 | |
| 15 | async init(): Promise<void> { |
| 16 | if (this.isReady) { |
| 17 | return; |
| 18 | } |
| 19 | |
| 20 | if (!appInitConfig.isProduction) { |
| 21 | await this.agent.fetchRootKey(); |
| 22 | } |
| 23 | |
| 24 | this.isReady = true; |
| 25 | } |
| 26 | |
| 27 | get(): HttpAgent { |
| 28 | return this.agent; |
no outgoing calls
no test coverage detected