@sanity/client 7.12.0 → 7.13.0

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.
@@ -1402,12 +1402,10 @@ function _listen(query, params, opts = {}) {
1402
1402
  ), listenFor).pipe(
1403
1403
  reconnectOnConnectionFailure(),
1404
1404
  operators.filter((event) => listenFor.includes(event.type)),
1405
- operators.map(
1406
- (event) => ({
1407
- type: event.type,
1408
- ..."data" in event ? event.data : {}
1409
- })
1410
- )
1405
+ operators.map((event) => ({
1406
+ type: event.type,
1407
+ ..."data" in event ? event.data : {}
1408
+ }))
1411
1409
  );
1412
1410
  }
1413
1411
  function shareReplayLatest(configOrPredicate, config) {