@passkeyme/auth 2.0.2 → 2.0.3

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.js CHANGED
@@ -267,10 +267,11 @@ class PasskeymeApiClient {
267
267
  this.appId = appId;
268
268
  this.baseUrl = baseUrl.replace(/\/$/, ""); // Remove trailing slash
269
269
  this.debug = debug;
270
+ this.log("API Client initialized with baseUrl:", this.baseUrl);
270
271
  }
271
272
  log(...args) {
272
273
  if (this.debug) {
273
- logger.debug("[PasskeymeAuth]", ...args);
274
+ logger.debug("[PasskeymeApiClient]", ...args);
274
275
  }
275
276
  }
276
277
  async request(endpoint, options = {}) {
@@ -843,6 +844,7 @@ class PasskeymeAuth {
843
844
  logger.enableDebug();
844
845
  logger.debug("[DEBUG] Logger debug mode enabled, testing logger...");
845
846
  logger.debug("[DEBUG] Logger config after enableDebug:", logger.getConfig());
847
+ logger.debug("config.baseUrl:", this.config.baseUrl);
846
848
  logger.debug("Logger test message - if you see this, logger is working");
847
849
  }
848
850
  logger.debug("Initialized with config:", this.config);