@getlupa/vue 0.5.1 → 0.5.2

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.
@@ -16142,11 +16142,12 @@ const getApiUrl = (environment, customBaseUrl) => {
16142
16142
  }
16143
16143
  return Env[environment] || Env["production"];
16144
16144
  };
16145
- const suggestSearchChatPhrases = (options, request) => __async(exports, null, function* () {
16145
+ const suggestSearchChatPhrases = (options, request, chatSettings) => __async(exports, null, function* () {
16146
16146
  var _a, _b, _c;
16147
16147
  const { environment, customBaseUrl } = options;
16148
+ const model = (chatSettings == null ? void 0 : chatSettings.model) ? `?model=${chatSettings.model}` : ``;
16148
16149
  try {
16149
- const res = yield fetch(`${getApiUrl(environment, customBaseUrl)}chat/`, __spreadProps(__spreadValues({}, defaultConfig), {
16150
+ const res = yield fetch(`${getApiUrl(environment, customBaseUrl)}chat${model}`, __spreadProps(__spreadValues({}, defaultConfig), {
16150
16151
  body: JSON.stringify(request),
16151
16152
  headers: __spreadValues(__spreadValues({}, headers), (_a = options.customHeaders) != null ? _a : {})
16152
16153
  }));
@@ -16162,14 +16163,18 @@ const suggestSearchChatPhrases = (options, request) => __async(exports, null, fu
16162
16163
  return { success: false, errors: [e] };
16163
16164
  }
16164
16165
  });
16165
- const suggestPhraseAlternatives = (_0, _1) => __async(exports, [_0, _1], function* (options, { phrases }) {
16166
+ const suggestPhraseAlternatives = (_0, _1, _2) => __async(exports, [_0, _1, _2], function* (options, { phrases }, chatSettings) {
16166
16167
  var _a, _b, _c;
16167
16168
  const { environment, customBaseUrl } = options;
16169
+ const model = (chatSettings == null ? void 0 : chatSettings.model) ? `?model=${chatSettings.model}` : ``;
16168
16170
  try {
16169
- const res = yield fetch(`${getApiUrl(environment, customBaseUrl)}chat/phraseAlternatives`, __spreadProps(__spreadValues({}, defaultConfig), {
16170
- body: JSON.stringify({ phrases }),
16171
- headers: __spreadValues(__spreadValues({}, headers), (_a = options.customHeaders) != null ? _a : {})
16172
- }));
16171
+ const res = yield fetch(
16172
+ `${getApiUrl(environment, customBaseUrl)}chat/phraseAlternatives${model}`,
16173
+ __spreadProps(__spreadValues({}, defaultConfig), {
16174
+ body: JSON.stringify({ phrases }),
16175
+ headers: __spreadValues(__spreadValues({}, headers), (_a = options.customHeaders) != null ? _a : {})
16176
+ })
16177
+ );
16173
16178
  if (res.status < 400) {
16174
16179
  const data = yield res.json();
16175
16180
  return __spreadProps(__spreadValues({}, data), { success: true });
@@ -16182,11 +16187,12 @@ const suggestPhraseAlternatives = (_0, _1) => __async(exports, [_0, _1], functio
16182
16187
  return { success: false, errors: [e] };
16183
16188
  }
16184
16189
  });
16185
- const suggestSimplifiedPhrases = (_0, _1) => __async(exports, [_0, _1], function* (options, { phrases }) {
16190
+ const suggestSimplifiedPhrases = (_0, _1, _2) => __async(exports, [_0, _1, _2], function* (options, { phrases }, chatSettings) {
16186
16191
  var _a, _b, _c;
16187
16192
  const { environment, customBaseUrl } = options;
16193
+ const model = (chatSettings == null ? void 0 : chatSettings.model) ? `?model=${chatSettings.model}` : ``;
16188
16194
  try {
16189
- const res = yield fetch(`${getApiUrl(environment, customBaseUrl)}chat/simplify`, __spreadProps(__spreadValues({}, defaultConfig), {
16195
+ const res = yield fetch(`${getApiUrl(environment, customBaseUrl)}chat/simplify${model}`, __spreadProps(__spreadValues({}, defaultConfig), {
16190
16196
  body: JSON.stringify({ phrases }),
16191
16197
  headers: __spreadValues(__spreadValues({}, headers), (_a = options.customHeaders) != null ? _a : {})
16192
16198
  }));
@@ -16202,15 +16208,16 @@ const suggestSimplifiedPhrases = (_0, _1) => __async(exports, [_0, _1], function
16202
16208
  return { success: false, errors: [e] };
16203
16209
  }
16204
16210
  });
16205
- const suggestBestProductMatches = (_0, _1) => __async(exports, [_0, _1], function* (options, {
16211
+ const suggestBestProductMatches = (_0, _1, _2) => __async(exports, [_0, _1, _2], function* (options, {
16206
16212
  initialQuery,
16207
16213
  productStrings,
16208
16214
  messageHistory
16209
- }) {
16215
+ }, chatSettings) {
16210
16216
  var _a, _b, _c;
16211
16217
  const { environment, customBaseUrl } = options;
16218
+ const model = (chatSettings == null ? void 0 : chatSettings.model) ? `?model=${chatSettings.model}` : ``;
16212
16219
  try {
16213
- const res = yield fetch(`${getApiUrl(environment, customBaseUrl)}chat/bestProducts`, __spreadProps(__spreadValues({}, defaultConfig), {
16220
+ const res = yield fetch(`${getApiUrl(environment, customBaseUrl)}chat/bestProducts${model}`, __spreadProps(__spreadValues({}, defaultConfig), {
16214
16221
  body: JSON.stringify({ initialQuery, messageHistory, productStrings }),
16215
16222
  headers: __spreadValues(__spreadValues({}, headers), (_a = options.customHeaders) != null ? _a : {})
16216
16223
  }));
@@ -16247,9 +16254,10 @@ const prepareChatHistory = (chatLog) => {
16247
16254
  }
16248
16255
  return history;
16249
16256
  };
16250
- const getTextResponseChunkStream = (options, { initialQuery, messageHistory }, onChunkReceived) => {
16257
+ const getTextResponseChunkStream = (options, { initialQuery, messageHistory }, onChunkReceived, chatSettings) => {
16251
16258
  var _a;
16252
- fetch(`${getApiUrl(options.environment, options.customBaseUrl)}chat/text`, __spreadProps(__spreadValues({}, defaultConfig), {
16259
+ const model = (chatSettings == null ? void 0 : chatSettings.model) ? `?model=${chatSettings.model}` : ``;
16260
+ fetch(`${getApiUrl(options.environment, options.customBaseUrl)}chat/text${model}`, __spreadProps(__spreadValues({}, defaultConfig), {
16253
16261
  body: JSON.stringify({ initialQuery, messageHistory }),
16254
16262
  headers: __spreadValues(__spreadValues({}, headers), (_a = options.customHeaders) != null ? _a : {})
16255
16263
  })).then((response) => {
@@ -16389,9 +16397,13 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
16389
16397
  return result.items;
16390
16398
  });
16391
16399
  const getPhraseAlternatives = () => __async(this, null, function* () {
16392
- const { phrases } = yield ChatService.suggestPhraseAlternatives(props.options.sdkOptions, {
16393
- phrases: [props.phrase]
16394
- });
16400
+ const { phrases } = yield ChatService.suggestPhraseAlternatives(
16401
+ props.options.sdkOptions,
16402
+ {
16403
+ phrases: [props.phrase]
16404
+ },
16405
+ props.options.chatSettings
16406
+ );
16395
16407
  return phrases != null ? phrases : [];
16396
16408
  });
16397
16409
  return (_ctx, _cache) => {
@@ -16456,11 +16468,15 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
16456
16468
  return (_b = (_a2 = result[titleKey.value]) == null ? void 0 : _a2.toString()) != null ? _b : "";
16457
16469
  }
16458
16470
  );
16459
- const { products } = yield ChatService.suggestBestProductMatches(props.options.sdkOptions, {
16460
- initialQuery: props.entry.userInput,
16461
- productStrings: productResultStrings,
16462
- messageHistory: (_a = props.history) != null ? _a : []
16463
- });
16471
+ const { products } = yield ChatService.suggestBestProductMatches(
16472
+ props.options.sdkOptions,
16473
+ {
16474
+ initialQuery: props.entry.userInput,
16475
+ productStrings: productResultStrings,
16476
+ messageHistory: (_a = props.history) != null ? _a : []
16477
+ },
16478
+ props.options.chatSettings
16479
+ );
16464
16480
  bestMatches.value = products;
16465
16481
  emit("loaded", products);
16466
16482
  } finally {
@@ -16533,7 +16549,8 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
16533
16549
  initialQuery: props.content,
16534
16550
  messageHistory: (_a = props.history) != null ? _a : []
16535
16551
  },
16536
- processChunk
16552
+ processChunk,
16553
+ props.options.chatSettings
16537
16554
  );
16538
16555
  });
16539
16556
  return (_ctx, _cache) => {
@@ -16630,7 +16647,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
16630
16647
  };
16631
16648
  const { phrases, success } = yield ChatService.suggestSearchChatPhrases(
16632
16649
  props.options.sdkOptions,
16633
- request
16650
+ request,
16651
+ props.options.chatSettings
16634
16652
  );
16635
16653
  if (!success || !phrases.length) {
16636
16654
  error.value = "Something went wrong";
@@ -16140,11 +16140,12 @@ const getApiUrl = (environment, customBaseUrl) => {
16140
16140
  }
16141
16141
  return Env[environment] || Env["production"];
16142
16142
  };
16143
- const suggestSearchChatPhrases = (options, request) => __async(void 0, null, function* () {
16143
+ const suggestSearchChatPhrases = (options, request, chatSettings) => __async(void 0, null, function* () {
16144
16144
  var _a, _b, _c;
16145
16145
  const { environment, customBaseUrl } = options;
16146
+ const model = (chatSettings == null ? void 0 : chatSettings.model) ? `?model=${chatSettings.model}` : ``;
16146
16147
  try {
16147
- const res = yield fetch(`${getApiUrl(environment, customBaseUrl)}chat/`, __spreadProps(__spreadValues({}, defaultConfig), {
16148
+ const res = yield fetch(`${getApiUrl(environment, customBaseUrl)}chat${model}`, __spreadProps(__spreadValues({}, defaultConfig), {
16148
16149
  body: JSON.stringify(request),
16149
16150
  headers: __spreadValues(__spreadValues({}, headers), (_a = options.customHeaders) != null ? _a : {})
16150
16151
  }));
@@ -16160,14 +16161,18 @@ const suggestSearchChatPhrases = (options, request) => __async(void 0, null, fun
16160
16161
  return { success: false, errors: [e] };
16161
16162
  }
16162
16163
  });
16163
- const suggestPhraseAlternatives = (_0, _1) => __async(void 0, [_0, _1], function* (options, { phrases }) {
16164
+ const suggestPhraseAlternatives = (_0, _1, _2) => __async(void 0, [_0, _1, _2], function* (options, { phrases }, chatSettings) {
16164
16165
  var _a, _b, _c;
16165
16166
  const { environment, customBaseUrl } = options;
16167
+ const model = (chatSettings == null ? void 0 : chatSettings.model) ? `?model=${chatSettings.model}` : ``;
16166
16168
  try {
16167
- const res = yield fetch(`${getApiUrl(environment, customBaseUrl)}chat/phraseAlternatives`, __spreadProps(__spreadValues({}, defaultConfig), {
16168
- body: JSON.stringify({ phrases }),
16169
- headers: __spreadValues(__spreadValues({}, headers), (_a = options.customHeaders) != null ? _a : {})
16170
- }));
16169
+ const res = yield fetch(
16170
+ `${getApiUrl(environment, customBaseUrl)}chat/phraseAlternatives${model}`,
16171
+ __spreadProps(__spreadValues({}, defaultConfig), {
16172
+ body: JSON.stringify({ phrases }),
16173
+ headers: __spreadValues(__spreadValues({}, headers), (_a = options.customHeaders) != null ? _a : {})
16174
+ })
16175
+ );
16171
16176
  if (res.status < 400) {
16172
16177
  const data = yield res.json();
16173
16178
  return __spreadProps(__spreadValues({}, data), { success: true });
@@ -16180,11 +16185,12 @@ const suggestPhraseAlternatives = (_0, _1) => __async(void 0, [_0, _1], function
16180
16185
  return { success: false, errors: [e] };
16181
16186
  }
16182
16187
  });
16183
- const suggestSimplifiedPhrases = (_0, _1) => __async(void 0, [_0, _1], function* (options, { phrases }) {
16188
+ const suggestSimplifiedPhrases = (_0, _1, _2) => __async(void 0, [_0, _1, _2], function* (options, { phrases }, chatSettings) {
16184
16189
  var _a, _b, _c;
16185
16190
  const { environment, customBaseUrl } = options;
16191
+ const model = (chatSettings == null ? void 0 : chatSettings.model) ? `?model=${chatSettings.model}` : ``;
16186
16192
  try {
16187
- const res = yield fetch(`${getApiUrl(environment, customBaseUrl)}chat/simplify`, __spreadProps(__spreadValues({}, defaultConfig), {
16193
+ const res = yield fetch(`${getApiUrl(environment, customBaseUrl)}chat/simplify${model}`, __spreadProps(__spreadValues({}, defaultConfig), {
16188
16194
  body: JSON.stringify({ phrases }),
16189
16195
  headers: __spreadValues(__spreadValues({}, headers), (_a = options.customHeaders) != null ? _a : {})
16190
16196
  }));
@@ -16200,15 +16206,16 @@ const suggestSimplifiedPhrases = (_0, _1) => __async(void 0, [_0, _1], function*
16200
16206
  return { success: false, errors: [e] };
16201
16207
  }
16202
16208
  });
16203
- const suggestBestProductMatches = (_0, _1) => __async(void 0, [_0, _1], function* (options, {
16209
+ const suggestBestProductMatches = (_0, _1, _2) => __async(void 0, [_0, _1, _2], function* (options, {
16204
16210
  initialQuery,
16205
16211
  productStrings,
16206
16212
  messageHistory
16207
- }) {
16213
+ }, chatSettings) {
16208
16214
  var _a, _b, _c;
16209
16215
  const { environment, customBaseUrl } = options;
16216
+ const model = (chatSettings == null ? void 0 : chatSettings.model) ? `?model=${chatSettings.model}` : ``;
16210
16217
  try {
16211
- const res = yield fetch(`${getApiUrl(environment, customBaseUrl)}chat/bestProducts`, __spreadProps(__spreadValues({}, defaultConfig), {
16218
+ const res = yield fetch(`${getApiUrl(environment, customBaseUrl)}chat/bestProducts${model}`, __spreadProps(__spreadValues({}, defaultConfig), {
16212
16219
  body: JSON.stringify({ initialQuery, messageHistory, productStrings }),
16213
16220
  headers: __spreadValues(__spreadValues({}, headers), (_a = options.customHeaders) != null ? _a : {})
16214
16221
  }));
@@ -16245,9 +16252,10 @@ const prepareChatHistory = (chatLog) => {
16245
16252
  }
16246
16253
  return history;
16247
16254
  };
16248
- const getTextResponseChunkStream = (options, { initialQuery, messageHistory }, onChunkReceived) => {
16255
+ const getTextResponseChunkStream = (options, { initialQuery, messageHistory }, onChunkReceived, chatSettings) => {
16249
16256
  var _a;
16250
- fetch(`${getApiUrl(options.environment, options.customBaseUrl)}chat/text`, __spreadProps(__spreadValues({}, defaultConfig), {
16257
+ const model = (chatSettings == null ? void 0 : chatSettings.model) ? `?model=${chatSettings.model}` : ``;
16258
+ fetch(`${getApiUrl(options.environment, options.customBaseUrl)}chat/text${model}`, __spreadProps(__spreadValues({}, defaultConfig), {
16251
16259
  body: JSON.stringify({ initialQuery, messageHistory }),
16252
16260
  headers: __spreadValues(__spreadValues({}, headers), (_a = options.customHeaders) != null ? _a : {})
16253
16261
  })).then((response) => {
@@ -16387,9 +16395,13 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
16387
16395
  return result.items;
16388
16396
  });
16389
16397
  const getPhraseAlternatives = () => __async(this, null, function* () {
16390
- const { phrases } = yield ChatService.suggestPhraseAlternatives(props.options.sdkOptions, {
16391
- phrases: [props.phrase]
16392
- });
16398
+ const { phrases } = yield ChatService.suggestPhraseAlternatives(
16399
+ props.options.sdkOptions,
16400
+ {
16401
+ phrases: [props.phrase]
16402
+ },
16403
+ props.options.chatSettings
16404
+ );
16393
16405
  return phrases != null ? phrases : [];
16394
16406
  });
16395
16407
  return (_ctx, _cache) => {
@@ -16454,11 +16466,15 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
16454
16466
  return (_b = (_a2 = result[titleKey.value]) == null ? void 0 : _a2.toString()) != null ? _b : "";
16455
16467
  }
16456
16468
  );
16457
- const { products } = yield ChatService.suggestBestProductMatches(props.options.sdkOptions, {
16458
- initialQuery: props.entry.userInput,
16459
- productStrings: productResultStrings,
16460
- messageHistory: (_a = props.history) != null ? _a : []
16461
- });
16469
+ const { products } = yield ChatService.suggestBestProductMatches(
16470
+ props.options.sdkOptions,
16471
+ {
16472
+ initialQuery: props.entry.userInput,
16473
+ productStrings: productResultStrings,
16474
+ messageHistory: (_a = props.history) != null ? _a : []
16475
+ },
16476
+ props.options.chatSettings
16477
+ );
16462
16478
  bestMatches.value = products;
16463
16479
  emit("loaded", products);
16464
16480
  } finally {
@@ -16531,7 +16547,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
16531
16547
  initialQuery: props.content,
16532
16548
  messageHistory: (_a = props.history) != null ? _a : []
16533
16549
  },
16534
- processChunk
16550
+ processChunk,
16551
+ props.options.chatSettings
16535
16552
  );
16536
16553
  });
16537
16554
  return (_ctx, _cache) => {
@@ -16628,7 +16645,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
16628
16645
  };
16629
16646
  const { phrases, success } = yield ChatService.suggestSearchChatPhrases(
16630
16647
  props.options.sdkOptions,
16631
- request
16648
+ request,
16649
+ props.options.chatSettings
16632
16650
  );
16633
16651
  if (!success || !phrases.length) {
16634
16652
  error.value = "Something went wrong";
@@ -2,20 +2,21 @@ import { SdkOptions } from '..';
2
2
  import { ChatMessage, SearchChatRequest } from '../types/chat/SearchChatRequest';
3
3
  import { SearchChatResponse } from '../types/chat/SearchChatResponse';
4
4
  import { ChatContent } from '../types/chat/ChatLog';
5
+ import { ChatSettings } from '../types/chat/ChatOptions';
5
6
  declare const _default: {
6
- suggestSearchChatPhrases: (options: SdkOptions, request: SearchChatRequest) => Promise<Partial<SearchChatResponse> & {
7
+ suggestSearchChatPhrases: (options: SdkOptions, request: SearchChatRequest, chatSettings?: ChatSettings) => Promise<Partial<SearchChatResponse> & {
7
8
  success: boolean;
8
9
  errors: any;
9
10
  }>;
10
11
  suggestPhraseAlternatives: (options: SdkOptions, { phrases }: {
11
12
  phrases: string[];
12
- }) => Promise<Partial<SearchChatResponse> & {
13
+ }, chatSettings?: ChatSettings) => Promise<Partial<SearchChatResponse> & {
13
14
  success: boolean;
14
15
  errors: any;
15
16
  }>;
16
17
  suggestSimplifiedPhrases: (options: SdkOptions, { phrases }: {
17
18
  phrases: string[];
18
- }) => Promise<Partial<SearchChatResponse> & {
19
+ }, chatSettings?: ChatSettings) => Promise<Partial<SearchChatResponse> & {
19
20
  success: boolean;
20
21
  errors: any;
21
22
  }>;
@@ -23,7 +24,7 @@ declare const _default: {
23
24
  initialQuery: string;
24
25
  productStrings: string[];
25
26
  messageHistory: ChatMessage[];
26
- }) => Promise<{
27
+ }, chatSettings?: ChatSettings) => Promise<{
27
28
  products?: string[];
28
29
  success: boolean;
29
30
  errors: any;
@@ -32,6 +33,6 @@ declare const _default: {
32
33
  getTextResponseChunkStream: (options: SdkOptions, { initialQuery, messageHistory }: {
33
34
  initialQuery: string;
34
35
  messageHistory: ChatMessage[];
35
- }, onChunkReceived: (chunk: string) => void) => void;
36
+ }, onChunkReceived: (chunk: string) => void, chatSettings?: ChatSettings) => void;
36
37
  };
37
38
  export default _default;
@@ -20,11 +20,11 @@ import SearchContainer from './components/search-container/SearchContainer.vue';
20
20
  import Recommendations from './components/recommendations/Recommendations.vue';
21
21
  import ChatContainer from './components/chat/ChatContainer.vue';
22
22
  import { getInitialSearchResults } from './utils/ssr.utils';
23
- import { ChatOptions } from './types/chat/ChatOptions';
23
+ import { ChatOptions, ChatSettings } from './types/chat/ChatOptions';
24
24
  declare const initPinia: () => Pinia;
25
25
  declare const setupTracking: (options: TrackingOptions) => void;
26
26
  declare const LupaSearch: {
27
27
  install: (app: any, options: any) => void;
28
28
  };
29
29
  export { SearchBox, SearchResults, ProductList, Recommendations, SearchContainer, ChatContainer, DocumentElementType, SearchBoxPanelType, BadgeType, setupTracking, LupaSearch, initPinia, getInitialSearchResults };
30
- export type { TrackingOptions, SearchBoxOptions, SearchResultsOptions, ProductListOptions, SdkOptions, FacetStyle, Environment, RoutingBehavior, AnchorPosition, SortDirection, DocumentElement, ImageDocumentElement, TitleDocumentElement, DescriptionDocumentElement, CustomDocumentElement, PriceElement, RegularPriceDocumentElement, RatingElement, AddToCartElement, CustomHtmlElement, SortOptions, SearchResultsSortOptions, SearchResultEventCallbacks, CallbackContext, SortCallbackContext, ResultCallbackContext, FacetFilterQuery, CategoryFilterOptions, SearchResultsFilterOptions, SearchResultBadgeType, SearchResultBadgeElement, ResultFacetOptions, BadgeGenerateSeed, BadgeGenerateOptions, BadgeOptions, SearchContainerOptions, SearchContainerConfigOptions, SingleStarRatingElement, DynamicData, ProductRecommendationOptions, RecommendationABTestingOptions, SsrOptions, ChatOptions, SearchBoxEventCallbacks, SearchBoxResultCallbackContext };
30
+ export type { TrackingOptions, SearchBoxOptions, SearchResultsOptions, ProductListOptions, SdkOptions, FacetStyle, Environment, RoutingBehavior, AnchorPosition, SortDirection, DocumentElement, ImageDocumentElement, TitleDocumentElement, DescriptionDocumentElement, CustomDocumentElement, PriceElement, RegularPriceDocumentElement, RatingElement, AddToCartElement, CustomHtmlElement, SortOptions, SearchResultsSortOptions, SearchResultEventCallbacks, CallbackContext, SortCallbackContext, ResultCallbackContext, FacetFilterQuery, CategoryFilterOptions, SearchResultsFilterOptions, SearchResultBadgeType, SearchResultBadgeElement, ResultFacetOptions, BadgeGenerateSeed, BadgeGenerateOptions, BadgeOptions, SearchContainerOptions, SearchContainerConfigOptions, SingleStarRatingElement, DynamicData, ProductRecommendationOptions, RecommendationABTestingOptions, SsrOptions, ChatOptions, ChatSettings, SearchBoxEventCallbacks, SearchBoxResultCallbackContext };
@@ -1,6 +1,10 @@
1
1
  import { SdkOptions } from '../General';
2
2
  import { SearchResultsOptions } from '../search-results/SearchResultsOptions';
3
+ export type ChatSettings = {
4
+ model?: string;
5
+ };
3
6
  export type ChatOptions = {
4
7
  sdkOptions: SdkOptions;
5
8
  displayOptions: SearchResultsOptions;
9
+ chatSettings?: ChatSettings;
6
10
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlupa/vue",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "main": "dist/lupaSearch.js",
5
5
  "module": "dist/lupaSearch.mjs",
6
6
  "types": "dist/src/index.d.ts",