@liveblocks/core 2.7.0 → 2.7.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.
- package/dist/index.d.mts +10 -2
- package/dist/index.d.ts +10 -2
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -6,7 +6,7 @@ var __export = (target, all) => {
|
|
|
6
6
|
|
|
7
7
|
// src/version.ts
|
|
8
8
|
var PKG_NAME = "@liveblocks/core";
|
|
9
|
-
var PKG_VERSION = "2.7.
|
|
9
|
+
var PKG_VERSION = "2.7.1";
|
|
10
10
|
var PKG_FORMAT = "esm";
|
|
11
11
|
|
|
12
12
|
// src/dupe-detection.ts
|
|
@@ -1952,7 +1952,6 @@ function createStore(initialState) {
|
|
|
1952
1952
|
}
|
|
1953
1953
|
function subscribe(callback) {
|
|
1954
1954
|
subscribers.add(callback);
|
|
1955
|
-
callback(state);
|
|
1956
1955
|
return () => {
|
|
1957
1956
|
subscribers.delete(callback);
|
|
1958
1957
|
};
|
|
@@ -7977,7 +7976,7 @@ function shallowArray(xs, ys) {
|
|
|
7977
7976
|
return true;
|
|
7978
7977
|
}
|
|
7979
7978
|
function shallowObj(objA, objB) {
|
|
7980
|
-
if (
|
|
7979
|
+
if (!isPlainObject(objA) || !isPlainObject(objB)) {
|
|
7981
7980
|
return false;
|
|
7982
7981
|
}
|
|
7983
7982
|
const keysA = Object.keys(objA);
|
|
@@ -8022,6 +8021,7 @@ export {
|
|
|
8022
8021
|
assertNever,
|
|
8023
8022
|
b64decode,
|
|
8024
8023
|
cloneLson,
|
|
8024
|
+
compactObject,
|
|
8025
8025
|
fancy_console_exports as console,
|
|
8026
8026
|
convertToCommentData,
|
|
8027
8027
|
convertToCommentUserReaction,
|