@liveblocks/core 3.14.0-pre3 → 3.14.0-pre4

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.cts CHANGED
@@ -716,6 +716,7 @@ type ObjectStorageNode = [id: string, value: SerializedObject];
716
716
  type ListStorageNode = [id: string, value: SerializedList];
717
717
  type MapStorageNode = [id: string, value: SerializedMap];
718
718
  type RegisterStorageNode = [id: string, value: SerializedRegister];
719
+ type NodeMap = Map<string, SerializedCrdt>;
719
720
  type NodeStream = Iterable<StorageNode>;
720
721
  declare function isRootStorageNode(node: StorageNode): node is RootStorageNode;
721
722
  declare function isObjectStorageNode(node: StorageNode): node is RootStorageNode | ObjectStorageNode;
@@ -4614,11 +4615,6 @@ declare function convertToSubscriptionData(data: SubscriptionDataPlain): Subscri
4614
4615
  declare function convertToUserSubscriptionData(data: UserSubscriptionDataPlain): UserSubscriptionData;
4615
4616
  declare function convertToGroupData(data: GroupDataPlain): GroupData;
4616
4617
 
4617
- /**
4618
- * Lookup table for nodes (= SerializedCrdt values) by their IDs.
4619
- */
4620
- type NodeMap = Map<string, // Node ID
4621
- SerializedCrdt>;
4622
4618
  /**
4623
4619
  * Reverse lookup table for all child nodes (= list of SerializedCrdt values)
4624
4620
  * by their parent node's IDs.
package/dist/index.d.ts CHANGED
@@ -716,6 +716,7 @@ type ObjectStorageNode = [id: string, value: SerializedObject];
716
716
  type ListStorageNode = [id: string, value: SerializedList];
717
717
  type MapStorageNode = [id: string, value: SerializedMap];
718
718
  type RegisterStorageNode = [id: string, value: SerializedRegister];
719
+ type NodeMap = Map<string, SerializedCrdt>;
719
720
  type NodeStream = Iterable<StorageNode>;
720
721
  declare function isRootStorageNode(node: StorageNode): node is RootStorageNode;
721
722
  declare function isObjectStorageNode(node: StorageNode): node is RootStorageNode | ObjectStorageNode;
@@ -4614,11 +4615,6 @@ declare function convertToSubscriptionData(data: SubscriptionDataPlain): Subscri
4614
4615
  declare function convertToUserSubscriptionData(data: UserSubscriptionDataPlain): UserSubscriptionData;
4615
4616
  declare function convertToGroupData(data: GroupDataPlain): GroupData;
4616
4617
 
4617
- /**
4618
- * Lookup table for nodes (= SerializedCrdt values) by their IDs.
4619
- */
4620
- type NodeMap = Map<string, // Node ID
4621
- SerializedCrdt>;
4622
4618
  /**
4623
4619
  * Reverse lookup table for all child nodes (= list of SerializedCrdt values)
4624
4620
  * by their parent node's IDs.
package/dist/index.js 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 = "3.14.0-pre3";
9
+ var PKG_VERSION = "3.14.0-pre4";
10
10
  var PKG_FORMAT = "esm";
11
11
 
12
12
  // src/dupe-detection.ts