@electric-sql/client 1.2.0 → 1.2.1

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.
@@ -1693,10 +1693,13 @@ requestShapeSSE_fn = function(opts) {
1693
1693
  const { fetchUrl, requestAbortController, headers } = opts;
1694
1694
  const fetch2 = __privateGet(this, _sseFetchClient);
1695
1695
  __privateSet(this, _lastSseConnectionStartTime, Date.now());
1696
+ const sseHeaders = __spreadProps(__spreadValues({}, headers), {
1697
+ Accept: `text/event-stream`
1698
+ });
1696
1699
  try {
1697
1700
  let buffer = [];
1698
1701
  yield (0, import_fetch_event_source.fetchEventSource)(fetchUrl.toString(), {
1699
- headers,
1702
+ headers: sseHeaders,
1700
1703
  fetch: fetch2,
1701
1704
  onopen: (response) => __async(this, null, function* () {
1702
1705
  __privateSet(this, _connected, true);