(options)
| 76 | * @yield {Object} The public key json object |
| 77 | */ |
| 78 | export async function fetch(options) { |
| 79 | let jsonKey; |
| 80 | const response = await self.fetch(url(options)); |
| 81 | if (response.status === 200) { |
| 82 | jsonKey = await response.json(); |
| 83 | } |
| 84 | return jsonKey; |
| 85 | } |
| 86 | |
| 87 | /** |
| 88 | * Upload a public key to the server for verification by the user. Normally |
no test coverage detected