@cal.macconnachie/web-components 1.2.2 → 1.2.3

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/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -9056,7 +9056,7 @@ const Ls = ({ baseUrl: e }) => {
9056
9056
  ), Promise.reject(new wr("No refresh token available"));
9057
9057
  window.__authRefreshPromise || (window.__authRefreshPromise = (async () => {
9058
9058
  try {
9059
- const a = `${e.endsWith("/") ? e.slice(0, -1) : e}/api/auth/refresh`, n = await fetch(a, {
9059
+ const a = `${e.endsWith("/") ? e.slice(0, -1) : e}/api/auth/refresh`.replace(/\/api\/api\//, "/api/"), n = await fetch(a, {
9060
9060
  method: "POST",
9061
9061
  headers: {
9062
9062
  "Content-Type": "application/json"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cal.macconnachie/web-components",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "Web components hosted on a CDN",
5
5
  "keywords": [
6
6
  "web-components",