@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 +3 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +3 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/src/api-client.d.ts +1 -1
- package/dist/src/api-client.d.ts.map +1 -1
- package/dist/src/passkeyme-auth.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -269,10 +269,11 @@
|
|
|
269
269
|
this.appId = appId;
|
|
270
270
|
this.baseUrl = baseUrl.replace(/\/$/, ""); // Remove trailing slash
|
|
271
271
|
this.debug = debug;
|
|
272
|
+
this.log("API Client initialized with baseUrl:", this.baseUrl);
|
|
272
273
|
}
|
|
273
274
|
log(...args) {
|
|
274
275
|
if (this.debug) {
|
|
275
|
-
logger.debug("[
|
|
276
|
+
logger.debug("[PasskeymeApiClient]", ...args);
|
|
276
277
|
}
|
|
277
278
|
}
|
|
278
279
|
async request(endpoint, options = {}) {
|
|
@@ -845,6 +846,7 @@
|
|
|
845
846
|
logger.enableDebug();
|
|
846
847
|
logger.debug("[DEBUG] Logger debug mode enabled, testing logger...");
|
|
847
848
|
logger.debug("[DEBUG] Logger config after enableDebug:", logger.getConfig());
|
|
849
|
+
logger.debug("config.baseUrl:", this.config.baseUrl);
|
|
848
850
|
logger.debug("Logger test message - if you see this, logger is working");
|
|
849
851
|
}
|
|
850
852
|
logger.debug("Initialized with config:", this.config);
|