@boostyourleads/antigravity-sdk 1.0.0 → 1.0.1
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.
- package/dist/cli.js +11 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -69,8 +69,18 @@ const handleLogin = async () => {
|
|
|
69
69
|
<div style="font-family: Outfit, sans-serif; background-color: #09090b; color: white; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;">
|
|
70
70
|
<h2 style="color: #10b981; margin-bottom: 8px;">Authentication Successful!</h2>
|
|
71
71
|
<p style="color: #a1a1aa; font-size: 14px; margin-bottom: 24px;">The Antigravity SDK has been configured on your local machine.</p>
|
|
72
|
-
<p style="color: #71717a; font-size: 11px;">
|
|
72
|
+
<p style="color: #71717a; font-size: 11px;">Redirecting back to BoostYourLeads...</p>
|
|
73
73
|
</div>
|
|
74
|
+
<script>
|
|
75
|
+
setTimeout(() => {
|
|
76
|
+
// Try closing the tab/window
|
|
77
|
+
window.close();
|
|
78
|
+
// Fallback to portal redirection if close is blocked by the browser
|
|
79
|
+
setTimeout(() => {
|
|
80
|
+
window.location.href = "${PORTAL_URL}";
|
|
81
|
+
}, 500);
|
|
82
|
+
}, 1500);
|
|
83
|
+
</script>
|
|
74
84
|
`);
|
|
75
85
|
console.log("✅ Successfully authenticated! Config saved to ~/.boostyourleads/config.json");
|
|
76
86
|
// Graceful shut down
|