@liveblocks/core 0.19.10 → 0.19.11-beta0
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.js +14 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -113,7 +113,7 @@ if (process.env.NODE_ENV !== "production" && typeof window !== "undefined") {
|
|
|
113
113
|
var onMessageFromPanel = eventSource.observable;
|
|
114
114
|
|
|
115
115
|
// src/devtools/index.ts
|
|
116
|
-
var VERSION = true ? "0.19.
|
|
116
|
+
var VERSION = true ? "0.19.11-beta0" : "dev";
|
|
117
117
|
var _devtoolsSetupHasRun = false;
|
|
118
118
|
function setupDevTools(getAllRooms) {
|
|
119
119
|
if (process.env.NODE_ENV === "production" || typeof window === "undefined") {
|
|
@@ -3574,6 +3574,18 @@ function makeStateMachine(state, config, mockedEffects) {
|
|
|
3574
3574
|
});
|
|
3575
3575
|
break;
|
|
3576
3576
|
}
|
|
3577
|
+
case 299 /* REJECT_STORAGE_OP */: {
|
|
3578
|
+
errorWithTitle(
|
|
3579
|
+
"Storage mutation rejection error",
|
|
3580
|
+
message.reason
|
|
3581
|
+
);
|
|
3582
|
+
if (process.env.NODE_ENV !== "production") {
|
|
3583
|
+
throw new Error(
|
|
3584
|
+
`Storage mutations rejected by server: ${message.reason}`
|
|
3585
|
+
);
|
|
3586
|
+
}
|
|
3587
|
+
break;
|
|
3588
|
+
}
|
|
3577
3589
|
}
|
|
3578
3590
|
}
|
|
3579
3591
|
notify(updates, doNotBatchUpdates);
|
|
@@ -4118,7 +4130,7 @@ function prepareCreateWebSocket(liveblocksServer, WebSocketPolyfill) {
|
|
|
4118
4130
|
const ws = WebSocketPolyfill || WebSocket;
|
|
4119
4131
|
return (token) => {
|
|
4120
4132
|
return new ws(
|
|
4121
|
-
`${liveblocksServer}/?token=${token}&version=${true ? "0.19.
|
|
4133
|
+
`${liveblocksServer}/?token=${token}&version=${true ? "0.19.11-beta0" : "dev"}`
|
|
4122
4134
|
);
|
|
4123
4135
|
};
|
|
4124
4136
|
}
|