@nauth-toolkit/client 0.1.124 → 0.1.126
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.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1656,7 +1656,7 @@ var NAuthClient = class {
|
|
|
1656
1656
|
if (tokenDelivery === "json") {
|
|
1657
1657
|
await this.tokenManager.assertHasRefreshToken();
|
|
1658
1658
|
}
|
|
1659
|
-
const body = tokenDelivery === "json" ? { refreshToken: (await this.tokenManager.getTokens()).refreshToken } : {
|
|
1659
|
+
const body = tokenDelivery === "json" ? { refreshToken: (await this.tokenManager.getTokens()).refreshToken } : {};
|
|
1660
1660
|
const refreshFn = async () => {
|
|
1661
1661
|
return this.post(this.config.endpoints.refresh, body, false);
|
|
1662
1662
|
};
|