@algolia/requester-fetch 5.0.0-alpha.57 → 5.0.0-alpha.59

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.
@@ -26,7 +26,6 @@ function createFetchRequester({ requesterOptions = {}, } = {}) {
26
26
  fetchRes = await fetch(request.url, {
27
27
  method: request.method,
28
28
  body: request.data || null,
29
- mode: 'cors',
30
29
  redirect: 'manual',
31
30
  signal,
32
31
  ...requesterOptions,
@@ -22,7 +22,6 @@ function createFetchRequester({ requesterOptions = {}, } = {}) {
22
22
  fetchRes = await fetch(request.url, {
23
23
  method: request.method,
24
24
  body: request.data || null,
25
- mode: 'cors',
26
25
  redirect: 'manual',
27
26
  signal,
28
27
  ...requesterOptions,
@@ -1 +1 @@
1
- {"version":3,"file":"createFetchRequester.d.ts","sourceRoot":"","sources":["../../src/createFetchRequester.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,SAAS,EAEV,MAAM,wBAAwB,CAAC;AAahC,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,WAAW,CAAC;CACzC,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,EACnC,gBAAqB,GACtB,GAAE,qBAA0B,GAAG,SAAS,CAyDxC"}
1
+ {"version":3,"file":"createFetchRequester.d.ts","sourceRoot":"","sources":["../../src/createFetchRequester.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,SAAS,EAEV,MAAM,wBAAwB,CAAC;AAahC,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,WAAW,CAAC;CACzC,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,EACnC,gBAAqB,GACtB,GAAE,qBAA0B,GAAG,SAAS,CAwDxC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@algolia/requester-fetch",
3
- "version": "5.0.0-alpha.57",
3
+ "version": "5.0.0-alpha.59",
4
4
  "description": "Promise-based request library using Fetch.",
5
5
  "repository": "algolia/algoliasearch-client-javascript",
6
6
  "license": "MIT",
@@ -19,7 +19,7 @@
19
19
  "test": "jest"
20
20
  },
21
21
  "dependencies": {
22
- "@algolia/client-common": "5.0.0-alpha.57"
22
+ "@algolia/client-common": "5.0.0-alpha.59"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/jest": "29.5.0",
@@ -28,7 +28,7 @@
28
28
  "jest": "29.5.0",
29
29
  "nock": "13.3.0",
30
30
  "ts-jest": "29.1.0",
31
- "typescript": "5.0.3"
31
+ "typescript": "5.0.4"
32
32
  },
33
33
  "engines": {
34
34
  "node": ">= 14.0.0"
@@ -39,7 +39,6 @@ export function createFetchRequester({
39
39
  fetchRes = await fetch(request.url, {
40
40
  method: request.method,
41
41
  body: request.data || null,
42
- mode: 'cors',
43
42
  redirect: 'manual',
44
43
  signal,
45
44
  ...requesterOptions,