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