@passkeyme/auth 2.0.13 → 2.1.0

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/index.esm.js CHANGED
@@ -1014,10 +1014,7 @@ class PasskeymeAuth {
1014
1014
  redirectToOAuth(provider, redirectUri) {
1015
1015
  const finalRedirectUri = redirectUri || this.config.redirectUri;
1016
1016
  // Build direct OAuth initiation URL - use apiUrl for backend API endpoints
1017
- const apiBaseUrl = this.config.apiUrl ||
1018
- (typeof window !== "undefined" && window.location.hostname !== "localhost"
1019
- ? "https://api.passkeyme.com"
1020
- : "http://localhost:8000");
1017
+ const apiBaseUrl = this.config.apiUrl || "https://api.passkeyme.com";
1021
1018
  const params = new URLSearchParams({
1022
1019
  redirect_uri: finalRedirectUri,
1023
1020
  });