@blackcode_sa/metaestetics-api 1.5.37 → 1.5.38

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
@@ -11800,6 +11800,9 @@ var AppointmentService = class extends BaseService {
11800
11800
  "User must be authenticated to get available booking slots"
11801
11801
  );
11802
11802
  }
11803
+ console.log(
11804
+ `[APPOINTMENT_SERVICE] Authenticated user ID: ${currentUser.uid}. Preparing to call getAvailableBookingSlots function.`
11805
+ );
11803
11806
  const getAvailableBookingSlotsFunction = (0, import_functions.httpsCallable)(
11804
11807
  this.functions,
11805
11808
  "getAvailableBookingSlots"
package/dist/index.mjs CHANGED
@@ -11889,6 +11889,9 @@ var AppointmentService = class extends BaseService {
11889
11889
  "User must be authenticated to get available booking slots"
11890
11890
  );
11891
11891
  }
11892
+ console.log(
11893
+ `[APPOINTMENT_SERVICE] Authenticated user ID: ${currentUser.uid}. Preparing to call getAvailableBookingSlots function.`
11894
+ );
11892
11895
  const getAvailableBookingSlotsFunction = httpsCallable(
11893
11896
  this.functions,
11894
11897
  "getAvailableBookingSlots"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@blackcode_sa/metaestetics-api",
3
3
  "private": false,
4
- "version": "1.5.37",
4
+ "version": "1.5.38",
5
5
  "description": "Firebase authentication service with anonymous upgrade support",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.mjs",
@@ -131,6 +131,11 @@ export class AppointmentService extends BaseService {
131
131
  );
132
132
  }
133
133
 
134
+ // Log the authenticated user ID before making the call
135
+ console.log(
136
+ `[APPOINTMENT_SERVICE] Authenticated user ID: ${currentUser.uid}. Preparing to call getAvailableBookingSlots function.`
137
+ );
138
+
134
139
  // Create a callable function reference
135
140
  const getAvailableBookingSlotsFunction = httpsCallable(
136
141
  this.functions,