mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-02 13:53:12 +00:00
15 lines
322 B
JavaScript
15 lines
322 B
JavaScript
/* eslint-disable */
|
|
import { API } from "../browser-tests/src/api/shared.ts";
|
|
|
|
runApp().catch((err) => {
|
|
console.error(err);
|
|
});
|
|
|
|
async function runApp() {
|
|
if (typeof window !== "undefined") {
|
|
// Expose shared API functions for browser communication
|
|
window.wakuAPI = API;
|
|
window.subscriptions = [];
|
|
}
|
|
}
|