@liveblocks/core 1.2.0-internal2 → 1.2.0-internal4

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.ts CHANGED
@@ -1665,6 +1665,16 @@ declare type BroadcastedEventServerMsg<TRoomEvent extends Json> = {
1665
1665
  */
1666
1666
  declare type RoomStateServerMsg<TUserMeta extends BaseUserMeta> = {
1667
1667
  readonly type: ServerMsgCode.ROOM_STATE;
1668
+ /**
1669
+ * Informs the client what their actor ID is going to be.
1670
+ * @since v1.2 (WS API v7)
1671
+ */
1672
+ readonly actor: number;
1673
+ /**
1674
+ * Informs the client what permissions the current User (self) has.
1675
+ * @since v1.2 (WS API v7)
1676
+ */
1677
+ readonly scopes: string[];
1668
1678
  readonly users: {
1669
1679
  readonly [actor: number]: TUserMeta & {
1670
1680
  scopes: string[];
package/dist/index.js CHANGED
@@ -145,7 +145,7 @@ var onMessageFromPanel = eventSource.observable;
145
145
  // src/devtools/index.ts
146
146
  var VERSION = true ? (
147
147
  /* istanbul ignore next */
148
- "1.2.0-internal2"
148
+ "1.2.0-internal4"
149
149
  ) : "dev";
150
150
  var _devtoolsSetupHasRun = false;
151
151
  function setupDevTools(getAllRooms) {
@@ -5305,7 +5305,7 @@ function makeCreateSocketDelegateForRoom(liveblocksServer, WebSocketPolyfill) {
5305
5305
  // @ts-ignore (__PACKAGE_VERSION__ will be injected by the build script)
5306
5306
  true ? (
5307
5307
  /* istanbul ignore next */
5308
- "1.2.0-internal2"
5308
+ "1.2.0-internal4"
5309
5309
  ) : "dev"}`
5310
5310
  );
5311
5311
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liveblocks/core",
3
- "version": "1.2.0-internal2",
3
+ "version": "1.2.0-internal4",
4
4
  "description": "Shared code and foundational internals for Liveblocks",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",