@algolia/client-search 4.23.1 → 4.23.3

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,7 +1,7 @@
1
1
  import { AuthModeType } from '@algolia/client-common';
2
2
  import { ClientTransporterOptions } from '@algolia/client-common';
3
3
  import { CreateClient } from '@algolia/client-common';
4
- import { Request } from '@algolia/transporter';
4
+ import { Request as Request_2 } from '@algolia/transporter';
5
5
  import { RequestOptions } from '@algolia/transporter';
6
6
  import { Transporter } from '@algolia/transporter';
7
7
  import { WaitablePromise } from '@algolia/client-common';
@@ -368,7 +368,7 @@ export declare const createSearchClient: CreateClient<SearchClient, SearchClient
368
368
 
369
369
  export declare function createValidUntilNotFoundError(): Error;
370
370
 
371
- export declare const customRequest: <TResponse = any>(base: SearchClient) => (request: Request, requestOptions?: RequestOptions | undefined) => Readonly<Promise<TResponse>>;
371
+ export declare const customRequest: <TResponse = any>(base: SearchClient) => (request: Request_2, requestOptions?: RequestOptions | undefined) => Readonly<Promise<TResponse>>;
372
372
 
373
373
  export declare const deleteApiKey: (base: SearchClient) => (apiKey: string, requestOptions?: RequestOptions | undefined) => Readonly<WaitablePromise<DeleteApiKeyResponse>>;
374
374
 
@@ -1764,6 +1764,10 @@ export declare type SearchResponse<TObject = {}> = {
1764
1764
  * Time the server took to process the request, in milliseconds. This does not include network time.
1765
1765
  */
1766
1766
  processingTimeMS: number;
1767
+ /**
1768
+ * Time the server took to process the request, in milliseconds.
1769
+ */
1770
+ serverTimeMS?: number;
1767
1771
  /**
1768
1772
  * Whether the nbHits is exhaustive (true) or approximate (false).
1769
1773
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@algolia/client-search",
3
- "version": "4.23.1",
3
+ "version": "4.23.3",
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.23.1",
20
- "@algolia/requester-common": "4.23.1",
21
- "@algolia/transporter": "4.23.1"
19
+ "@algolia/client-common": "4.23.3",
20
+ "@algolia/requester-common": "4.23.3",
21
+ "@algolia/transporter": "4.23.3"
22
22
  }
23
23
  }