feat: integrate Just Works app and native business setup
Preserve hosted website UX inside Archipelago, add isolated Business and owner-authorized native wallet setup, and include deployment handoff. Based on main with native signer import already accepted.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
const endpoint = "https://justworks.cash/api/analytics/event";
|
||||
|
||||
export function trackGallery(type = "surface_interaction", action = "open") {
|
||||
try {
|
||||
const body = JSON.stringify({ surface: "gallery", type, action });
|
||||
if (
|
||||
navigator.sendBeacon?.(endpoint, new Blob([body], { type: "text/plain" }))
|
||||
)
|
||||
return;
|
||||
fetch(endpoint, { method: "POST", body, keepalive: true }).catch(() => {});
|
||||
} catch {}
|
||||
}
|
||||
Reference in New Issue
Block a user