@voyant-travel/catalog 0.117.2 → 0.118.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.
@@ -102,7 +102,7 @@ describe("createGeminiEmbeddingProvider", () => {
102
102
  const provider = createGeminiEmbeddingProvider({
103
103
  apiKey: "vc-token-abc",
104
104
  auth: "bearer",
105
- baseUrl: "https://api.voyantjs.com/ai/v1/gemini",
105
+ baseUrl: "https://api.voyant.travel/ai/v1/gemini",
106
106
  fetchImpl: fetchSpy,
107
107
  });
108
108
  await provider.embed(["x"]);
@@ -111,7 +111,7 @@ describe("createGeminiEmbeddingProvider", () => {
111
111
  const headers = init.headers;
112
112
  expect(headers.Authorization).toBe("Bearer vc-token-abc");
113
113
  expect(headers["x-goog-api-key"]).toBeUndefined();
114
- expect(url).toBe("https://api.voyantjs.com/ai/v1/gemini/models/gemini-embedding-001:batchEmbedContents");
114
+ expect(url).toBe("https://api.voyant.travel/ai/v1/gemini/models/gemini-embedding-001:batchEmbedContents");
115
115
  });
116
116
  it("passes outputDimensionality + taskType in each request body", async () => {
117
117
  const fetchSpy = vi.fn(async () => {
@@ -135,7 +135,7 @@ export declare const catalogOverlayTable: import("drizzle-orm/pg-core").PgTableW
135
135
  tableName: "catalog_overlay";
136
136
  dataType: "string";
137
137
  columnType: "PgText";
138
- data: "default" | Visibility;
138
+ data: Visibility | "default";
139
139
  driverParam: string;
140
140
  notNull: true;
141
141
  hasDefault: true;
@@ -147,7 +147,7 @@ export declare const catalogOverlayTable: import("drizzle-orm/pg-core").PgTableW
147
147
  identity: undefined;
148
148
  generated: undefined;
149
149
  }, {}, {
150
- $type: "default" | Visibility;
150
+ $type: Visibility | "default";
151
151
  }>;
152
152
  market: import("drizzle-orm/pg-core").PgColumn<{
153
153
  name: "market";
@@ -11,12 +11,12 @@ declare const catalogSearchBodySchema: z.ZodObject<{
11
11
  query: z.ZodOptional<z.ZodString>;
12
12
  mode: z.ZodOptional<z.ZodEnum<{
13
13
  keyword: "keyword";
14
- hybrid: "hybrid";
15
14
  semantic: "semantic";
15
+ hybrid: "hybrid";
16
16
  }>>;
17
17
  sort: z.ZodOptional<z.ZodEnum<{
18
- "price-asc": "price-asc";
19
18
  relevance: "relevance";
19
+ "price-asc": "price-asc";
20
20
  "price-desc": "price-desc";
21
21
  "departure-asc": "departure-asc";
22
22
  newest: "newest";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyant-travel/catalog",
3
- "version": "0.117.2",
3
+ "version": "0.118.1",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -183,8 +183,8 @@
183
183
  "zod": "^4.1.4",
184
184
  "@voyant-travel/catalog-contracts": "^0.107.1",
185
185
  "@voyant-travel/core": "^0.109.0",
186
- "@voyant-travel/db": "^0.108.0",
187
- "@voyant-travel/hono": "^0.109.1"
186
+ "@voyant-travel/db": "^0.108.1",
187
+ "@voyant-travel/hono": "^0.110.2"
188
188
  },
189
189
  "devDependencies": {
190
190
  "drizzle-kit": "^0.31.10",