@ng-openapi/http-resource 0.0.28 → 0.0.30

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.
Files changed (3) hide show
  1. package/index.cjs +1 -1
  2. package/index.js +1 -1
  3. package/package.json +1 -1
package/index.cjs CHANGED
@@ -3111,7 +3111,7 @@ let headers: HttpHeaders;
3111
3111
  if (requestOptions?.headers instanceof HttpHeaders) {
3112
3112
  headers = requestOptions.headers;
3113
3113
  } else {
3114
- headers = new HttpHeaders(requestOptions?.headers);
3114
+ headers = new HttpHeaders(requestOptions?.headers as Record<string, string>);
3115
3115
  }`;
3116
3116
  if (hasCustomHeaders) {
3117
3117
  headerCode += `
package/index.js CHANGED
@@ -3077,7 +3077,7 @@ let headers: HttpHeaders;
3077
3077
  if (requestOptions?.headers instanceof HttpHeaders) {
3078
3078
  headers = requestOptions.headers;
3079
3079
  } else {
3080
- headers = new HttpHeaders(requestOptions?.headers);
3080
+ headers = new HttpHeaders(requestOptions?.headers as Record<string, string>);
3081
3081
  }`;
3082
3082
  if (hasCustomHeaders) {
3083
3083
  headerCode += `
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-openapi/http-resource",
3
- "version": "0.0.28",
3
+ "version": "0.0.30",
4
4
  "description": "HTTP Resource plugin for ng-openapi - Angular HTTP utilities with caching and state management",
5
5
  "keywords": [
6
6
  "angular",