@emeryld/rrroutes-client 2.4.11 → 2.5.2

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
@@ -1123,7 +1123,7 @@ function createRouteClient(opts) {
1123
1123
  );
1124
1124
  try {
1125
1125
  const out = await fetcher(
1126
- body === void 0 ? { url, method: methodUpper } : { url, method: methodUpper, body }
1126
+ body === void 0 ? { url, method: methodUpper, headers: input.headers } : { url, method: methodUpper, body, headers: input.headers }
1127
1127
  );
1128
1128
  emitDebug(
1129
1129
  decorateDebugEvent(