keycloak-api 0.2.1 → 0.2.2

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > keycloak-api@0.2.1 build /home/runner/work/openapi-clients/openapi-clients/packages/keycloak-api
2
+ > keycloak-api@0.2.2 build /home/runner/work/openapi-clients/openapi-clients/packages/keycloak-api
3
3
  > unbuild
4
4
 
5
5
  [info] Automatically detected entries: src/index [esm] [cjs] [dts]
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # keycloak-api
2
2
 
3
+ ## 0.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 44ab118: Add accept header
8
+
3
9
  ## 0.2.1
4
10
 
5
11
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -23,6 +23,7 @@ async function fetch$1({
23
23
  const requestHeaders = compactObject({
24
24
  "Content-Type": "application/json",
25
25
  Authorization: token ? `Bearer ${token}` : void 0,
26
+ Accept: "application/json",
26
27
  ...headers
27
28
  });
28
29
  if (requestHeaders["Content-Type"]?.toLowerCase().includes("multipart/form-data")) {
package/dist/index.mjs CHANGED
@@ -21,6 +21,7 @@ async function fetch$1({
21
21
  const requestHeaders = compactObject({
22
22
  "Content-Type": "application/json",
23
23
  Authorization: token ? `Bearer ${token}` : void 0,
24
+ Accept: "application/json",
24
25
  ...headers
25
26
  });
26
27
  if (requestHeaders["Content-Type"]?.toLowerCase().includes("multipart/form-data")) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keycloak-api",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "keycloak auto-generated type-safe API client",
5
5
  "author": "SferaDev",
6
6
  "license": "ISC",