@coveo/quantic 3.37.6 → 3.37.8

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.
@@ -1,6 +1,6 @@
1
1
  import type { GeneratedAnswerStreamRequest } from '../../api/generated-answer/generated-answer-request.js';
2
2
  import type { StreamAnswerAPIState } from '../../api/knowledge/stream-answer-api-state.js';
3
- import type { BaseParam } from '../../api/platform-service-params.js';
3
+ import type { BaseParam, ContextParam } from '../../api/platform-service-params.js';
4
4
  import type { SearchRequest } from '../../api/search/search/search-request.js';
5
5
  import type { AnalyticsParam, AuthenticationParam, AutomaticFacetsParams } from '../../api/search/search-api-params.js';
6
6
  import type { CaseContextParam } from '../../api/service/insight/query/query-request.js';
@@ -24,6 +24,6 @@ type HeadAnswerParams = {
24
24
  pipeline?: string;
25
25
  citationsFieldToInclude?: string[];
26
26
  locale: string;
27
- } & AnalyticsParam;
27
+ } & ContextParam & AnalyticsParam;
28
28
  export declare const constructGenerateHeadAnswerParams: (state: StateNeededForHeadAnswerParams, navigatorContext: NavigatorContext) => HeadAnswerParams;
29
29
  export {};
@@ -1,4 +1,6 @@
1
1
  import type { PrimitivesValues } from '@coveo/bueno';
2
+ import { deepEqual } from 'fast-equals';
3
+ export { deepEqual };
2
4
  export declare function arrayEqual<T>(firstArray: T[], secondArray: T[], isEqual?: (first: T, second: T) => boolean): boolean;
3
5
  /**
4
6
  * Checks if two arrays of primitive values have the same elements, in different order.