@sanvika/auth 1.0.18 → 1.0.19

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 (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -509,7 +509,7 @@ function SanvikaAccountButton({
509
509
  /* @__PURE__ */ jsxs(
510
510
  "a",
511
511
  {
512
- href: `https://accounts.sanvikaproduction.com/dashboard/user-profile?token=${encodeURIComponent(accessToken || "")}&origin=${encodeURIComponent(window.location.origin)}`,
512
+ href: `${dashboardPath}/user-profile`,
513
513
  className: "snvk-dropdownItem",
514
514
  role: "menuitem",
515
515
  onClick: () => setDropdownOpen(false),
@@ -522,7 +522,7 @@ function SanvikaAccountButton({
522
522
  /* @__PURE__ */ jsxs(
523
523
  "a",
524
524
  {
525
- href: onboardingPath && user.status === "onboarding" ? onboardingPath : `https://accounts.sanvikaproduction.com/dashboard?token=${encodeURIComponent(accessToken || "")}&origin=${encodeURIComponent(window.location.origin)}`,
525
+ href: onboardingPath && user.status === "onboarding" ? onboardingPath : dashboardPath,
526
526
  className: "snvk-dropdownItem",
527
527
  role: "menuitem",
528
528
  onClick: () => setDropdownOpen(false),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanvika/auth",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "Sanvika Auth SDK — React components and hooks for Sanvika SSO integration",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",