@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.mjs CHANGED
@@ -1614,7 +1614,7 @@ var NAuthClient = class {
1614
1614
  if (tokenDelivery === "json") {
1615
1615
  await this.tokenManager.assertHasRefreshToken();
1616
1616
  }
1617
- const body = tokenDelivery === "json" ? { refreshToken: (await this.tokenManager.getTokens()).refreshToken } : { refreshToken: "" };
1617
+ const body = tokenDelivery === "json" ? { refreshToken: (await this.tokenManager.getTokens()).refreshToken } : {};
1618
1618
  const refreshFn = async () => {
1619
1619
  return this.post(this.config.endpoints.refresh, body, false);
1620
1620
  };