@passkeyme/auth 2.0.0 → 2.0.1

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
@@ -319,7 +319,7 @@ class PasskeymeApiClient {
319
319
  * Get authentication configuration for the app
320
320
  */
321
321
  async getConfig() {
322
- const backendConfig = await this.request(`${this.baseUrl}/api/auth/${this.appId}/config`);
322
+ const backendConfig = await this.request(`/api/auth/${this.appId}/config`);
323
323
  // Map backend response to SDK format
324
324
  return {
325
325
  appId: backendConfig.app_id,
@@ -395,7 +395,7 @@ class PasskeymeApiClient {
395
395
  token: token,
396
396
  app_id: this.appId,
397
397
  });
398
- const response = (await this.request(`${this.baseUrl}/api/auth/verify-token?${params.toString()}`, {
398
+ const response = (await this.request(`/api/auth/verify-token?${params.toString()}`, {
399
399
  method: "GET",
400
400
  }));
401
401
  if (!response.valid) {