@hocuspocus/common
Advanced tools
Comparing version 2.11.3 to 2.12.0-rc.0
@@ -113,3 +113,3 @@ /// <reference types="node" /> | ||
* Make sure to *not* listen for further changes, when there’s | ||
* noone connected anymore. | ||
* no one connected anymore. | ||
*/ | ||
@@ -116,0 +116,0 @@ onDisconnect: ({ documentName }: onDisconnectPayload) => Promise<void>; |
@@ -1,3 +0,2 @@ | ||
import type { MessageEvent } from 'ws'; | ||
import { Event } from 'ws'; | ||
import { type MessageEvent, Event } from 'ws'; | ||
import EventEmitter from './EventEmitter.js'; | ||
@@ -38,3 +37,3 @@ import { HocuspocusProvider } from './HocuspocusProvider.js'; | ||
/** | ||
* The intialDelay is the amount of time to wait before making the first attempt. This option should typically be 0 since you typically want the first attempt to happen immediately. | ||
* The initialDelay is the amount of time to wait before making the first attempt. This option should typically be 0 since you typically want the first attempt to happen immediately. | ||
*/ | ||
@@ -41,0 +40,0 @@ initialDelay: number; |
@@ -116,3 +116,3 @@ import { Encoder } from 'lib0/encoding'; | ||
/** | ||
* if changes havent been persisted to a version yet, we'll create one with the specified name, | ||
* if changes haven't been persisted to a version yet, we'll create one with the specified name, | ||
* expect when `false` is passed. | ||
@@ -119,0 +119,0 @@ */ |
@@ -11,4 +11,4 @@ import Connection from './Connection.js'; | ||
apply(document: Document, connection?: Connection, reply?: (message: Uint8Array) => void): void; | ||
readSyncMessage(message: IncomingMessage, document: Document, connection?: Connection, reply?: (message: Uint8Array) => void, requestFirstSync?: boolean): 0 | 1 | 2; | ||
readSyncMessage(message: IncomingMessage, document: Document, connection?: Connection, reply?: (message: Uint8Array) => void, requestFirstSync?: boolean): 0 | 2 | 1; | ||
applyQueryAwarenessMessage(document: Document, reply?: (message: Uint8Array) => void): void; | ||
} |
@@ -83,3 +83,3 @@ /// <reference types="node" /> | ||
/** | ||
* A list of hocuspocus extenions. | ||
* A list of hocuspocus extensions. | ||
*/ | ||
@@ -86,0 +86,0 @@ extensions: Array<Extension>; |
{ | ||
"name": "@hocuspocus/common", | ||
"description": "shared code for multiple Hocuspocus packages", | ||
"version": "2.11.3", | ||
"version": "2.12.0-rc.0", | ||
"homepage": "https://hocuspocus.dev", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
@@ -10,3 +10,3 @@ # @hocuspocus/common | ||
## Offical Documentation | ||
## Official Documentation | ||
Documentation can be found in the [GitHub repository](https://github.com/ueberdosis/hocuspocus). | ||
@@ -13,0 +13,0 @@ |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
236060
2907
1