From 20e68c4dffff1aa8edfa63136fdf6f999d28f553 Mon Sep 17 00:00:00 2001 From: Joshua Date: Thu, 19 Feb 2026 14:47:58 -0800 Subject: [PATCH] Point public EDUT ID surfaces to /secret/id status and activation routes --- public/downloads/android/index.html | 2 +- public/downloads/desktop/index.html | 2 +- public/downloads/ios/index.html | 2 +- public/index.html | 4 ++-- public/store/index.html | 4 ++-- public/trust/index.html | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/public/downloads/android/index.html b/public/downloads/android/index.html index 8dbf852..31c22b3 100644 --- a/public/downloads/android/index.html +++ b/public/downloads/android/index.html @@ -98,7 +98,7 @@ async function fetchMembershipStatus(wallet, chainId) { if (chainId !== null && chainId !== undefined) { params.set('chain_id', String(chainId)); } - const res = await fetch('/secret/membership/status?' + params.toString(), { + const res = await fetch('/secret/id/status?' + params.toString(), { headers: { Accept: 'application/json' }, }); if (!res.ok) { diff --git a/public/downloads/desktop/index.html b/public/downloads/desktop/index.html index 9e72fa8..c53ae83 100644 --- a/public/downloads/desktop/index.html +++ b/public/downloads/desktop/index.html @@ -98,7 +98,7 @@ async function fetchMembershipStatus(wallet, chainId) { if (chainId !== null && chainId !== undefined) { params.set('chain_id', String(chainId)); } - const res = await fetch('/secret/membership/status?' + params.toString(), { + const res = await fetch('/secret/id/status?' + params.toString(), { headers: { Accept: 'application/json' }, }); if (!res.ok) { diff --git a/public/downloads/ios/index.html b/public/downloads/ios/index.html index 2937afa..a26a2a0 100644 --- a/public/downloads/ios/index.html +++ b/public/downloads/ios/index.html @@ -98,7 +98,7 @@ async function fetchMembershipStatus(wallet, chainId) { if (chainId !== null && chainId !== undefined) { params.set('chain_id', String(chainId)); } - const res = await fetch('/secret/membership/status?' + params.toString(), { + const res = await fetch('/secret/id/status?' + params.toString(), { headers: { Accept: 'application/json' }, }); if (!res.ok) { diff --git a/public/index.html b/public/index.html index f834289..9a33097 100644 --- a/public/index.html +++ b/public/index.html @@ -885,7 +885,7 @@ async function startWalletFlow() { flowState.sessionWallet = address; setFlowStatus('membership_quoting', 'Preparing EDUT ID activation...', false); - const quote = await postJSON('/secret/membership/quote', { + const quote = await postJSON('/secret/id/quote', { designation_code: verification.designation_code || intent.designation_code || null, address, chain_id: chainId, @@ -916,7 +916,7 @@ async function startWalletFlow() { }); setFlowStatus('membership_confirming', 'Confirming EDUT ID on-chain...', false); - const confirmation = await postJSON('/secret/membership/confirm', { + const confirmation = await postJSON('/secret/id/confirm', { designation_code: verification.designation_code || intent.designation_code || null, quote_id: quote.quote_id || null, tx_hash: txHash, diff --git a/public/store/index.html b/public/store/index.html index 8fbc4f9..423bbc7 100644 --- a/public/store/index.html +++ b/public/store/index.html @@ -633,7 +633,7 @@ throw new Error('Connect wallet first.'); } - const walletUrl = '/secret/membership/status?wallet=' + encodeURIComponent(state.wallet); + const walletUrl = '/secret/id/status?wallet=' + encodeURIComponent(state.wallet); try { const payload = await fetchJson(walletUrl); return normalizeMembership(payload.status || payload.membership_status); @@ -642,7 +642,7 @@ if (!designationCode) { throw walletErr; } - const codeUrl = '/secret/membership/status?designation_code=' + encodeURIComponent(designationCode); + const codeUrl = '/secret/id/status?designation_code=' + encodeURIComponent(designationCode); const payload = await fetchJson(codeUrl); return normalizeMembership(payload.status || payload.membership_status); } diff --git a/public/trust/index.html b/public/trust/index.html index 7feeca5..7276f8d 100644 --- a/public/trust/index.html +++ b/public/trust/index.html @@ -122,8 +122,8 @@

/secret/wallet/verify

/secret/wallet/session/refresh

/secret/wallet/session/revoke

-

/secret/membership/quote

-

/secret/membership/confirm

+

/secret/id/quote

+

/secret/id/confirm