diff --git a/package.json b/package.json index 79029d4..8867814 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "scheduling-sdk", - "version": "0.4.3", + "version": "0.4.4", "description": "Brought to you by Recal - A TypeScript SDK for scheduling functionality", "author": "Recal", "license": "MIT", diff --git a/src/availability/scheduler.ts b/src/availability/scheduler.ts index e96b13a..fe86d69 100644 --- a/src/availability/scheduler.ts +++ b/src/availability/scheduler.ts @@ -213,7 +213,7 @@ export class AvailabilityScheduler { * @param endTime - End of the search range * @param options - Slot generation options (duration, split, offset, padding) * - * @returns Array of available time slots + * @returns Array of available time slots (sorted by start time ascending) * * @throws {Error} If time range or options are invalid * @@ -313,7 +313,6 @@ export class AvailabilityScheduler { if (timezone !== undefined) { return this.validateTimezone(timezone) } - const fallbackTimezone = process.env.SCHEDULING_TIMEZONE || 'UTC' return fallbackTimezone === 'UTC' ? fallbackTimezone : this.validateTimezone(fallbackTimezone) }