@seedgrid/fe-core 2026.4.24 → 2026.4.25

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.
@@ -219,7 +219,9 @@ function mergeHeaders(target, source) {
219
219
  });
220
220
  }
221
221
  function buildUrl(baseUrl, path, query) {
222
- const url = new URL(path, baseUrl);
222
+ const base = baseUrl.endsWith("/") ? baseUrl : `${baseUrl}/`;
223
+ const normalizedPath = path.startsWith("/") ? path.slice(1) : path;
224
+ const url = new URL(normalizedPath, base);
223
225
  for (const [key, value] of Object.entries(query ?? {})) {
224
226
  if (value == null) {
225
227
  continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seedgrid/fe-core",
3
- "version": "2026.4.24",
3
+ "version": "2026.4.25",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",