@algolia/client-search 5.34.1 → 5.35.0

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.34.1
44
+ yarn add @algolia/client-search@5.35.0
45
45
  # or
46
- npm install @algolia/client-search@5.34.1
46
+ npm install @algolia/client-search@5.35.0
47
47
  # or
48
- pnpm add @algolia/client-search@5.34.1
48
+ pnpm add @algolia/client-search@5.35.0
49
49
  ```
50
50
 
51
51
  ### Without a package manager
@@ -53,7 +53,7 @@ pnpm add @algolia/client-search@5.34.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.34.1/dist/builds/browser.umd.js"></script>
56
+ <script src="https://cdn.jsdelivr.net/npm/@algolia/client-search@5.35.0/dist/builds/browser.umd.js"></script>
57
57
  ```
58
58
 
59
59
  ### Usage
package/dist/browser.d.ts CHANGED
@@ -3045,9 +3045,13 @@ type AccountCopyIndexOptions = {
3045
3045
  * The name of the index to write the copy in.
3046
3046
  */
3047
3047
  destinationIndexName: string;
3048
+ /**
3049
+ * The size of the chunk of `objects`. Defaults to 1000.
3050
+ */
3051
+ batchSize?: number | undefined;
3048
3052
  };
3049
3053
 
3050
- declare const apiClientVersion = "5.34.1";
3054
+ declare const apiClientVersion = "5.35.0";
3051
3055
  declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOptions): {
3052
3056
  transporter: _algolia_client_common.Transporter;
3053
3057
  /**
@@ -16,7 +16,7 @@ import {
16
16
  getAlgoliaAgent,
17
17
  shuffle
18
18
  } from "@algolia/client-common";
19
- var apiClientVersion = "5.34.1";
19
+ var apiClientVersion = "5.35.0";
20
20
  function getDefaultHosts(appId) {
21
21
  return [
22
22
  {