@passkeyme/auth 1.1.5 → 1.1.6

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.umd.js CHANGED
@@ -50,7 +50,7 @@
50
50
  }
51
51
  debug(message, ...args) {
52
52
  if (this.shouldLog("debug")) {
53
- console.debug(...this.formatMessage(message, ...args));
53
+ console.log(...this.formatMessage(message, ...args));
54
54
  }
55
55
  }
56
56
  info(message, ...args) {
@@ -1522,13 +1522,13 @@
1522
1522
  let appConfig;
1523
1523
  try {
1524
1524
  appConfig = await this.getAppConfig();
1525
- logger.debug("App config loaded:", {
1525
+ console.log("App config loaded:", {
1526
1526
  discoverableCredentialsEnabled: appConfig.discoverableCredentialsEnabled,
1527
1527
  passkeyEnabled: appConfig.passkeyEnabled,
1528
1528
  });
1529
1529
  }
1530
1530
  catch (configError) {
1531
- logger.debug("Failed to load app config, assuming passkeys enabled:", configError);
1531
+ console.log("[DEBUG] Failed to load app config, assuming passkeys enabled:", configError);
1532
1532
  // If we can't load config, assume passkeys are enabled and no discoverable credentials
1533
1533
  appConfig = {
1534
1534
  passkeyEnabled: true,
@@ -1537,7 +1537,7 @@
1537
1537
  }
1538
1538
  // If passkeys are disabled at the app level, fallback to hosted auth
1539
1539
  if (!appConfig.passkeyEnabled) {
1540
- logger.debug("Passkeys disabled for this app, falling back to hosted auth");
1540
+ console.log("Passkeys disabled for this app, falling back to hosted auth");
1541
1541
  this.redirectToLogin();
1542
1542
  return { method: "redirect" };
1543
1543
  }