@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.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("[
|
|
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);
|