@algolia/ingestion 1.6.1 → 1.7.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 +1 -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/fetch.d.ts +1 -1
- package/dist/node.d.cts +1 -1
- package/dist/node.d.ts +1 -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/package.json +7 -7
package/README.md
CHANGED
|
@@ -40,11 +40,11 @@ All of our clients comes with type definition, and are available for both browse
|
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
```bash
|
|
43
|
-
yarn add @algolia/ingestion@1.
|
|
43
|
+
yarn add @algolia/ingestion@1.7.0
|
|
44
44
|
# or
|
|
45
|
-
npm install @algolia/ingestion@1.
|
|
45
|
+
npm install @algolia/ingestion@1.7.0
|
|
46
46
|
# or
|
|
47
|
-
pnpm add @algolia/ingestion@1.
|
|
47
|
+
pnpm add @algolia/ingestion@1.7.0
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
### Without a package manager
|
|
@@ -52,7 +52,7 @@ pnpm add @algolia/ingestion@1.6.1
|
|
|
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/ingestion@1.
|
|
55
|
+
<script src="https://cdn.jsdelivr.net/npm/@algolia/ingestion@1.7.0/dist/builds/browser.umd.js"></script>
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
### Usage
|
package/dist/browser.d.ts
CHANGED
|
@@ -2241,7 +2241,7 @@ type TransformationUpdateResponse = {
|
|
|
2241
2241
|
updatedAt: string;
|
|
2242
2242
|
};
|
|
2243
2243
|
|
|
2244
|
-
declare const apiClientVersion = "1.
|
|
2244
|
+
declare const apiClientVersion = "1.7.0";
|
|
2245
2245
|
declare const REGIONS: readonly ["eu", "us"];
|
|
2246
2246
|
type Region = (typeof REGIONS)[number];
|
|
2247
2247
|
/**
|
package/dist/builds/browser.js
CHANGED
|
@@ -12,7 +12,7 @@ import { createXhrRequester } from "@algolia/requester-browser-xhr";
|
|
|
12
12
|
|
|
13
13
|
// src/ingestionClient.ts
|
|
14
14
|
import { createAuth, createTransporter, getAlgoliaAgent } from "@algolia/client-common";
|
|
15
|
-
var apiClientVersion = "1.
|
|
15
|
+
var apiClientVersion = "1.7.0";
|
|
16
16
|
var REGIONS = ["eu", "us"];
|
|
17
17
|
function getDefaultHosts(region) {
|
|
18
18
|
const url = "data.{region}.algolia.com".replace("{region}", region);
|