@algolia/client-search 4.13.1 → 4.14.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.
@@ -1688,6 +1688,10 @@ export declare type SearchOptions = {
1688
1688
  * Sets the languages to be used by language-specific settings and functionalities such as ignorePlurals, removeStopWords, and CJK word-detection.
1689
1689
  */
1690
1690
  readonly queryLanguages?: readonly string[];
1691
+ /**
1692
+ * Enriches the API’s response with meta-information as to how the query was processed.
1693
+ */
1694
+ readonly explain?: readonly string[];
1691
1695
  };
1692
1696
 
1693
1697
  export declare type SearchResponse<TObject = {}> = {
@@ -1816,6 +1820,10 @@ export declare type SearchResponse<TObject = {}> = {
1816
1820
  * Index name used for the query. In case of AB test, the index targetted isn’t always the index used by the query.
1817
1821
  */
1818
1822
  indexUsed?: string;
1823
+ /**
1824
+ * If a search encounters an index that is being A/B tested, abTestID reports the ongoing A/B test ID.
1825
+ */
1826
+ abTestID?: number;
1819
1827
  /**
1820
1828
  * In case of AB test, reports the variant ID used. The variant ID is the position in the array of variants (starting at 1).
1821
1829
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@algolia/client-search",
3
- "version": "4.13.1",
3
+ "version": "4.14.2",
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.13.1",
20
- "@algolia/requester-common": "4.13.1",
21
- "@algolia/transporter": "4.13.1"
19
+ "@algolia/client-common": "4.14.2",
20
+ "@algolia/requester-common": "4.14.2",
21
+ "@algolia/transporter": "4.14.2"
22
22
  }
23
23
  }