@algolia/transporter
Advanced tools
Comparing version 4.0.0-beta.15 to 4.0.0-beta.16
@@ -66,3 +66,3 @@ 'use strict'; | ||
url: options.url, | ||
accept: options.accept, | ||
accept: options.accept || CallEnum.Any, | ||
}; | ||
@@ -69,0 +69,0 @@ } |
@@ -59,5 +59,5 @@ import { Cache } from '@algolia/cache-common'; | ||
/** | ||
* The type of host. | ||
* The type of host. Defaults to `Any`. | ||
*/ | ||
readonly accept: CallType; | ||
readonly accept?: CallType; | ||
/** | ||
@@ -64,0 +64,0 @@ * The protocol. Defaults to `https`. |
@@ -62,3 +62,3 @@ import { MethodEnum } from '@algolia/requester-common'; | ||
url: options.url, | ||
accept: options.accept, | ||
accept: options.accept || CallEnum.Any, | ||
}; | ||
@@ -65,0 +65,0 @@ } |
{ | ||
"name": "@algolia/transporter", | ||
"version": "4.0.0-beta.15", | ||
"version": "4.0.0-beta.16", | ||
"private": false, | ||
"description": "Promise-based transporter layer with embedded retry strategy.", | ||
"license": "MIT", | ||
"sideEffects": false, | ||
"main": "index.js", | ||
"module": "dist/transporter.esm.js", | ||
"types": "dist/transporter.d.ts", | ||
"files": [ | ||
@@ -11,11 +15,7 @@ "index.js", | ||
], | ||
"sideEffects": false, | ||
"main": "index.js", | ||
"module": "dist/transporter.esm.js", | ||
"types": "dist/transporter.d.ts", | ||
"dependencies": { | ||
"@algolia/cache-common": "4.0.0-beta.15", | ||
"@algolia/logger-common": "4.0.0-beta.15", | ||
"@algolia/requester-common": "4.0.0-beta.15" | ||
"@algolia/cache-common": "4.0.0-beta.16", | ||
"@algolia/logger-common": "4.0.0-beta.16", | ||
"@algolia/requester-common": "4.0.0-beta.16" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
49464
+ Added@algolia/cache-common@4.0.0-beta.16(transitive)
+ Added@algolia/logger-common@4.0.0-beta.16(transitive)
+ Added@algolia/requester-common@4.0.0-beta.16(transitive)
- Removed@algolia/cache-common@4.0.0-beta.15(transitive)
- Removed@algolia/logger-common@4.0.0-beta.15(transitive)
- Removed@algolia/requester-common@4.0.0-beta.15(transitive)