@algolia/ingestion 1.21.0 → 1.22.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 +4 -4
- package/dist/browser.d.ts +21 -1
- 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 +21 -1
- package/dist/node.d.cts +21 -1
- package/dist/node.d.ts +21 -1
- package/dist/src/ingestionClient.cjs +1 -1
- package/dist/src/ingestionClient.cjs.map +1 -1
- package/dist/src/ingestionClient.js +1 -1
- package/dist/src/ingestionClient.js.map +1 -1
- package/dist/worker.d.ts +21 -1
- package/package.json +8 -8
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.
|
|
44
|
+
yarn add @algolia/ingestion@1.22.0
|
|
45
45
|
# or
|
|
46
|
-
npm install @algolia/ingestion@1.
|
|
46
|
+
npm install @algolia/ingestion@1.22.0
|
|
47
47
|
# or
|
|
48
|
-
pnpm add @algolia/ingestion@1.
|
|
48
|
+
pnpm add @algolia/ingestion@1.22.0
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
### Without a package manager
|
|
@@ -53,7 +53,7 @@ pnpm add @algolia/ingestion@1.21.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.
|
|
56
|
+
<script src="https://cdn.jsdelivr.net/npm/@algolia/ingestion@1.22.0/dist/builds/browser.umd.js"></script>
|
|
57
57
|
```
|
|
58
58
|
|
|
59
59
|
### Usage
|
package/dist/browser.d.ts
CHANGED
|
@@ -117,6 +117,10 @@ type Authentication = {
|
|
|
117
117
|
*/
|
|
118
118
|
name: string;
|
|
119
119
|
platform?: Platform | null;
|
|
120
|
+
/**
|
|
121
|
+
* Owner of the resource.
|
|
122
|
+
*/
|
|
123
|
+
owner?: string | null;
|
|
120
124
|
input: AuthInputPartial;
|
|
121
125
|
/**
|
|
122
126
|
* Date of creation in RFC 3339 format.
|
|
@@ -320,6 +324,10 @@ type Destination = {
|
|
|
320
324
|
* Descriptive name for the resource.
|
|
321
325
|
*/
|
|
322
326
|
name: string;
|
|
327
|
+
/**
|
|
328
|
+
* Owner of the resource.
|
|
329
|
+
*/
|
|
330
|
+
owner?: string | null;
|
|
323
331
|
input: DestinationInput;
|
|
324
332
|
/**
|
|
325
333
|
* Date of creation in RFC 3339 format.
|
|
@@ -671,6 +679,10 @@ type Source = {
|
|
|
671
679
|
sourceID: string;
|
|
672
680
|
type: SourceType;
|
|
673
681
|
name: string;
|
|
682
|
+
/**
|
|
683
|
+
* Owner of the resource.
|
|
684
|
+
*/
|
|
685
|
+
owner?: string | null;
|
|
674
686
|
input?: SourceInput;
|
|
675
687
|
/**
|
|
676
688
|
* Universally unique identifier (UUID) of an authentication resource.
|
|
@@ -855,6 +867,10 @@ type Task = {
|
|
|
855
867
|
* The next scheduled run of the task in RFC 3339 format.
|
|
856
868
|
*/
|
|
857
869
|
nextRun?: string;
|
|
870
|
+
/**
|
|
871
|
+
* Owner of the resource.
|
|
872
|
+
*/
|
|
873
|
+
owner?: string | null;
|
|
858
874
|
input?: TaskInput;
|
|
859
875
|
/**
|
|
860
876
|
* Whether the task is enabled.
|
|
@@ -1031,6 +1047,10 @@ type Transformation = {
|
|
|
1031
1047
|
* A descriptive name for your transformation of what it does.
|
|
1032
1048
|
*/
|
|
1033
1049
|
description?: string;
|
|
1050
|
+
/**
|
|
1051
|
+
* Owner of the resource.
|
|
1052
|
+
*/
|
|
1053
|
+
owner?: string | null;
|
|
1034
1054
|
/**
|
|
1035
1055
|
* Date of creation in RFC 3339 format.
|
|
1036
1056
|
*/
|
|
@@ -2281,7 +2301,7 @@ type ValidateSourceBeforeUpdateProps = {
|
|
|
2281
2301
|
sourceUpdate: SourceUpdate;
|
|
2282
2302
|
};
|
|
2283
2303
|
|
|
2284
|
-
declare const apiClientVersion = "1.
|
|
2304
|
+
declare const apiClientVersion = "1.22.0";
|
|
2285
2305
|
declare const REGIONS: readonly ["eu", "us"];
|
|
2286
2306
|
type Region = (typeof REGIONS)[number];
|
|
2287
2307
|
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.
|
|
12
|
+
var apiClientVersion = "1.22.0";
|
|
13
13
|
var REGIONS = ["eu", "us"];
|
|
14
14
|
function getDefaultHosts(region) {
|
|
15
15
|
const url = "data.{region}.algolia.com".replace("{region}", region);
|