@liveblocks/client 0.15.11-test.1 → 0.15.11

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/lib/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * The LiveList class represents an ordered collection of items that is synchorinized across clients.
3
3
  */
4
4
  declare class LiveList<T> extends AbstractCrdt {
5
- #private;
5
+ private _items;
6
6
  constructor(items?: T[]);
7
7
  /**
8
8
  * Returns the number of elements.
@@ -105,7 +105,7 @@ declare class LiveList<T> extends AbstractCrdt {
105
105
  * If multiple clients update the same property simultaneously, the last modification received by the Liveblocks servers is the winner.
106
106
  */
107
107
  declare class LiveMap<TKey extends string, TValue> extends AbstractCrdt {
108
- #private;
108
+ private _map;
109
109
  constructor(entries?: readonly (readonly [TKey, TValue])[] | null | undefined);
110
110
  /**
111
111
  * Returns a specified element from the LiveMap.
@@ -623,7 +623,10 @@ declare type Room = {
623
623
  };
624
624
 
625
625
  declare abstract class AbstractCrdt {
626
- #private;
626
+ private __parent?;
627
+ private __doc?;
628
+ private __id?;
629
+ private __parentKey?;
627
630
  get roomId(): string | null;
628
631
  }
629
632
 
@@ -633,8 +636,11 @@ declare abstract class AbstractCrdt {
633
636
  * If multiple clients update the same property simultaneously, the last modification received by the Liveblocks servers is the winner.
634
637
  */
635
638
  declare class LiveObject<T extends Record<string, any> = Record<string, any>> extends AbstractCrdt {
636
- #private;
639
+ private _map;
640
+ private _propToLastUpdate;
637
641
  constructor(object?: T);
642
+ private _applyUpdate;
643
+ private _applyDeleteObjectKey;
638
644
  /**
639
645
  * Transform the LiveObject into a javascript object
640
646
  */