@voyantjs/checkout 0.6.8 → 0.6.9

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.
Files changed (2) hide show
  1. package/dist/service.js +4 -4
  2. package/package.json +6 -6
package/dist/service.js CHANGED
@@ -1,4 +1,4 @@
1
- import { bookingItems, bookingParticipants, bookings } from "@voyantjs/bookings";
1
+ import { bookingItems, bookings, bookingTravelers } from "@voyantjs/bookings";
2
2
  import { bookingPaymentSchedules, financeService, invoiceLineItems, invoiceNumberSeries, invoices, } from "@voyantjs/finance";
3
3
  import { notificationDeliveries, notificationReminderRules, notificationReminderRuns, notificationsService, } from "@voyantjs/notifications";
4
4
  import { and, asc, desc, eq, gt, inArray, sql } from "drizzle-orm";
@@ -131,9 +131,9 @@ async function loadBookingContext(db, bookingId) {
131
131
  .orderBy(bookingItems.createdAt),
132
132
  db
133
133
  .select()
134
- .from(bookingParticipants)
135
- .where(eq(bookingParticipants.bookingId, bookingId))
136
- .orderBy(desc(bookingParticipants.isPrimary), bookingParticipants.createdAt),
134
+ .from(bookingTravelers)
135
+ .where(eq(bookingTravelers.bookingId, bookingId))
136
+ .orderBy(desc(bookingTravelers.isPrimary), bookingTravelers.createdAt),
137
137
  db
138
138
  .select()
139
139
  .from(bookingPaymentSchedules)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/checkout",
3
- "version": "0.6.8",
3
+ "version": "0.6.9",
4
4
  "license": "FSL-1.1-Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -25,11 +25,11 @@
25
25
  "drizzle-orm": "^0.45.2",
26
26
  "hono": "^4.12.10",
27
27
  "zod": "^4.3.6",
28
- "@voyantjs/bookings": "0.6.8",
29
- "@voyantjs/core": "0.6.8",
30
- "@voyantjs/finance": "0.6.8",
31
- "@voyantjs/hono": "0.6.8",
32
- "@voyantjs/notifications": "0.6.8"
28
+ "@voyantjs/bookings": "0.6.9",
29
+ "@voyantjs/core": "0.6.9",
30
+ "@voyantjs/finance": "0.6.9",
31
+ "@voyantjs/hono": "0.6.9",
32
+ "@voyantjs/notifications": "0.6.9"
33
33
  },
34
34
  "devDependencies": {
35
35
  "typescript": "^6.0.2",