@sanity/client 6.17.3-canary.3 → 6.17.3-canary.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.browser.cjs +1 -1
- package/dist/index.browser.cjs.map +1 -1
- package/dist/index.browser.js +1 -1
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/data/live.ts +2 -2
- package/umd/sanityClient.js +1 -1
- package/umd/sanityClient.min.js +1 -1
package/dist/index.browser.cjs
CHANGED
|
@@ -984,7 +984,7 @@ _client$3 = /* @__PURE__ */ new WeakMap();
|
|
|
984
984
|
function parseEvent(event) {
|
|
985
985
|
try {
|
|
986
986
|
const data = event.data && JSON.parse(event.data) || {};
|
|
987
|
-
return { type: event.type, ...data };
|
|
987
|
+
return { type: event.type, id: event.lastEventId, ...data };
|
|
988
988
|
} catch (err) {
|
|
989
989
|
return err;
|
|
990
990
|
}
|