@liveblocks/core 2.4.1-test3 → 2.5.0

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 CHANGED
@@ -2121,8 +2121,9 @@ declare type Room<P extends JsonObject = DP, S extends LsonObject = DS, U extend
2121
2121
  } & CommentsApi<M>;
2122
2122
  declare type Provider = {
2123
2123
  synced: boolean;
2124
- on(event: "sync", listener: (synced: boolean) => void): void;
2125
- off(event: "sync", listener: (synced: boolean) => void): void;
2124
+ getStatus: () => "loading" | "synchronizing" | "synchronized";
2125
+ on(event: "sync" | "status", listener: (synced: boolean) => void): void;
2126
+ off(event: "sync" | "status", listener: (synced: boolean) => void): void;
2126
2127
  };
2127
2128
  /**
2128
2129
  * @private
package/dist/index.d.ts CHANGED
@@ -2121,8 +2121,9 @@ declare type Room<P extends JsonObject = DP, S extends LsonObject = DS, U extend
2121
2121
  } & CommentsApi<M>;
2122
2122
  declare type Provider = {
2123
2123
  synced: boolean;
2124
- on(event: "sync", listener: (synced: boolean) => void): void;
2125
- off(event: "sync", listener: (synced: boolean) => void): void;
2124
+ getStatus: () => "loading" | "synchronizing" | "synchronized";
2125
+ on(event: "sync" | "status", listener: (synced: boolean) => void): void;
2126
+ off(event: "sync" | "status", listener: (synced: boolean) => void): void;
2126
2127
  };
2127
2128
  /**
2128
2129
  * @private
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 = "2.4.1-test3";
9
+ var PKG_VERSION = "2.5.0";
10
10
  var PKG_FORMAT = "cjs";
11
11
 
12
12
  // src/dupe-detection.ts