@burdenoff/microfe-movethewheels 2026.1011.3 → 2026.1011.4
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.
|
@@ -31,7 +31,7 @@ async function p(r, i, a, o = "RETRY_TRANSIENT") {
|
|
|
31
31
|
await d();
|
|
32
32
|
try {
|
|
33
33
|
let t = typeof window < "u" ? await e({
|
|
34
|
-
url:
|
|
34
|
+
url: new URL(l, typeof document < "u" && document.baseURI || window.location.href).toString(),
|
|
35
35
|
authToken: s.authToken ?? "",
|
|
36
36
|
actorId: s.actorId ?? "",
|
|
37
37
|
workspaceId: s.workspaceId ?? "",
|
package/package.json
CHANGED
|
@@ -124,7 +124,11 @@ export async function executeGraphQL<TData>(
|
|
|
124
124
|
const authority =
|
|
125
125
|
typeof window !== 'undefined'
|
|
126
126
|
? await prepareWorkspaceRequest({
|
|
127
|
-
|
|
127
|
+
// Match fetch's document-relative URL resolution without changing its input.
|
|
128
|
+
url: new URL(
|
|
129
|
+
url,
|
|
130
|
+
(typeof document !== 'undefined' && document.baseURI) || window.location.href
|
|
131
|
+
).toString(),
|
|
128
132
|
authToken: request.authToken ?? '',
|
|
129
133
|
actorId: request.actorId ?? '',
|
|
130
134
|
workspaceId: request.workspaceId ?? '',
|