mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-30 02:12:22 +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;
|