Comparing version 2.3.1 to 2.3.2
@@ -125,2 +125,5 @@ "use strict"; | ||
} | ||
const defaultRequestInit = typeof this.defaultRequestInit === 'function' | ||
? await this.defaultRequestInit({ uri }) | ||
: this.defaultRequestInit; | ||
const response = await this._fetch.operation(operation.method, uri, { | ||
@@ -130,3 +133,3 @@ parsers: this.parsers, | ||
body, | ||
...requestInit, | ||
...{ ...defaultRequestInit, ...requestInit }, | ||
}); | ||
@@ -133,0 +136,0 @@ await this.__getApiDocumentation(response, headers); |
# Changelog | ||
## 2.3.2 | ||
### Patch Changes | ||
- 6793756: RequestInit default were not applied when invoking operations | ||
## 2.3.1 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "alcaeus", | ||
"version": "2.3.1", | ||
"version": "2.3.2", | ||
"description": "Hydra Core hypermedia-aware client library", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
394545
4804