@mesob/auth-react 0.5.2 → 0.5.4

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 (138) hide show
  1. package/dist/{chunk-4CUQIZ2Q.js → chunk-4LHFPVAY.js} +2 -2
  2. package/dist/{chunk-YQLGGIE4.js → chunk-57L345IN.js} +4 -4
  3. package/dist/{chunk-RZFCA4YG.js → chunk-5B6GREDA.js} +2 -2
  4. package/dist/{chunk-UOQGT574.js → chunk-5XCUGCW7.js} +4 -4
  5. package/dist/{chunk-KWL6FBP7.js → chunk-6AV6I5B4.js} +3 -3
  6. package/dist/{chunk-LQX2365R.js → chunk-7VWWIN6Q.js} +3 -3
  7. package/dist/{chunk-2XIZ27DU.js → chunk-A5ON3RKH.js} +3 -3
  8. package/dist/chunk-A5ON3RKH.js.map +1 -0
  9. package/dist/{chunk-DJWX4ENN.js → chunk-BM3YKYGC.js} +2 -2
  10. package/dist/{chunk-WBRGSWKX.js → chunk-BX75EFF3.js} +4 -4
  11. package/dist/{chunk-JNVJWNJT.js → chunk-DCWKYK3D.js} +4 -4
  12. package/dist/{chunk-QJOBPOTR.js → chunk-DRM44QBR.js} +3 -3
  13. package/dist/{chunk-WFHQTVY6.js → chunk-EIJFTUTM.js} +3 -3
  14. package/dist/{chunk-22WQJ3NP.js → chunk-FCPN2FD7.js} +5 -5
  15. package/dist/{chunk-PFUTYTDB.js → chunk-FLGP4ROM.js} +5 -5
  16. package/dist/{chunk-PCBJBXEK.js → chunk-FU4K62DS.js} +2 -2
  17. package/dist/{chunk-WTAKMSWN.js → chunk-G4VPR4UC.js} +2 -2
  18. package/dist/{chunk-R6ME7P5U.js → chunk-GGBS64Z5.js} +4 -4
  19. package/dist/{chunk-VVFBMIIB.js → chunk-GQFTH5DQ.js} +12 -7
  20. package/dist/chunk-GQFTH5DQ.js.map +1 -0
  21. package/dist/{chunk-UN6YBSRS.js → chunk-H2W42KYL.js} +2 -2
  22. package/dist/{chunk-XUV6CYTY.js → chunk-HBQK5PAH.js} +2 -2
  23. package/dist/{chunk-XL2DCDFZ.js → chunk-IBRB7ABJ.js} +2 -2
  24. package/dist/{chunk-K2523VB5.js → chunk-IFFWIROT.js} +2 -2
  25. package/dist/{chunk-QHHVGLHT.js → chunk-IK7V3PT3.js} +2 -2
  26. package/dist/{chunk-RPKO5EQ5.js → chunk-JKUKCVY7.js} +5 -5
  27. package/dist/{chunk-BIP5XEDV.js → chunk-K6ACPILA.js} +4 -4
  28. package/dist/{chunk-55WFD2Y2.js → chunk-PUOQX6DR.js} +4 -4
  29. package/dist/{chunk-OPSVSBOB.js → chunk-SA6HTWCL.js} +2 -2
  30. package/dist/{chunk-SBSAOWP5.js → chunk-SX6WAVQS.js} +5 -5
  31. package/dist/{chunk-J4Q7RYYY.js → chunk-TAJQ7O3U.js} +2 -2
  32. package/dist/{chunk-NLK2J4UG.js → chunk-TPG4RW7H.js} +2 -2
  33. package/dist/{chunk-24E7XFGP.js → chunk-USVJBAWJ.js} +2 -2
  34. package/dist/{chunk-CDX5V66G.js → chunk-VMAGFUOK.js} +3 -3
  35. package/dist/{chunk-NUCDZRXS.js → chunk-VS5FEGMX.js} +2 -2
  36. package/dist/{chunk-LJIZEECR.js → chunk-VWYJI2FU.js} +4 -4
  37. package/dist/{chunk-TEARMXTQ.js → chunk-W2HMARW4.js} +4 -4
  38. package/dist/{chunk-RRLFPSSM.js → chunk-W7UHDTBI.js} +33 -2
  39. package/dist/chunk-W7UHDTBI.js.map +1 -0
  40. package/dist/{chunk-ZGDN6MQA.js → chunk-XLPPZKU2.js} +4 -4
  41. package/dist/{chunk-C34HWZA5.js → chunk-XO5LLEGV.js} +2 -2
  42. package/dist/{chunk-ZMJUIRZ6.js → chunk-XZAYLXLS.js} +2 -2
  43. package/dist/{chunk-S772WZD7.js → chunk-YCVDEX5U.js} +3 -3
  44. package/dist/{chunk-GXWBGB6G.js → chunk-YQU3KG74.js} +4 -4
  45. package/dist/{chunk-6L4K26KM.js → chunk-YVHMCTLM.js} +2 -2
  46. package/dist/{chunk-HVAYVDIM.js → chunk-Z4FXOZEJ.js} +3 -3
  47. package/dist/{chunk-XGE6G3EK.js → chunk-ZOKBN5H4.js} +2 -2
  48. package/dist/components/auth/countdown.js +3 -3
  49. package/dist/components/auth/forgot-password.js +4 -4
  50. package/dist/components/auth/reset-password-form.js +4 -4
  51. package/dist/components/auth/set-password.js +4 -4
  52. package/dist/components/auth/sign-in.js +4 -4
  53. package/dist/components/auth/sign-up.js +4 -4
  54. package/dist/components/auth/verification-form.js +4 -4
  55. package/dist/components/auth/verify-email.js +6 -6
  56. package/dist/components/auth/verify-phone.js +6 -6
  57. package/dist/components/authorization/deny.js +2 -2
  58. package/dist/components/authorization/grant.js +2 -2
  59. package/dist/components/iam/domains-page.js +6 -6
  60. package/dist/components/iam/iam-guard.js +3 -3
  61. package/dist/components/iam/permission-selector.js +2 -2
  62. package/dist/components/iam/permissions-page.js +4 -4
  63. package/dist/components/iam/permissions.js +2 -2
  64. package/dist/components/iam/role-detail-layout.js +2 -2
  65. package/dist/components/iam/role-detail-page.js +4 -4
  66. package/dist/components/iam/role-permissions-page.js +5 -5
  67. package/dist/components/iam/roles-page.js +6 -6
  68. package/dist/components/iam/roles.js +2 -2
  69. package/dist/components/iam/sessions-page.js +6 -6
  70. package/dist/components/iam/sessions.js +2 -2
  71. package/dist/components/iam/tenants-page.js +6 -6
  72. package/dist/components/iam/tenants.js +2 -2
  73. package/dist/components/iam/users-page.js +7 -7
  74. package/dist/components/iam/users.js +2 -2
  75. package/dist/components/profile/account.js +2 -2
  76. package/dist/components/profile/change-email-form.js +8 -8
  77. package/dist/components/profile/change-password-form.js +2 -2
  78. package/dist/components/profile/change-phone-form.js +8 -8
  79. package/dist/components/profile/otp-verification-modal.js +5 -5
  80. package/dist/components/profile/profile-layout.js +3 -3
  81. package/dist/components/profile/request-change-email-form.js +2 -2
  82. package/dist/components/profile/request-change-phone-form.js +2 -2
  83. package/dist/components/profile/security.js +13 -13
  84. package/dist/components/profile/verify-change-email-form.js +6 -6
  85. package/dist/components/profile/verify-change-phone-form.js +6 -6
  86. package/dist/index.js +44 -44
  87. package/dist/pages/auth/layout.js +1 -1
  88. package/dist/pages/iam/tenants/tenant-selector.js +3 -3
  89. package/dist/pages/iam/users/user-selector.js +4 -4
  90. package/dist/pages/profile/account.js +1 -1
  91. package/dist/pages/profile/security.js +1 -1
  92. package/dist/types.d.ts +5 -2
  93. package/dist/utils/handle-error.d.ts +3 -1
  94. package/package.json +3 -3
  95. package/dist/chunk-2XIZ27DU.js.map +0 -1
  96. package/dist/chunk-RRLFPSSM.js.map +0 -1
  97. package/dist/chunk-VVFBMIIB.js.map +0 -1
  98. /package/dist/{chunk-4CUQIZ2Q.js.map → chunk-4LHFPVAY.js.map} +0 -0
  99. /package/dist/{chunk-YQLGGIE4.js.map → chunk-57L345IN.js.map} +0 -0
  100. /package/dist/{chunk-RZFCA4YG.js.map → chunk-5B6GREDA.js.map} +0 -0
  101. /package/dist/{chunk-UOQGT574.js.map → chunk-5XCUGCW7.js.map} +0 -0
  102. /package/dist/{chunk-KWL6FBP7.js.map → chunk-6AV6I5B4.js.map} +0 -0
  103. /package/dist/{chunk-LQX2365R.js.map → chunk-7VWWIN6Q.js.map} +0 -0
  104. /package/dist/{chunk-DJWX4ENN.js.map → chunk-BM3YKYGC.js.map} +0 -0
  105. /package/dist/{chunk-WBRGSWKX.js.map → chunk-BX75EFF3.js.map} +0 -0
  106. /package/dist/{chunk-JNVJWNJT.js.map → chunk-DCWKYK3D.js.map} +0 -0
  107. /package/dist/{chunk-QJOBPOTR.js.map → chunk-DRM44QBR.js.map} +0 -0
  108. /package/dist/{chunk-WFHQTVY6.js.map → chunk-EIJFTUTM.js.map} +0 -0
  109. /package/dist/{chunk-22WQJ3NP.js.map → chunk-FCPN2FD7.js.map} +0 -0
  110. /package/dist/{chunk-PFUTYTDB.js.map → chunk-FLGP4ROM.js.map} +0 -0
  111. /package/dist/{chunk-PCBJBXEK.js.map → chunk-FU4K62DS.js.map} +0 -0
  112. /package/dist/{chunk-WTAKMSWN.js.map → chunk-G4VPR4UC.js.map} +0 -0
  113. /package/dist/{chunk-R6ME7P5U.js.map → chunk-GGBS64Z5.js.map} +0 -0
  114. /package/dist/{chunk-UN6YBSRS.js.map → chunk-H2W42KYL.js.map} +0 -0
  115. /package/dist/{chunk-XUV6CYTY.js.map → chunk-HBQK5PAH.js.map} +0 -0
  116. /package/dist/{chunk-XL2DCDFZ.js.map → chunk-IBRB7ABJ.js.map} +0 -0
  117. /package/dist/{chunk-K2523VB5.js.map → chunk-IFFWIROT.js.map} +0 -0
  118. /package/dist/{chunk-QHHVGLHT.js.map → chunk-IK7V3PT3.js.map} +0 -0
  119. /package/dist/{chunk-RPKO5EQ5.js.map → chunk-JKUKCVY7.js.map} +0 -0
  120. /package/dist/{chunk-BIP5XEDV.js.map → chunk-K6ACPILA.js.map} +0 -0
  121. /package/dist/{chunk-55WFD2Y2.js.map → chunk-PUOQX6DR.js.map} +0 -0
  122. /package/dist/{chunk-OPSVSBOB.js.map → chunk-SA6HTWCL.js.map} +0 -0
  123. /package/dist/{chunk-SBSAOWP5.js.map → chunk-SX6WAVQS.js.map} +0 -0
  124. /package/dist/{chunk-J4Q7RYYY.js.map → chunk-TAJQ7O3U.js.map} +0 -0
  125. /package/dist/{chunk-NLK2J4UG.js.map → chunk-TPG4RW7H.js.map} +0 -0
  126. /package/dist/{chunk-24E7XFGP.js.map → chunk-USVJBAWJ.js.map} +0 -0
  127. /package/dist/{chunk-CDX5V66G.js.map → chunk-VMAGFUOK.js.map} +0 -0
  128. /package/dist/{chunk-NUCDZRXS.js.map → chunk-VS5FEGMX.js.map} +0 -0
  129. /package/dist/{chunk-LJIZEECR.js.map → chunk-VWYJI2FU.js.map} +0 -0
  130. /package/dist/{chunk-TEARMXTQ.js.map → chunk-W2HMARW4.js.map} +0 -0
  131. /package/dist/{chunk-ZGDN6MQA.js.map → chunk-XLPPZKU2.js.map} +0 -0
  132. /package/dist/{chunk-C34HWZA5.js.map → chunk-XO5LLEGV.js.map} +0 -0
  133. /package/dist/{chunk-ZMJUIRZ6.js.map → chunk-XZAYLXLS.js.map} +0 -0
  134. /package/dist/{chunk-S772WZD7.js.map → chunk-YCVDEX5U.js.map} +0 -0
  135. /package/dist/{chunk-GXWBGB6G.js.map → chunk-YQU3KG74.js.map} +0 -0
  136. /package/dist/{chunk-6L4K26KM.js.map → chunk-YVHMCTLM.js.map} +0 -0
  137. /package/dist/{chunk-HVAYVDIM.js.map → chunk-Z4FXOZEJ.js.map} +0 -0
  138. /package/dist/{chunk-XGE6G3EK.js.map → chunk-ZOKBN5H4.js.map} +0 -0
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  authApi$
3
- } from "./chunk-QJOBPOTR.js";
3
+ } from "./chunk-DRM44QBR.js";
4
4
  import {
5
5
  defaultEntityQueryOptions
6
6
  } from "./chunk-NPW7D2HZ.js";
7
7
  import {
8
8
  IAMGuard
9
- } from "./chunk-DJWX4ENN.js";
9
+ } from "./chunk-BM3YKYGC.js";
10
10
  import {
11
11
  useApi,
12
12
  useConfig
13
- } from "./chunk-2XIZ27DU.js";
13
+ } from "./chunk-A5ON3RKH.js";
14
14
 
15
15
  // src/components/iam/domains-page.tsx
16
16
  import {
@@ -598,4 +598,4 @@ function DomainsPageContent() {
598
598
  export {
599
599
  DomainsPage
600
600
  };
601
- //# sourceMappingURL=chunk-BIP5XEDV.js.map
601
+ //# sourceMappingURL=chunk-K6ACPILA.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  VerifyChangeEmailForm
3
- } from "./chunk-KWL6FBP7.js";
3
+ } from "./chunk-6AV6I5B4.js";
4
4
  import {
5
5
  RequestChangeEmailForm
6
- } from "./chunk-WTAKMSWN.js";
6
+ } from "./chunk-G4VPR4UC.js";
7
7
  import {
8
8
  useSession
9
- } from "./chunk-2XIZ27DU.js";
9
+ } from "./chunk-A5ON3RKH.js";
10
10
 
11
11
  // src/components/profile/change-email-form.tsx
12
12
  import {
@@ -91,4 +91,4 @@ function ChangeEmailForm() {
91
91
  export {
92
92
  ChangeEmailForm
93
93
  };
94
- //# sourceMappingURL=chunk-55WFD2Y2.js.map
94
+ //# sourceMappingURL=chunk-PUOQX6DR.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  useApi,
3
3
  useConfig
4
- } from "./chunk-2XIZ27DU.js";
4
+ } from "./chunk-A5ON3RKH.js";
5
5
 
6
6
  // src/components/iam/role-detail-layout.tsx
7
7
  import {
@@ -100,4 +100,4 @@ function RoleDetailLayout({
100
100
  export {
101
101
  RoleDetailLayout
102
102
  };
103
- //# sourceMappingURL=chunk-OPSVSBOB.js.map
103
+ //# sourceMappingURL=chunk-SA6HTWCL.js.map
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  ChangeEmailForm
3
- } from "./chunk-55WFD2Y2.js";
3
+ } from "./chunk-PUOQX6DR.js";
4
4
  import {
5
5
  ChangePasswordForm
6
- } from "./chunk-NUCDZRXS.js";
6
+ } from "./chunk-VS5FEGMX.js";
7
7
  import {
8
8
  ChangePhoneForm
9
- } from "./chunk-WBRGSWKX.js";
9
+ } from "./chunk-BX75EFF3.js";
10
10
  import {
11
11
  useSession
12
- } from "./chunk-2XIZ27DU.js";
12
+ } from "./chunk-A5ON3RKH.js";
13
13
 
14
14
  // src/components/profile/security.tsx
15
15
  import { Badge, Card, CardContent, Separator } from "@mesob/ui/components";
@@ -62,4 +62,4 @@ function Security() {
62
62
  export {
63
63
  Security
64
64
  };
65
- //# sourceMappingURL=chunk-SBSAOWP5.js.map
65
+ //# sourceMappingURL=chunk-SX6WAVQS.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-TFVBER3Y.js";
4
4
  import {
5
5
  useApi
6
- } from "./chunk-2XIZ27DU.js";
6
+ } from "./chunk-A5ON3RKH.js";
7
7
 
8
8
  // src/components/iam/users.tsx
9
9
  import { Badge, Button } from "@mesob/ui/components";
@@ -104,4 +104,4 @@ function Users() {
104
104
  export {
105
105
  Users
106
106
  };
107
- //# sourceMappingURL=chunk-J4Q7RYYY.js.map
107
+ //# sourceMappingURL=chunk-TAJQ7O3U.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-TFVBER3Y.js";
4
4
  import {
5
5
  useApi
6
- } from "./chunk-2XIZ27DU.js";
6
+ } from "./chunk-A5ON3RKH.js";
7
7
 
8
8
  // src/components/iam/permissions.tsx
9
9
  import { Badge, Button } from "@mesob/ui/components";
@@ -95,4 +95,4 @@ function Permissions() {
95
95
  export {
96
96
  Permissions
97
97
  };
98
- //# sourceMappingURL=chunk-NLK2J4UG.js.map
98
+ //# sourceMappingURL=chunk-TPG4RW7H.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  Link,
6
6
  authApi$
7
- } from "./chunk-QJOBPOTR.js";
7
+ } from "./chunk-DRM44QBR.js";
8
8
 
9
9
  // src/pages/iam/users/_components/user-card.tsx
10
10
  import {
@@ -482,4 +482,4 @@ export {
482
482
  UserForm,
483
483
  UserCard
484
484
  };
485
- //# sourceMappingURL=chunk-24E7XFGP.js.map
485
+ //# sourceMappingURL=chunk-USVJBAWJ.js.map
@@ -3,11 +3,11 @@ import {
3
3
  } from "./chunk-NPW7D2HZ.js";
4
4
  import {
5
5
  IAMGuard
6
- } from "./chunk-DJWX4ENN.js";
6
+ } from "./chunk-BM3YKYGC.js";
7
7
  import {
8
8
  useApi,
9
9
  useConfig
10
- } from "./chunk-2XIZ27DU.js";
10
+ } from "./chunk-A5ON3RKH.js";
11
11
 
12
12
  // src/components/iam/permissions-page.tsx
13
13
  import {
@@ -278,4 +278,4 @@ function PermissionsPageContent() {
278
278
  export {
279
279
  PermissionsPage
280
280
  };
281
- //# sourceMappingURL=chunk-CDX5V66G.js.map
281
+ //# sourceMappingURL=chunk-VMAGFUOK.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useSession
3
- } from "./chunk-2XIZ27DU.js";
3
+ } from "./chunk-A5ON3RKH.js";
4
4
 
5
5
  // src/components/profile/change-password-form.tsx
6
6
  import { zodResolver } from "@hookform/resolvers/zod";
@@ -236,4 +236,4 @@ function ChangePasswordForm() {
236
236
  export {
237
237
  ChangePasswordForm
238
238
  };
239
- //# sourceMappingURL=chunk-NUCDZRXS.js.map
239
+ //# sourceMappingURL=chunk-VS5FEGMX.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  PermissionSelector
3
- } from "./chunk-6L4K26KM.js";
3
+ } from "./chunk-YVHMCTLM.js";
4
4
  import {
5
5
  IAMGuard
6
- } from "./chunk-DJWX4ENN.js";
6
+ } from "./chunk-BM3YKYGC.js";
7
7
  import {
8
8
  useApi
9
- } from "./chunk-2XIZ27DU.js";
9
+ } from "./chunk-A5ON3RKH.js";
10
10
 
11
11
  // src/components/iam/role-permissions-page.tsx
12
12
  import {
@@ -289,4 +289,4 @@ function RolePermissionsPageContent({ roleId }) {
289
289
  export {
290
290
  RolePermissionsPage
291
291
  };
292
- //# sourceMappingURL=chunk-LJIZEECR.js.map
292
+ //# sourceMappingURL=chunk-VWYJI2FU.js.map
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  handleError
3
- } from "./chunk-RRLFPSSM.js";
3
+ } from "./chunk-W7UHDTBI.js";
4
4
  import {
5
5
  AuthLayout
6
6
  } from "./chunk-DPH2PHK3.js";
7
7
  import {
8
8
  useTranslator
9
- } from "./chunk-XUV6CYTY.js";
9
+ } from "./chunk-HBQK5PAH.js";
10
10
  import {
11
11
  useApi,
12
12
  useConfig
13
- } from "./chunk-2XIZ27DU.js";
13
+ } from "./chunk-A5ON3RKH.js";
14
14
 
15
15
  // src/components/auth/reset-password-form.tsx
16
16
  import { zodResolver } from "@hookform/resolvers/zod";
@@ -283,4 +283,4 @@ var ResetPasswordForm = ({
283
283
  export {
284
284
  ResetPasswordForm
285
285
  };
286
- //# sourceMappingURL=chunk-TEARMXTQ.js.map
286
+ //# sourceMappingURL=chunk-W2HMARW4.js.map
@@ -28,6 +28,10 @@ var AUTH_ERROR_MAPPING = {
28
28
  title: "Too Many Attempts",
29
29
  description: "You have made too many requests recently. Please wait a moment before trying again."
30
30
  },
31
+ RATE_LIMITED: {
32
+ title: "Too Many Requests",
33
+ description: "You have made too many requests recently. Please wait a moment before trying again."
34
+ },
31
35
  REQUIRES_VERIFICATION: {
32
36
  title: "Verification Required",
33
37
  description: "You need to verify your account before you can continue. Please check your email or phone."
@@ -73,7 +77,20 @@ function sanitizeErrorMessage(message) {
73
77
  const isUnsafe = lowerMessage.includes("failed query") || lowerMessage.includes("select") || lowerMessage.includes("insert") || lowerMessage.includes("update") || lowerMessage.includes("delete") || lowerMessage.includes("from") || lowerMessage.includes("where") || lowerMessage.includes("limit") || lowerMessage.includes("params:") || lowerMessage.includes("query") || message.includes('"iam".') || message.includes('"tenants"') || message.includes('"users"') || message.includes('"sessions"') || message.includes('"accounts"') || lowerMessage.includes("relation") || lowerMessage.includes("column") || lowerMessage.includes("syntax error") || lowerMessage.includes("database") || lowerMessage.includes("postgres") || lowerMessage.includes("sql") || lowerMessage.includes(" at ") || lowerMessage.includes("exception") || /\bstack\b/.test(lowerMessage) || /\.(ts|js|mjs|cjs):\d+/.test(message);
74
78
  return isUnsafe ? GENERIC_ERROR : message;
75
79
  }
76
- var SIGNIN_SAFE_CODES = ["TOO_MANY_ATTEMPTS"];
80
+ var SIGNIN_SAFE_CODES = ["TOO_MANY_ATTEMPTS", "RATE_LIMITED"];
81
+ function normalizeOpenapiErrorBody(err) {
82
+ if (typeof err !== "object" || err === null) {
83
+ return null;
84
+ }
85
+ const o = err;
86
+ if (typeof o.error === "string") {
87
+ return {
88
+ message: o.error,
89
+ code: typeof o.code === "string" ? o.code : void 0
90
+ };
91
+ }
92
+ return null;
93
+ }
77
94
  function handleAuthError(err, setError, t, options) {
78
95
  const errorCode = extractErrorCode(err);
79
96
  const isCredentialFailure = options?.signIn && !(errorCode && SIGNIN_SAFE_CODES.includes(errorCode));
@@ -84,6 +101,14 @@ function handleAuthError(err, setError, t, options) {
84
101
  });
85
102
  return;
86
103
  }
104
+ if (errorCode === "RATE_LIMITED" && err.message) {
105
+ const mapping = AUTH_ERROR_MAPPING.RATE_LIMITED;
106
+ setError({
107
+ title: mapping.title,
108
+ description: sanitizeErrorMessage(err.message)
109
+ });
110
+ return;
111
+ }
87
112
  if (errorCode && AUTH_ERROR_MAPPING[errorCode]) {
88
113
  const mapping = AUTH_ERROR_MAPPING[errorCode];
89
114
  setError({
@@ -116,6 +141,11 @@ function handleGenericError(err, setError, t, options) {
116
141
  });
117
142
  }
118
143
  var handleError = (err, setError, t, options) => {
144
+ const fromBody = normalizeOpenapiErrorBody(err);
145
+ if (fromBody) {
146
+ handleAuthError(fromBody, setError, t, options);
147
+ return;
148
+ }
119
149
  if (isAuthError(err)) {
120
150
  handleAuthError(err, setError, t, options);
121
151
  } else {
@@ -124,6 +154,7 @@ var handleError = (err, setError, t, options) => {
124
154
  };
125
155
 
126
156
  export {
157
+ normalizeOpenapiErrorBody,
127
158
  handleError
128
159
  };
129
- //# sourceMappingURL=chunk-RRLFPSSM.js.map
160
+ //# sourceMappingURL=chunk-W7UHDTBI.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/constants/auth.error.codes.ts","../src/utils/handle-error.ts"],"sourcesContent":["export const AUTH_ERROR_MAPPING: Record<\n string,\n { title: string; description: string }\n> = {\n USER_NOT_FOUND: {\n title: 'Account Not Found',\n description:\n 'We could not find an account with that identifier. Please check your spelling or sign up.',\n },\n INVALID_PASSWORD: {\n title: 'Invalid Password',\n description: 'The password you entered is incorrect. Please try again.',\n },\n USER_EXISTS: {\n title: 'Account Already Exists',\n description:\n 'An account with this identifier already exists. Please sign in instead.',\n },\n VERIFICATION_EXPIRED: {\n title: 'Verification Expired',\n description:\n 'The verification code or link has expired. Please request a new one.',\n },\n VERIFICATION_MISMATCH: {\n title: 'Invalid Code',\n description:\n 'The verification code you entered is invalid. Please double-check and try again.',\n },\n VERIFICATION_NOT_FOUND: {\n title: 'Verification Not Found',\n description:\n 'We could not find a pending verification request. Please restart the process.',\n },\n TOO_MANY_ATTEMPTS: {\n title: 'Too Many Attempts',\n description:\n 'You have made too many requests recently. Please wait a moment before trying again.',\n },\n RATE_LIMITED: {\n title: 'Too Many Requests',\n description:\n 'You have made too many requests recently. Please wait a moment before trying again.',\n },\n REQUIRES_VERIFICATION: {\n title: 'Verification Required',\n description:\n 'You need to verify your account before you can continue. Please check your email or phone.',\n },\n UNAUTHORIZED: {\n title: 'Unauthorized',\n description:\n 'You are not authorized to perform this action. Please sign in again.',\n },\n ACCESS_DENIED: {\n title: 'Access Denied',\n description:\n 'You do not have permission to access this resource. Please contact support if you believe this is an error.',\n },\n HAS_NO_PASSWORD: {\n title: 'No Password Set',\n description:\n 'Your account does not have a password yet. Continue to set a password before signing in.',\n },\n PASSWORD_ALREADY_SET: {\n title: 'Password Already Set',\n description:\n 'This account already has a password. Use the normal sign-in form instead.',\n },\n};\n\nexport const validCodes = Object.keys(AUTH_ERROR_MAPPING);\n","import { AUTH_ERROR_MAPPING, validCodes } from '../constants/auth.error.codes';\nimport type { AuthError } from '../types';\n\nexport type AuthErrorContent = {\n title: string;\n description: string;\n};\n\ntype TranslatorFunction = (\n key: string,\n params?: Record<string, string | number>,\n) => string;\n\n// Type guard to check if error is an AuthError\nfunction isAuthError(err: unknown): err is AuthError {\n return (\n typeof err === 'object' &&\n err !== null &&\n 'message' in err &&\n typeof (err as { message: unknown }).message === 'string'\n );\n}\n\nfunction extractErrorCode(err: AuthError): string {\n if (err.code && validCodes.includes(err.code)) {\n return err.code;\n }\n if (err.message) {\n const messageUpper = err.message.toUpperCase().trim();\n if (validCodes.includes(messageUpper)) {\n return messageUpper;\n }\n }\n return '';\n}\n\nconst GENERIC_ERROR = 'An error occurred while processing your request';\n\nfunction sanitizeErrorMessage(message: string): string {\n const lowerMessage = message.toLowerCase();\n const isUnsafe =\n lowerMessage.includes('failed query') ||\n lowerMessage.includes('select') ||\n lowerMessage.includes('insert') ||\n lowerMessage.includes('update') ||\n lowerMessage.includes('delete') ||\n lowerMessage.includes('from') ||\n lowerMessage.includes('where') ||\n lowerMessage.includes('limit') ||\n lowerMessage.includes('params:') ||\n lowerMessage.includes('query') ||\n message.includes('\"iam\".') ||\n message.includes('\"tenants\"') ||\n message.includes('\"users\"') ||\n message.includes('\"sessions\"') ||\n message.includes('\"accounts\"') ||\n lowerMessage.includes('relation') ||\n lowerMessage.includes('column') ||\n lowerMessage.includes('syntax error') ||\n lowerMessage.includes('database') ||\n lowerMessage.includes('postgres') ||\n lowerMessage.includes('sql') ||\n lowerMessage.includes(' at ') ||\n lowerMessage.includes('exception') ||\n /\\bstack\\b/.test(lowerMessage) ||\n /\\.(ts|js|mjs|cjs):\\d+/.test(message);\n\n return isUnsafe ? GENERIC_ERROR : message;\n}\n\n// On sign-in, only these codes get a specific message; all others → generic (no enumeration)\nconst SIGNIN_SAFE_CODES = ['TOO_MANY_ATTEMPTS', 'RATE_LIMITED'];\n\nfunction normalizeOpenapiErrorBody(err: unknown): AuthError | null {\n if (typeof err !== 'object' || err === null) {\n return null;\n }\n const o = err as Record<string, unknown>;\n if (typeof o.error === 'string') {\n return {\n message: o.error,\n code:\n typeof o.code === 'string' ? (o.code as AuthError['code']) : undefined,\n };\n }\n return null;\n}\n\nexport { normalizeOpenapiErrorBody };\n\nfunction handleAuthError(\n err: AuthError,\n setError: (error: AuthErrorContent | null) => void,\n t: TranslatorFunction,\n options?: { signIn?: boolean },\n) {\n const errorCode = extractErrorCode(err);\n const isCredentialFailure =\n options?.signIn && !(errorCode && SIGNIN_SAFE_CODES.includes(errorCode));\n\n if (isCredentialFailure) {\n setError({\n title: t('errors.error'),\n description: t('errors.invalidCredentials'),\n });\n return;\n }\n\n if (errorCode === 'RATE_LIMITED' && err.message) {\n const mapping = AUTH_ERROR_MAPPING.RATE_LIMITED;\n setError({\n title: mapping.title,\n description: sanitizeErrorMessage(err.message),\n });\n return;\n }\n\n if (errorCode && AUTH_ERROR_MAPPING[errorCode]) {\n const mapping = AUTH_ERROR_MAPPING[errorCode];\n setError({\n title: mapping.title,\n description: mapping.description,\n });\n return;\n }\n\n const sanitizedMessage = sanitizeErrorMessage(\n err.message || t('errors.fallback'),\n );\n setError({\n title: t('errors.fallback'),\n description: sanitizedMessage,\n });\n}\n\nfunction handleGenericError(\n err: unknown,\n setError: (error: AuthErrorContent | null) => void,\n t: TranslatorFunction,\n options?: { signIn?: boolean },\n) {\n if (options?.signIn) {\n setError({\n title: t('errors.error'),\n description: t('errors.invalidCredentials'),\n });\n return;\n }\n const rawMessage = err instanceof Error ? err.message : t('errors.fallback');\n const sanitizedMessage = sanitizeErrorMessage(rawMessage);\n setError({\n title: 'Error',\n description: sanitizedMessage,\n });\n}\n\nexport type HandleErrorOptions = { signIn?: boolean };\n\nexport const handleError = (\n err: unknown,\n setError: (error: AuthErrorContent | null) => void,\n t: TranslatorFunction,\n options?: HandleErrorOptions,\n) => {\n const fromBody = normalizeOpenapiErrorBody(err);\n if (fromBody) {\n handleAuthError(fromBody, setError, t, options);\n return;\n }\n if (isAuthError(err)) {\n handleAuthError(err, setError, t, options);\n } else {\n handleGenericError(err, setError, t, options);\n }\n};\n"],"mappings":"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","names":[]}
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  handleError
3
- } from "./chunk-RRLFPSSM.js";
3
+ } from "./chunk-W7UHDTBI.js";
4
4
  import {
5
5
  AuthLayout
6
6
  } from "./chunk-DPH2PHK3.js";
7
7
  import {
8
8
  useTranslator
9
- } from "./chunk-XUV6CYTY.js";
9
+ } from "./chunk-HBQK5PAH.js";
10
10
  import {
11
11
  useApi,
12
12
  useConfig
13
- } from "./chunk-2XIZ27DU.js";
13
+ } from "./chunk-A5ON3RKH.js";
14
14
 
15
15
  // src/components/auth/forgot-password.tsx
16
16
  import { zodResolver } from "@hookform/resolvers/zod";
@@ -161,4 +161,4 @@ var ForgotPassword = () => {
161
161
  export {
162
162
  ForgotPassword
163
163
  };
164
- //# sourceMappingURL=chunk-ZGDN6MQA.js.map
164
+ //# sourceMappingURL=chunk-XLPPZKU2.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-TFVBER3Y.js";
4
4
  import {
5
5
  useApi
6
- } from "./chunk-2XIZ27DU.js";
6
+ } from "./chunk-A5ON3RKH.js";
7
7
 
8
8
  // src/components/iam/sessions.tsx
9
9
  import { Button } from "@mesob/ui/components";
@@ -95,4 +95,4 @@ function Sessions() {
95
95
  export {
96
96
  Sessions
97
97
  };
98
- //# sourceMappingURL=chunk-C34HWZA5.js.map
98
+ //# sourceMappingURL=chunk-XO5LLEGV.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-TFVBER3Y.js";
4
4
  import {
5
5
  useApi
6
- } from "./chunk-2XIZ27DU.js";
6
+ } from "./chunk-A5ON3RKH.js";
7
7
 
8
8
  // src/components/iam/roles.tsx
9
9
  import { Badge, Button } from "@mesob/ui/components";
@@ -115,4 +115,4 @@ function Roles() {
115
115
  export {
116
116
  Roles
117
117
  };
118
- //# sourceMappingURL=chunk-ZMJUIRZ6.js.map
118
+ //# sourceMappingURL=chunk-XZAYLXLS.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  IAMGuard
3
- } from "./chunk-DJWX4ENN.js";
3
+ } from "./chunk-BM3YKYGC.js";
4
4
  import {
5
5
  useApi,
6
6
  useConfig
7
- } from "./chunk-2XIZ27DU.js";
7
+ } from "./chunk-A5ON3RKH.js";
8
8
 
9
9
  // src/components/iam/role-detail-page.tsx
10
10
  import { zodResolver } from "@hookform/resolvers/zod";
@@ -200,4 +200,4 @@ function RoleDetailSkeleton() {
200
200
  export {
201
201
  RoleDetailPage
202
202
  };
203
- //# sourceMappingURL=chunk-S772WZD7.js.map
203
+ //# sourceMappingURL=chunk-YCVDEX5U.js.map
@@ -4,17 +4,17 @@ import {
4
4
  import {
5
5
  Link,
6
6
  authApi$
7
- } from "./chunk-QJOBPOTR.js";
7
+ } from "./chunk-DRM44QBR.js";
8
8
  import {
9
9
  defaultEntityQueryOptions
10
10
  } from "./chunk-NPW7D2HZ.js";
11
11
  import {
12
12
  IAMGuard
13
- } from "./chunk-DJWX4ENN.js";
13
+ } from "./chunk-BM3YKYGC.js";
14
14
  import {
15
15
  useApi,
16
16
  useConfig
17
- } from "./chunk-2XIZ27DU.js";
17
+ } from "./chunk-A5ON3RKH.js";
18
18
 
19
19
  // src/components/iam/tenants-page.tsx
20
20
  import {
@@ -541,4 +541,4 @@ function TenantsPageContent() {
541
541
  export {
542
542
  TenantsPage
543
543
  };
544
- //# sourceMappingURL=chunk-GXWBGB6G.js.map
544
+ //# sourceMappingURL=chunk-YQU3KG74.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useApi
3
- } from "./chunk-2XIZ27DU.js";
3
+ } from "./chunk-A5ON3RKH.js";
4
4
 
5
5
  // src/components/iam/permission-selector.tsx
6
6
  import {
@@ -90,4 +90,4 @@ function PermissionSelector({
90
90
  export {
91
91
  PermissionSelector
92
92
  };
93
- //# sourceMappingURL=chunk-6L4K26KM.js.map
93
+ //# sourceMappingURL=chunk-YVHMCTLM.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  OtpVerificationModal
3
- } from "./chunk-XGE6G3EK.js";
3
+ } from "./chunk-ZOKBN5H4.js";
4
4
  import {
5
5
  useApi,
6
6
  useSession
7
- } from "./chunk-2XIZ27DU.js";
7
+ } from "./chunk-A5ON3RKH.js";
8
8
 
9
9
  // src/components/profile/verify-change-phone-form.tsx
10
10
  import { useState } from "react";
@@ -140,4 +140,4 @@ function VerifyChangePhoneForm({
140
140
  export {
141
141
  VerifyChangePhoneForm
142
142
  };
143
- //# sourceMappingURL=chunk-HVAYVDIM.js.map
143
+ //# sourceMappingURL=chunk-Z4FXOZEJ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VerificationForm
3
- } from "./chunk-WFHQTVY6.js";
3
+ } from "./chunk-EIJFTUTM.js";
4
4
 
5
5
  // src/components/profile/otp-verification-modal.tsx
6
6
  import {
@@ -52,4 +52,4 @@ function OtpVerificationModal({
52
52
  export {
53
53
  OtpVerificationModal
54
54
  };
55
- //# sourceMappingURL=chunk-XGE6G3EK.js.map
55
+ //# sourceMappingURL=chunk-ZOKBN5H4.js.map
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  Countdown
4
- } from "../../chunk-K2523VB5.js";
5
- import "../../chunk-XUV6CYTY.js";
6
- import "../../chunk-2XIZ27DU.js";
4
+ } from "../../chunk-IFFWIROT.js";
5
+ import "../../chunk-HBQK5PAH.js";
6
+ import "../../chunk-A5ON3RKH.js";
7
7
  export {
8
8
  Countdown
9
9
  };
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  import {
3
3
  ForgotPassword
4
- } from "../../chunk-ZGDN6MQA.js";
5
- import "../../chunk-RRLFPSSM.js";
4
+ } from "../../chunk-XLPPZKU2.js";
5
+ import "../../chunk-W7UHDTBI.js";
6
6
  import "../../chunk-DPH2PHK3.js";
7
- import "../../chunk-XUV6CYTY.js";
8
- import "../../chunk-2XIZ27DU.js";
7
+ import "../../chunk-HBQK5PAH.js";
8
+ import "../../chunk-A5ON3RKH.js";
9
9
  export {
10
10
  ForgotPassword
11
11
  };
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  import {
3
3
  ResetPasswordForm
4
- } from "../../chunk-TEARMXTQ.js";
5
- import "../../chunk-RRLFPSSM.js";
4
+ } from "../../chunk-W2HMARW4.js";
5
+ import "../../chunk-W7UHDTBI.js";
6
6
  import "../../chunk-DPH2PHK3.js";
7
- import "../../chunk-XUV6CYTY.js";
8
- import "../../chunk-2XIZ27DU.js";
7
+ import "../../chunk-HBQK5PAH.js";
8
+ import "../../chunk-A5ON3RKH.js";
9
9
  export {
10
10
  ResetPasswordForm
11
11
  };
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import {
3
3
  SetPassword
4
- } from "../../chunk-UOQGT574.js";
4
+ } from "../../chunk-5XCUGCW7.js";
5
5
  import "../../chunk-V2W3WPCZ.js";
6
- import "../../chunk-RRLFPSSM.js";
6
+ import "../../chunk-W7UHDTBI.js";
7
7
  import "../../chunk-DPH2PHK3.js";
8
- import "../../chunk-XUV6CYTY.js";
9
- import "../../chunk-2XIZ27DU.js";
8
+ import "../../chunk-HBQK5PAH.js";
9
+ import "../../chunk-A5ON3RKH.js";
10
10
  export {
11
11
  SetPassword
12
12
  };
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import {
3
3
  SignIn
4
- } from "../../chunk-VVFBMIIB.js";
4
+ } from "../../chunk-GQFTH5DQ.js";
5
5
  import "../../chunk-V2W3WPCZ.js";
6
- import "../../chunk-RRLFPSSM.js";
6
+ import "../../chunk-W7UHDTBI.js";
7
7
  import "../../chunk-DPH2PHK3.js";
8
- import "../../chunk-XUV6CYTY.js";
9
- import "../../chunk-2XIZ27DU.js";
8
+ import "../../chunk-HBQK5PAH.js";
9
+ import "../../chunk-A5ON3RKH.js";
10
10
  export {
11
11
  SignIn
12
12
  };
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  import {
3
3
  SignUp
4
- } from "../../chunk-JNVJWNJT.js";
5
- import "../../chunk-RRLFPSSM.js";
4
+ } from "../../chunk-DCWKYK3D.js";
5
+ import "../../chunk-W7UHDTBI.js";
6
6
  import "../../chunk-DPH2PHK3.js";
7
- import "../../chunk-XUV6CYTY.js";
8
- import "../../chunk-2XIZ27DU.js";
7
+ import "../../chunk-HBQK5PAH.js";
8
+ import "../../chunk-A5ON3RKH.js";
9
9
  export {
10
10
  SignUp
11
11
  };
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  VerificationForm
4
- } from "../../chunk-WFHQTVY6.js";
5
- import "../../chunk-K2523VB5.js";
6
- import "../../chunk-XUV6CYTY.js";
7
- import "../../chunk-2XIZ27DU.js";
4
+ } from "../../chunk-EIJFTUTM.js";
5
+ import "../../chunk-IFFWIROT.js";
6
+ import "../../chunk-HBQK5PAH.js";
7
+ import "../../chunk-A5ON3RKH.js";
8
8
  export {
9
9
  VerificationForm
10
10
  };
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  import {
3
3
  VerifyEmail
4
- } from "../../chunk-PFUTYTDB.js";
5
- import "../../chunk-WFHQTVY6.js";
6
- import "../../chunk-K2523VB5.js";
7
- import "../../chunk-RRLFPSSM.js";
4
+ } from "../../chunk-FLGP4ROM.js";
5
+ import "../../chunk-EIJFTUTM.js";
6
+ import "../../chunk-IFFWIROT.js";
7
+ import "../../chunk-W7UHDTBI.js";
8
8
  import "../../chunk-DPH2PHK3.js";
9
- import "../../chunk-XUV6CYTY.js";
10
- import "../../chunk-2XIZ27DU.js";
9
+ import "../../chunk-HBQK5PAH.js";
10
+ import "../../chunk-A5ON3RKH.js";
11
11
  export {
12
12
  VerifyEmail
13
13
  };
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  import {
3
3
  VerifyPhone
4
- } from "../../chunk-22WQJ3NP.js";
5
- import "../../chunk-WFHQTVY6.js";
6
- import "../../chunk-K2523VB5.js";
7
- import "../../chunk-RRLFPSSM.js";
4
+ } from "../../chunk-FCPN2FD7.js";
5
+ import "../../chunk-EIJFTUTM.js";
6
+ import "../../chunk-IFFWIROT.js";
7
+ import "../../chunk-W7UHDTBI.js";
8
8
  import "../../chunk-DPH2PHK3.js";
9
- import "../../chunk-XUV6CYTY.js";
10
- import "../../chunk-2XIZ27DU.js";
9
+ import "../../chunk-HBQK5PAH.js";
10
+ import "../../chunk-A5ON3RKH.js";
11
11
  export {
12
12
  VerifyPhone
13
13
  };
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import {
3
3
  Deny
4
- } from "../../chunk-RZFCA4YG.js";
5
- import "../../chunk-2XIZ27DU.js";
4
+ } from "../../chunk-5B6GREDA.js";
5
+ import "../../chunk-A5ON3RKH.js";
6
6
  export {
7
7
  Deny
8
8
  };
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import {
3
3
  Grant
4
- } from "../../chunk-PCBJBXEK.js";
5
- import "../../chunk-2XIZ27DU.js";
4
+ } from "../../chunk-FU4K62DS.js";
5
+ import "../../chunk-A5ON3RKH.js";
6
6
  export {
7
7
  Grant
8
8
  };