@hocuspocus/common
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -684,2 +684,11 @@ /** | ||
/** | ||
* The server is terminating the connection because a data frame was received | ||
* that is too large. | ||
* See: https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/code | ||
*/ | ||
const MessageTooBig = { | ||
code: 1009, | ||
reason: 'Message Too Big', | ||
}; | ||
/** | ||
* The server successfully processed the request, asks that the requester reset | ||
@@ -737,3 +746,3 @@ * its document view, and is not returning any content. | ||
export { ConnectionTimeout, Forbidden, ResetConnection, Unauthorized, WsReadyStates, awarenessStatesToArray, readAuthMessage, writeAuthenticated, writeAuthentication, writePermissionDenied }; | ||
export { ConnectionTimeout, Forbidden, MessageTooBig, ResetConnection, Unauthorized, WsReadyStates, awarenessStatesToArray, readAuthMessage, writeAuthenticated, writeAuthentication, writePermissionDenied }; | ||
//# sourceMappingURL=hocuspocus-common.esm.js.map |
@@ -6,2 +6,8 @@ export interface CloseEvent { | ||
/** | ||
* The server is terminating the connection because a data frame was received | ||
* that is too large. | ||
* See: https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/code | ||
*/ | ||
export declare const MessageTooBig: CloseEvent; | ||
/** | ||
* The server successfully processed the request, asks that the requester reset | ||
@@ -8,0 +14,0 @@ * its document view, and is not returning any content. |
export * from './HocuspocusProvider'; | ||
export * from './TiptapCollabProvider'; | ||
export * from './TiptapCollabProviderWebsocket'; | ||
export * from './HocuspocusProviderWebsocket'; | ||
export * from './types'; |
{ | ||
"name": "@hocuspocus/common", | ||
"description": "shared code for multiple Hocuspocus packages", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"homepage": "https://hocuspocus.dev", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
@@ -7,2 +7,12 @@ export interface CloseEvent { | ||
/** | ||
* The server is terminating the connection because a data frame was received | ||
* that is too large. | ||
* See: https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/code | ||
*/ | ||
export const MessageTooBig: CloseEvent = { | ||
code: 1009, | ||
reason: 'Message Too Big', | ||
} | ||
/** | ||
* The server successfully processed the request, asks that the requester reset | ||
@@ -9,0 +19,0 @@ * its document view, and is not returning any content. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
265806
3034