@algolia/client-search 5.10.1 → 5.10.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.
package/README.md CHANGED
@@ -41,11 +41,11 @@ All of our clients comes with type definition, and are available for both browse
41
41
  ### With a package manager
42
42
 
43
43
  ```bash
44
- yarn add @algolia/client-search@5.10.1
44
+ yarn add @algolia/client-search@5.10.2
45
45
  # or
46
- npm install @algolia/client-search@5.10.1
46
+ npm install @algolia/client-search@5.10.2
47
47
  # or
48
- pnpm add @algolia/client-search@5.10.1
48
+ pnpm add @algolia/client-search@5.10.2
49
49
  ```
50
50
 
51
51
  ### Without a package manager
@@ -53,7 +53,7 @@ pnpm add @algolia/client-search@5.10.1
53
53
  Add the following JavaScript snippet to the <head> of your website:
54
54
 
55
55
  ```html
56
- <script src="https://cdn.jsdelivr.net/npm/@algolia/client-search@5.10.1/dist/builds/browser.umd.js"></script>
56
+ <script src="https://cdn.jsdelivr.net/npm/@algolia/client-search@5.10.2/dist/builds/browser.umd.js"></script>
57
57
  ```
58
58
 
59
59
  ### Usage
package/dist/browser.d.ts CHANGED
@@ -758,7 +758,7 @@ type GetObjectsResponse<T = Record<string, unknown>> = {
758
758
  /**
759
759
  * Retrieved records.
760
760
  */
761
- results?: T[];
761
+ results: T[];
762
762
  };
763
763
 
764
764
  /**
@@ -3037,7 +3037,7 @@ type ReplaceAllObjectsOptions = {
3037
3037
  batchSize?: number;
3038
3038
  };
3039
3039
 
3040
- declare const apiClientVersion = "5.10.1";
3040
+ declare const apiClientVersion = "5.10.2";
3041
3041
  declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOptions): {
3042
3042
  transporter: _algolia_client_common.Transporter;
3043
3043
  /**
@@ -19,7 +19,7 @@ import {
19
19
  getAlgoliaAgent,
20
20
  shuffle
21
21
  } from "@algolia/client-common";
22
- var apiClientVersion = "5.10.1";
22
+ var apiClientVersion = "5.10.2";
23
23
  function getDefaultHosts(appId) {
24
24
  return [
25
25
  {