@voyant-travel/finance 0.189.0 → 0.190.0

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.
@@ -4,7 +4,7 @@ import { financeAppApiRuntimePort } from "@voyant-travel/finance-contracts/app-a
4
4
  import { checkFinanceActionLedgerDrift } from "./action-ledger-drift.js";
5
5
  import { createFinanceAppApiRuntime } from "./app-api-runtime.js";
6
6
  import { financeHostRuntimePort } from "./runtime-port.js";
7
- import { createFinanceStaleBookingHoldsRuntime } from "./stale-booking-holds-runtime.js";
7
+ import { createFinanceStaleBookingHoldsJobRuntime } from "./stale-booking-holds-runtime.js";
8
8
  /** Provide Finance's generic host input and its narrow Bookings integration. */
9
9
  export function createFinanceRuntimePortContribution(host) {
10
10
  return {
@@ -14,7 +14,7 @@ export function createFinanceRuntimePortContribution(host) {
14
14
  },
15
15
  [financeHostRuntimePort.id]: { primitives: host.primitives },
16
16
  [bookingsFinanceRuntimePort.id]: {
17
- createStaleBookingHoldsRuntime: createFinanceStaleBookingHoldsRuntime,
17
+ createStaleBookingHoldsJobRuntime: createFinanceStaleBookingHoldsJobRuntime,
18
18
  },
19
19
  };
20
20
  }
@@ -1,8 +1,8 @@
1
- import type { BookingsExpireStaleHoldsWorkflowRuntime } from "@voyant-travel/bookings/workflow-runtime";
1
+ import type { BookingsExpireStaleHoldsJobRuntime } from "@voyant-travel/bookings/job-runtime";
2
2
  import type { PostgresJsDatabase } from "drizzle-orm/postgres-js";
3
3
  export interface FinanceStaleBookingHoldsRuntimeOptions {
4
4
  resolveDb: () => PostgresJsDatabase | Promise<PostgresJsDatabase>;
5
5
  userId?: string;
6
6
  }
7
7
  /** Finance-owned effects required when Bookings expires stale holds. */
8
- export declare function createFinanceStaleBookingHoldsRuntime(options: FinanceStaleBookingHoldsRuntimeOptions): BookingsExpireStaleHoldsWorkflowRuntime;
8
+ export declare function createFinanceStaleBookingHoldsJobRuntime(options: FinanceStaleBookingHoldsRuntimeOptions): BookingsExpireStaleHoldsJobRuntime;
@@ -3,7 +3,7 @@ import { closeTerminalBookingPaymentSchedules } from "./booking-lifecycle.js";
3
3
  import { paymentSessions } from "./schema.js";
4
4
  import { financeService } from "./service.js";
5
5
  /** Finance-owned effects required when Bookings expires stale holds. */
6
- export function createFinanceStaleBookingHoldsRuntime(options) {
6
+ export function createFinanceStaleBookingHoldsJobRuntime(options) {
7
7
  return {
8
8
  resolveDb: options.resolveDb,
9
9
  resolveRuntime: () => ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyant-travel/finance",
3
- "version": "0.189.0",
3
+ "version": "0.190.0",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -156,24 +156,24 @@
156
156
  "fflate": "^0.8.2",
157
157
  "hono": "^4.12.27",
158
158
  "zod": "^4.4.3",
159
- "@voyant-travel/action-ledger": "^0.111.12",
160
- "@voyant-travel/bookings": "^0.189.0",
161
- "@voyant-travel/core": "^0.130.0",
162
- "@voyant-travel/db": "^0.117.1",
163
- "@voyant-travel/types": "^0.109.8",
159
+ "@voyant-travel/action-ledger": "^0.111.13",
160
+ "@voyant-travel/bookings": "^0.190.0",
161
+ "@voyant-travel/core": "^0.131.0",
162
+ "@voyant-travel/db": "^0.118.0",
163
+ "@voyant-travel/types": "^0.109.9",
164
164
  "@voyant-travel/finance-contracts": "^0.107.1",
165
- "@voyant-travel/hono": "^0.133.0",
166
- "@voyant-travel/payments": "^0.5.1",
167
- "@voyant-travel/public-document-delivery": "^0.4.10",
168
- "@voyant-travel/reporting-contracts": "^0.3.0",
169
- "@voyant-travel/storage": "^0.113.1",
165
+ "@voyant-travel/hono": "^0.134.0",
166
+ "@voyant-travel/payments": "^0.5.2",
167
+ "@voyant-travel/public-document-delivery": "^0.4.11",
168
+ "@voyant-travel/reporting-contracts": "^0.3.1",
169
+ "@voyant-travel/storage": "^0.113.2",
170
170
  "@voyant-travel/utils": "^0.109.0",
171
171
  "@voyant-travel/tools": "^0.3.0"
172
172
  },
173
173
  "devDependencies": {
174
174
  "drizzle-kit": "^0.31.10",
175
175
  "typescript": "^6.0.3",
176
- "@voyant-travel/webhook-delivery": "^0.4.7",
176
+ "@voyant-travel/webhook-delivery": "^0.4.8",
177
177
  "@voyant-travel/voyant-typescript-config": "^0.1.0"
178
178
  },
179
179
  "files": [