@liveblocks/core
Advanced tools
Comparing version 0.19.8 to 0.19.9-beta1
@@ -1295,3 +1295,4 @@ /** | ||
INITIAL_STORAGE_STATE = 200, | ||
UPDATE_STORAGE = 201 | ||
UPDATE_STORAGE = 201, | ||
REJECT_STORAGE_OP = 299 | ||
} | ||
@@ -1301,3 +1302,3 @@ /** | ||
*/ | ||
declare type ServerMsg<TPresence extends JsonObject, TUserMeta extends BaseUserMeta, TRoomEvent extends Json> = UpdatePresenceServerMsg<TPresence> | UserJoinServerMsg<TUserMeta> | UserLeftServerMsg | BroadcastedEventServerMsg<TRoomEvent> | RoomStateServerMsg<TUserMeta> | InitialDocumentStateServerMsg | UpdateStorageServerMsg; | ||
declare type ServerMsg<TPresence extends JsonObject, TUserMeta extends BaseUserMeta, TRoomEvent extends Json> = UpdatePresenceServerMsg<TPresence> | UserJoinServerMsg<TUserMeta> | UserLeftServerMsg | BroadcastedEventServerMsg<TRoomEvent> | RoomStateServerMsg<TUserMeta> | InitialDocumentStateServerMsg | UpdateStorageServerMsg | RejectedStorageOpServerMsg; | ||
/** | ||
@@ -1434,2 +1435,12 @@ * Sent by the WebSocket server and broadcasted to all clients to announce that | ||
}; | ||
/** | ||
* Sent by the WebSocket server to the client to indicate that certain opIds | ||
* have been received but were rejected because they caused mutations that are | ||
* incompatible with the Room's schema. | ||
*/ | ||
declare type RejectedStorageOpServerMsg = { | ||
readonly type: ServerMsgCode.REJECT_STORAGE_OP; | ||
readonly opIds: string[]; | ||
readonly reason: string; | ||
}; | ||
@@ -1436,0 +1447,0 @@ /** |
{ | ||
"name": "@liveblocks/core", | ||
"version": "0.19.8", | ||
"version": "0.19.9-beta1", | ||
"description": "Shared code and foundational internals for Liveblocks", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
200521
6225
2