@algolia/client-search 4.10.0 → 4.10.5

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.
@@ -532,7 +532,7 @@ export declare type FindAnswersOptions = {
532
532
  readonly searchParameters?: Omit<SearchOptions, 'attributesToSnippet' | 'hitsPerPage' | 'queryType' | 'naturalLanguages' | 'removeStopWords' | 'ignorePlurals' | 'removeWordsIfNoResults'>;
533
533
  };
534
534
 
535
- export declare type FindAnswersResponse<TObject = {}> = SearchResponse<TObject> & {
535
+ export declare type FindAnswersResponse<TObject = {}> = Omit<SearchResponse<TObject>, 'hits'> & {
536
536
  /**
537
537
  * The hits returned by the search.
538
538
  *
@@ -2254,7 +2254,7 @@ export declare type Settings = {
2254
2254
  /**
2255
2255
  * the ordering of facets (widgets)
2256
2256
  */
2257
- readonly facet?: {
2257
+ readonly facets?: {
2258
2258
  /**
2259
2259
  * pinned order of facet lists
2260
2260
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@algolia/client-search",
3
- "version": "4.10.0",
3
+ "version": "4.10.5",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -16,8 +16,8 @@
16
16
  "dist"
17
17
  ],
18
18
  "dependencies": {
19
- "@algolia/client-common": "4.10.0",
20
- "@algolia/requester-common": "4.10.0",
21
- "@algolia/transporter": "4.10.0"
19
+ "@algolia/client-common": "4.10.5",
20
+ "@algolia/requester-common": "4.10.5",
21
+ "@algolia/transporter": "4.10.5"
22
22
  }
23
23
  }