@algolia/ingestion 1.23.1 → 1.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.
- package/README.md +4 -4
- package/dist/browser.d.ts +11 -11
- package/dist/builds/browser.js +1 -1
- package/dist/builds/browser.js.map +1 -1
- package/dist/builds/browser.min.js +1 -1
- package/dist/builds/browser.min.js.map +1 -1
- package/dist/builds/browser.umd.js +1 -1
- package/dist/builds/fetch.js +1 -1
- package/dist/builds/fetch.js.map +1 -1
- package/dist/builds/node.cjs +1 -1
- package/dist/builds/node.cjs.map +1 -1
- package/dist/builds/node.js +1 -1
- package/dist/builds/node.js.map +1 -1
- package/dist/builds/worker.js +1 -1
- package/dist/builds/worker.js.map +1 -1
- package/dist/fetch.d.ts +11 -11
- package/dist/node.d.cts +11 -11
- package/dist/node.d.ts +11 -11
- package/dist/src/ingestionClient.cjs +1 -1
- package/dist/src/ingestionClient.cjs.map +1 -1
- package/dist/src/ingestionClient.js +5 -5
- package/dist/src/ingestionClient.js.map +1 -1
- package/dist/worker.d.ts +11 -11
- package/package.json +9 -9
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.23.
|
|
44
|
+
yarn add @algolia/ingestion@1.23.3
|
|
45
45
|
# or
|
|
46
|
-
npm install @algolia/ingestion@1.23.
|
|
46
|
+
npm install @algolia/ingestion@1.23.3
|
|
47
47
|
# or
|
|
48
|
-
pnpm add @algolia/ingestion@1.23.
|
|
48
|
+
pnpm add @algolia/ingestion@1.23.3
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
### Without a package manager
|
|
@@ -53,7 +53,7 @@ pnpm add @algolia/ingestion@1.23.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/ingestion@1.23.
|
|
56
|
+
<script src="https://cdn.jsdelivr.net/npm/@algolia/ingestion@1.23.3/dist/builds/browser.umd.js"></script>
|
|
57
57
|
```
|
|
58
58
|
|
|
59
59
|
### Usage
|
package/dist/browser.d.ts
CHANGED
|
@@ -129,7 +129,7 @@ type Authentication = {
|
|
|
129
129
|
/**
|
|
130
130
|
* Date of last update in RFC 3339 format.
|
|
131
131
|
*/
|
|
132
|
-
updatedAt
|
|
132
|
+
updatedAt: string;
|
|
133
133
|
};
|
|
134
134
|
|
|
135
135
|
/**
|
|
@@ -336,7 +336,7 @@ type Destination = {
|
|
|
336
336
|
/**
|
|
337
337
|
* Date of last update in RFC 3339 format.
|
|
338
338
|
*/
|
|
339
|
-
updatedAt
|
|
339
|
+
updatedAt: string;
|
|
340
340
|
/**
|
|
341
341
|
* Universally unique identifier (UUID) of an authentication resource.
|
|
342
342
|
*/
|
|
@@ -699,7 +699,7 @@ type Source = {
|
|
|
699
699
|
/**
|
|
700
700
|
* Date of last update in RFC 3339 format.
|
|
701
701
|
*/
|
|
702
|
-
updatedAt
|
|
702
|
+
updatedAt: string;
|
|
703
703
|
};
|
|
704
704
|
|
|
705
705
|
type ListSourcesResponse = {
|
|
@@ -899,7 +899,7 @@ type Task = {
|
|
|
899
899
|
/**
|
|
900
900
|
* Date of last update in RFC 3339 format.
|
|
901
901
|
*/
|
|
902
|
-
updatedAt
|
|
902
|
+
updatedAt: string;
|
|
903
903
|
};
|
|
904
904
|
|
|
905
905
|
/**
|
|
@@ -1019,7 +1019,7 @@ type TaskV1 = {
|
|
|
1019
1019
|
/**
|
|
1020
1020
|
* Date of last update in RFC 3339 format.
|
|
1021
1021
|
*/
|
|
1022
|
-
updatedAt
|
|
1022
|
+
updatedAt: string;
|
|
1023
1023
|
};
|
|
1024
1024
|
|
|
1025
1025
|
/**
|
|
@@ -1062,7 +1062,7 @@ type Transformation = {
|
|
|
1062
1062
|
/**
|
|
1063
1063
|
* Date of last update in RFC 3339 format.
|
|
1064
1064
|
*/
|
|
1065
|
-
updatedAt
|
|
1065
|
+
updatedAt: string;
|
|
1066
1066
|
};
|
|
1067
1067
|
|
|
1068
1068
|
/**
|
|
@@ -1399,9 +1399,9 @@ type TransformationError = {
|
|
|
1399
1399
|
|
|
1400
1400
|
type TransformationTryResponse = {
|
|
1401
1401
|
/**
|
|
1402
|
-
* The array of records returned by the transformation service.
|
|
1402
|
+
* The array of stringified records returned by the transformation service.
|
|
1403
1403
|
*/
|
|
1404
|
-
payloads: Array<
|
|
1404
|
+
payloads: Array<string>;
|
|
1405
1405
|
error?: TransformationError;
|
|
1406
1406
|
};
|
|
1407
1407
|
|
|
@@ -1423,7 +1423,7 @@ type WatchResponse = {
|
|
|
1423
1423
|
/**
|
|
1424
1424
|
* Universally unique identifier (UUID) of a task run.
|
|
1425
1425
|
*/
|
|
1426
|
-
runID
|
|
1426
|
+
runID: string;
|
|
1427
1427
|
/**
|
|
1428
1428
|
* when used with discovering or validating sources, the sampled data of your source is returned.
|
|
1429
1429
|
*/
|
|
@@ -1435,7 +1435,7 @@ type WatchResponse = {
|
|
|
1435
1435
|
/**
|
|
1436
1436
|
* a message describing the outcome of a validate run.
|
|
1437
1437
|
*/
|
|
1438
|
-
message
|
|
1438
|
+
message?: string;
|
|
1439
1439
|
};
|
|
1440
1440
|
|
|
1441
1441
|
/**
|
|
@@ -2309,7 +2309,7 @@ type ValidateSourceBeforeUpdateProps = {
|
|
|
2309
2309
|
sourceUpdate: SourceUpdate;
|
|
2310
2310
|
};
|
|
2311
2311
|
|
|
2312
|
-
declare const apiClientVersion = "1.23.
|
|
2312
|
+
declare const apiClientVersion = "1.23.3";
|
|
2313
2313
|
declare const REGIONS: readonly ["eu", "us"];
|
|
2314
2314
|
type Region = (typeof REGIONS)[number];
|
|
2315
2315
|
type RegionOptions = {
|
package/dist/builds/browser.js
CHANGED
|
@@ -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.23.
|
|
12
|
+
var apiClientVersion = "1.23.3";
|
|
13
13
|
var REGIONS = ["eu", "us"];
|
|
14
14
|
function getDefaultHosts(region) {
|
|
15
15
|
const url = "data.{region}.algolia.com".replace("{region}", region);
|