mirror of
https://github.com/urbit/shrub.git
synced 2024-12-22 18:31:44 +03:00
9 lines
210 B
TypeScript
9 lines
210 B
TypeScript
|
import Urbit from '@urbit/http-api';
|
||
|
const api = new Urbit('', '', (window as any).desk);
|
||
|
api.ship = window.ship;
|
||
|
// api.verbose = true;
|
||
|
// @ts-ignore TODO window typings
|
||
|
window.api = api;
|
||
|
|
||
|
export default api;
|