@algolia/client-search 5.47.0 → 5.48.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
@@ -40,11 +40,11 @@ All of our clients comes with type definition, and are available for both browse
40
40
  ### With a package manager
41
41
 
42
42
  ```bash
43
- yarn add @algolia/client-search@5.47.0
43
+ yarn add @algolia/client-search@5.48.0
44
44
  # or
45
- npm install @algolia/client-search@5.47.0
45
+ npm install @algolia/client-search@5.48.0
46
46
  # or
47
- pnpm add @algolia/client-search@5.47.0
47
+ pnpm add @algolia/client-search@5.48.0
48
48
  ```
49
49
 
50
50
  ### Without a package manager
@@ -52,7 +52,7 @@ pnpm add @algolia/client-search@5.47.0
52
52
  Add the following JavaScript snippet to the <head> of your website:
53
53
 
54
54
  ```html
55
- <script src="https://cdn.jsdelivr.net/npm/@algolia/client-search@5.47.0/dist/builds/browser.umd.js"></script>
55
+ <script src="https://cdn.jsdelivr.net/npm/@algolia/client-search@5.48.0/dist/builds/browser.umd.js"></script>
56
56
  ```
57
57
 
58
58
  ### Usage
package/dist/browser.d.ts CHANGED
@@ -1056,7 +1056,7 @@ type InsideBoundingBox = string | Array<Array<number>>;
1056
1056
  type NumericFilters = Array<NumericFilters> | string;
1057
1057
 
1058
1058
  /**
1059
- * Filters to promote or demote records in the search results. Optional filters work like facet filters, but they don\'t exclude records from the search results. Records that match the optional filter rank before records that don\'t match. If you\'re using a negative filter `facet:-value`, matching records rank after records that don\'t match. - Optional filters don\'t work on virtual replicas. - Optional filters are applied _after_ sort-by attributes. - Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)). - Optional filters don\'t work with numeric attributes.
1059
+ * Filters to promote or demote records in the search results. Optional filters work like facet filters, but they don\'t exclude records from the search results. Records that match the optional filter rank before records that don\'t match. If you\'re using a negative filter `facet:-value`, matching records rank after records that don\'t match. - Optional filters are applied _after_ sort-by attributes. - Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)). - Optional filters don\'t work with numeric attributes. - On virtual replicas, optional filters are applied _after_ the replica\'s [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).
1060
1060
  */
1061
1061
  type OptionalFilters = Array<OptionalFilters> | string;
1062
1062
 
@@ -3054,7 +3054,7 @@ type AccountCopyIndexOptions = {
3054
3054
  batchSize?: number | undefined;
3055
3055
  };
3056
3056
 
3057
- declare const apiClientVersion = "5.47.0";
3057
+ declare const apiClientVersion = "5.48.0";
3058
3058
  declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOptions): {
3059
3059
  transporter: _algolia_client_common.Transporter;
3060
3060
  /**
@@ -1,11 +1,11 @@
1
1
  // builds/browser.ts
2
- import { createXhrRequester } from "@algolia/requester-browser-xhr";
3
2
  import {
4
3
  createBrowserLocalStorageCache,
5
4
  createFallbackableCache,
6
5
  createMemoryCache,
7
6
  createNullLogger
8
7
  } from "@algolia/client-common";
8
+ import { createXhrRequester } from "@algolia/requester-browser-xhr";
9
9
 
10
10
  // src/searchClient.ts
11
11
  import {
@@ -16,7 +16,7 @@ import {
16
16
  getAlgoliaAgent,
17
17
  shuffle
18
18
  } from "@algolia/client-common";
19
- var apiClientVersion = "5.47.0";
19
+ var apiClientVersion = "5.48.0";
20
20
  function getDefaultHosts(appId) {
21
21
  return [
22
22
  {