()
| 36 | const USER_CHANGED_EVENT = "opensist-user-changed"; |
| 37 | |
| 38 | function notifyUserChanged() { |
| 39 | if (typeof window !== "undefined") { |
| 40 | window.dispatchEvent(new Event(USER_CHANGED_EVENT)); |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | async function authRequest(path, body) { |
| 45 | return fetch(path, { |
no outgoing calls
no test coverage detected