@algolia/ingestion 1.26.0 → 1.27.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/ingestion@1.26.0
44
+ yarn add @algolia/ingestion@1.27.0
45
45
  # or
46
- npm install @algolia/ingestion@1.26.0
46
+ npm install @algolia/ingestion@1.27.0
47
47
  # or
48
- pnpm add @algolia/ingestion@1.26.0
48
+ pnpm add @algolia/ingestion@1.27.0
49
49
  ```
50
50
 
51
51
  ### Without a package manager
@@ -53,7 +53,7 @@ pnpm add @algolia/ingestion@1.26.0
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/ingestion@1.26.0/dist/builds/browser.umd.js"></script>
56
+ <script src="https://cdn.jsdelivr.net/npm/@algolia/ingestion@1.27.0/dist/builds/browser.umd.js"></script>
57
57
  ```
58
58
 
59
59
  ### Usage
package/dist/browser.d.ts CHANGED
@@ -1458,15 +1458,15 @@ type WatchResponse = {
1458
1458
  */
1459
1459
  eventID?: string;
1460
1460
  /**
1461
- * when used with discovering or validating sources, the sampled data of your source is returned.
1461
+ * This field is always null when used with the Push endpoint. When used for a source discover or source validate run, it will include the sampled data of the source.
1462
1462
  */
1463
1463
  data?: Array<Record<string, unknown>>;
1464
1464
  /**
1465
- * in case of error, observability events will be added to the response, if any.
1465
+ * in case of error, observability events will be added to the response.
1466
1466
  */
1467
1467
  events?: Array<Event>;
1468
1468
  /**
1469
- * a message describing the outcome of a validate run.
1469
+ * a message describing the outcome of the operation that has been ran (push, discover or validate) run.
1470
1470
  */
1471
1471
  message?: string;
1472
1472
  /**
@@ -2357,7 +2357,7 @@ type ValidateSourceBeforeUpdateProps = {
2357
2357
  sourceUpdate: SourceUpdate;
2358
2358
  };
2359
2359
 
2360
- declare const apiClientVersion = "1.26.0";
2360
+ declare const apiClientVersion = "1.27.0";
2361
2361
  declare const REGIONS: readonly ["eu", "us"];
2362
2362
  type Region = (typeof REGIONS)[number];
2363
2363
  type RegionOptions = {
@@ -9,7 +9,7 @@ import {
9
9
 
10
10
  // src/ingestionClient.ts
11
11
  import { createAuth, createTransporter, getAlgoliaAgent } from "@algolia/client-common";
12
- var apiClientVersion = "1.26.0";
12
+ var apiClientVersion = "1.27.0";
13
13
  var REGIONS = ["eu", "us"];
14
14
  function getDefaultHosts(region) {
15
15
  const url = "data.{region}.algolia.com".replace("{region}", region);