tokentracker-cli 0.15.2 → 0.15.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/dashboard/dist/assets/{Card-CTRPazyG.js → Card-CFkWVhb0.js} +1 -1
  2. package/dashboard/dist/assets/{DashboardPage-BJVPrOly.js → DashboardPage-RjZ7ipnP.js} +1 -1
  3. package/dashboard/dist/assets/{FadeIn-NAG8xImb.js → FadeIn-Dnh91CXb.js} +1 -1
  4. package/dashboard/dist/assets/{HeaderGithubStar-CwnC8N_4.js → HeaderGithubStar-Csm3Ealb.js} +1 -1
  5. package/dashboard/dist/assets/{IpCheckPage-Bqz8OFmD.js → IpCheckPage-CO11dZjw.js} +1 -1
  6. package/dashboard/dist/assets/{LandingPage-Dz7yTDPI.js → LandingPage-DGwfREJQ.js} +1 -1
  7. package/dashboard/dist/assets/{LeaderboardPage-DX_tP5qi.js → LeaderboardPage-BNEOrCyJ.js} +1 -1
  8. package/dashboard/dist/assets/{LeaderboardProfilePage-BI4R73XX.js → LeaderboardProfilePage-BTr06sjH.js} +1 -1
  9. package/dashboard/dist/assets/{LimitsPage-D15dhSFp.js → LimitsPage-Do6ixJEC.js} +1 -1
  10. package/dashboard/dist/assets/{LoginPage-CSWfDVcM.js → LoginPage-DkI12oqp.js} +1 -1
  11. package/dashboard/dist/assets/{PopoverPopup-DgTXWAeN.js → PopoverPopup-D3QrvkAB.js} +1 -1
  12. package/dashboard/dist/assets/{ProviderIcon-CEhS41Kz.js → ProviderIcon-BrQ-p8RF.js} +1 -1
  13. package/dashboard/dist/assets/{SettingsPage-CaPVlEzU.js → SettingsPage-BRqlRIMB.js} +1 -1
  14. package/dashboard/dist/assets/{SkillsPage-CGH_F5Y0.js → SkillsPage-tu65Bfiu.js} +1 -1
  15. package/dashboard/dist/assets/{WidgetsPage-Cjad4Q71.js → WidgetsPage-C9GQDr-H.js} +1 -1
  16. package/dashboard/dist/assets/{chevron-down-DGOV7_Uw.js → chevron-down-DL3I7ot4.js} +1 -1
  17. package/dashboard/dist/assets/{download-DCjD_Xm9.js → download-6m9qXhnE.js} +1 -1
  18. package/dashboard/dist/assets/{leaderboard-columns-BK2-Jp3k.js → leaderboard-columns-hS7oew2p.js} +1 -1
  19. package/dashboard/dist/assets/{main-DTrs3jUq.js → main-B5QLmAE0.js} +15 -15
  20. package/dashboard/dist/assets/{use-limits-display-prefs-rF66WvRU.js → use-limits-display-prefs-BcoGb7lc.js} +1 -1
  21. package/dashboard/dist/assets/{use-native-settings-DK8RelvO.js → use-native-settings-B3GRVvNg.js} +1 -1
  22. package/dashboard/dist/assets/{use-reduced-motion-BsYZLRkk.js → use-reduced-motion-CybCedEn.js} +1 -1
  23. package/dashboard/dist/assets/{use-usage-limits-jLzoEy77.js → use-usage-limits-CNGlifnQ.js} +1 -1
  24. package/dashboard/dist/index.html +1 -1
  25. package/dashboard/dist/share.html +1 -1
  26. package/package.json +1 -1
  27. package/src/lib/pricing/seed-snapshot.json +1 -1
  28. package/dashboard/dist/assets/NativeAuthCallbackPage-D6Stzae_.js +0 -1
@@ -1 +0,0 @@
1
- import{U as x,Q as g,a9 as p,r as a,D as e,B as r}from"./main-DTrs3jUq.js";const j=typeof window<"u"?window.location.search:"",m=new URLSearchParams(j),n=m.get("insforge_code")||m.get("code")||null;function b(){x();const{loading:c,signedIn:o}=g(),u=p(),[i,l]=a.useState("processing"),[t,d]=a.useState(null),f=a.useRef(!1);return a.useEffect(()=>{!n||f.current||(f.current=!0,(async()=>{try{const h=await(await fetch("/api/auth-bridge/verifier")).json();d(!!h?.native)}catch{d(!1)}})())},[]),a.useEffect(()=>{if(t!==!0||!n)return;l("redirecting");const s=setTimeout(()=>{window.location.href=`tokentracker://auth/callback?insforge_code=${encodeURIComponent(n)}`},200);return()=>clearTimeout(s)},[t]),a.useEffect(()=>{if(t!==!1||c)return;if(o){u("/dashboard",{replace:!0});return}const s=setTimeout(()=>{o||l("failed")},5e3);return()=>clearTimeout(s)},[t,c,o,u]),a.useEffect(()=>{if(!n&&t===null){const s=setTimeout(()=>l("failed"),3e3);return()=>clearTimeout(s)}},[t]),i==="processing"&&t!==!0&&(t===null||t===!1&&c)?e.jsx("div",{className:"min-h-screen bg-oai-gray-950"}):e.jsx("div",{className:"min-h-screen bg-oai-gray-950 text-white font-oai antialiased dark flex items-center justify-center",children:e.jsxs("div",{className:"text-center space-y-4 max-w-sm px-4",children:[i==="processing"&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"w-8 h-8 border-2 border-oai-gray-600 border-t-white rounded-full animate-spin mx-auto"}),e.jsx("p",{className:"text-oai-gray-400 text-sm",children:r("auth.callback.processing")})]}),i==="redirecting"&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"w-12 h-12 mx-auto rounded-full bg-green-500/15 flex items-center justify-center",children:e.jsx("svg",{className:"w-6 h-6 text-green-400",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:e.jsx("path",{d:"M20 6 9 17l-5-5"})})}),e.jsx("p",{className:"text-white text-sm font-medium",children:r("auth.callback.success")}),e.jsx("p",{className:"text-oai-gray-500 text-xs",children:r("auth.callback.redirecting")})]}),i==="failed"&&e.jsxs("div",{className:"space-y-3",children:[e.jsx("p",{className:"text-oai-gray-300 text-sm",children:r("auth.callback.failed")}),e.jsx("button",{type:"button",onClick:()=>window.close(),className:"px-4 py-2 rounded-lg bg-oai-gray-800 text-sm text-white hover:bg-oai-gray-700 transition-colors",children:r("auth.callback.close")})]})]})})}export{b as NativeAuthCallbackPage};