@emeryld/rrroutes-client 2.4.2 → 2.4.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.
package/dist/index.cjs CHANGED
@@ -299,7 +299,7 @@ function buildGetLeaf(leaf, rqOpts, env) {
299
299
  throw new Error("Body is required when invoking a mutation fetch.");
300
300
  }
301
301
  const startedAt = Date.now();
302
- const detail = isVerboseDebug ? { params: normalizedParams, query: normalizedQuery } : void 0;
302
+ const detail = isVerboseDebug ? { params, normalizedParams, query, normalizedQuery, baseUrl } : void 0;
303
303
  emit(
304
304
  decorateDebugEvent(
305
305
  {
@@ -559,7 +559,7 @@ function buildInfiniteGetLeaf(leaf, rqOpts, env) {
559
559
  throw new Error("Body is required when invoking a mutation fetch.");
560
560
  }
561
561
  const startedAt = Date.now();
562
- const detail = isVerboseDebug ? { params: normalizedParams, query: normalizedQuery } : void 0;
562
+ const detail = isVerboseDebug ? { params, normalizedParams, query, normalizedQuery, baseUrl } : void 0;
563
563
  emit(
564
564
  decorateDebugEvent(
565
565
  {
@@ -854,7 +854,7 @@ function buildMutationLeaf(leaf, rqOpts, env) {
854
854
  throw new Error("Body is required when invoking a mutation fetch.");
855
855
  }
856
856
  const startedAt = Date.now();
857
- const detail = isVerboseDebug ? { params: normalizedParams, query: normalizedQuery } : void 0;
857
+ const detail = isVerboseDebug ? { params, normalizedParams, query, normalizedQuery, baseUrl } : void 0;
858
858
  emit(
859
859
  decorateDebugEvent(
860
860
  {
@@ -1134,7 +1134,7 @@ function createRouteClient(opts) {
1134
1134
  const url = `${baseUrl ?? ""}${compiledPath}${search}`;
1135
1135
  const leafLabel = `${methodUpper} ${path}`;
1136
1136
  const startedAt = Date.now();
1137
- const detail = isVerboseDebug ? { params, query: flatQuery } : void 0;
1137
+ const detail = isVerboseDebug ? { params, flatQuery, query, baseUrl } : void 0;
1138
1138
  emitDebug(
1139
1139
  decorateDebugEvent(
1140
1140
  {