zudoku 0.0.0-fix-firebase-export.2e421fda → 0.0.0-fix-firebase-export.f8270825

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.
@@ -1,4 +1,4 @@
1
- import { A as a, a as r, E as t, b as i, F as o, G as n, c as d, O as h, d as u, T as l, e as A, f as P, g as c, h as g, i as m, j as p, k as v, l as b, m as C, n as E, o as w, p as I, q as k, r as O, s as R, t as T, u as W, v as f } from "./firebase-Cax7HPzn.js";
1
+ import { A as a, a as r, E as t, b as i, F as o, G as n, c as d, O as h, d as u, T as l, e as A, f as P, g as c, h as g, i as m, j as p, k as v, l as b, m as C, n as E, o as w, p as I, q as k, r as O, s as R, t as T, u as W, v as f } from "./firebase-qUdSEL1p.js";
2
2
  export {
3
3
  a as ActionCodeURL,
4
4
  r as AuthCredential,
@@ -29,4 +29,4 @@ export {
29
29
  W as signInWithPopup,
30
30
  f as signOut
31
31
  };
32
- //# sourceMappingURL=index.esm-DDENMN4y.js.map
32
+ //# sourceMappingURL=index.esm-kW-Utcsi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.esm-kW-Utcsi.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,5 +1,5 @@
1
1
  import "./jsx-runtime-BzflLqGi.js";
2
- import { w as a } from "./firebase-Cax7HPzn.js";
2
+ import { w as a } from "./firebase-qUdSEL1p.js";
3
3
  import "./errors-Bs4duWDy.js";
4
4
  import "./SignUp-BjS4ozA7.js";
5
5
  import "./ZudokuContext-BXldanA8.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zudoku",
3
- "version": "0.0.0-fix-firebase-export.2e421fda",
3
+ "version": "0.0.0-fix-firebase-export.f8270825",
4
4
  "type": "module",
5
5
  "homepage": "https://zudoku.dev",
6
6
  "repository": {
@@ -146,8 +146,18 @@ export const ZudokuSignInUi = ({
146
146
  const [searchParams] = useSearchParams();
147
147
  const redirectTo = searchParams.get("redirectTo");
148
148
 
149
+ const invalidProviders = providers.filter(
150
+ (provider) => !isValidAuthProviderId(provider),
151
+ );
152
+
153
+ if (invalidProviders.length > 0) {
154
+ throw new Error(
155
+ `Unsupported auth provider: ${invalidProviders.join(", ")}`,
156
+ );
157
+ }
158
+
149
159
  if (!isAuthProviderIdArray(providers)) {
150
- throw new Error("Invalid auth provider IDs");
160
+ throw new Error(`Unsupported auth provider: ${providers.join(", ")}`);
151
161
  }
152
162
 
153
163
  const signInUsernameMutation = useMutation({
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.esm-DDENMN4y.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}