@finueva/auth 0.14.0 → 0.14.1

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 (2) hide show
  1. package/dist/server.js +5 -1
  2. package/package.json +1 -1
package/dist/server.js CHANGED
@@ -1494,7 +1494,11 @@ function createServerAuth(options) {
1494
1494
  response = await fetchImpl(joinURL(authOrigin, "api/v1/auth/sign-out"), {
1495
1495
  method: "POST",
1496
1496
  credentials,
1497
- headers: authHeaders(),
1497
+ headers: {
1498
+ ...authHeaders(),
1499
+ "content-type": "application/json; charset=utf-8"
1500
+ },
1501
+ body: "{}",
1498
1502
  redirect: "manual",
1499
1503
  signal: AbortSignal.timeout(timeoutMs)
1500
1504
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finueva/auth",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "description": "Public browser and server SDK for Finueva Auth",
5
5
  "type": "module",
6
6
  "sideEffects": false,