()
| 67 | } |
| 68 | |
| 69 | export function getRuntime(): WidgetRuntime { |
| 70 | if (!_runtime) { |
| 71 | throw new Error('widget-sdk: runtime not installed (host bridge missing)') |
| 72 | } |
| 73 | return _runtime |
| 74 | } |
| 75 | |
| 76 | export function resetRuntime(): void { |
| 77 | _runtime = null |
no outgoing calls
no test coverage detected