@hocuspocus/provider
Advanced tools
@@ -541,3 +541,3 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); | ||
| //#region packages/provider/src/version.ts | ||
| const version = "4.4.0"; | ||
| const version = "4.5.0"; | ||
@@ -808,2 +808,3 @@ //#endregion | ||
| awarenessUpdateHandler({ added, updated, removed }, origin) { | ||
| if (origin === this) return; | ||
| const changedClients = added.concat(updated).concat(removed); | ||
@@ -810,0 +811,0 @@ if (!this.batchingEnabled) { |
@@ -511,3 +511,3 @@ import { WsReadyStates, awarenessStatesToArray, makeRoutingKey, parseRoutingKey, readAuthMessage, writeAuthentication } from "@hocuspocus/common"; | ||
| //#region packages/provider/src/version.ts | ||
| const version = "4.4.0"; | ||
| const version = "4.5.0"; | ||
@@ -778,2 +778,3 @@ //#endregion | ||
| awarenessUpdateHandler({ added, updated, removed }, origin) { | ||
| if (origin === this) return; | ||
| const changedClients = added.concat(updated).concat(removed); | ||
@@ -780,0 +781,0 @@ if (!this.batchingEnabled) { |
+2
-0
@@ -39,2 +39,3 @@ import { Awareness } from "y-protocols/awareness"; | ||
| type?: MessageType; | ||
| description?: string; | ||
| constructor(); | ||
@@ -108,2 +109,3 @@ get(args: Partial<OutgoingMessageArguments>): Encoder | undefined; | ||
| type?: MessageType; | ||
| description?: string; | ||
| } | ||
@@ -110,0 +112,0 @@ interface OutgoingMessageArguments { |
+5
-5
| { | ||
| "name": "@hocuspocus/provider", | ||
| "version": "4.4.0", | ||
| "version": "4.5.0", | ||
| "description": "hocuspocus provider", | ||
@@ -32,5 +32,5 @@ "homepage": "https://hocuspocus.dev", | ||
| "dependencies": { | ||
| "@hocuspocus/common": "^4.4.0", | ||
| "@lifeomic/attempt": "^3.0.2", | ||
| "lib0": "^0.2.87" | ||
| "@hocuspocus/common": "^4.5.0", | ||
| "@lifeomic/attempt": "^3.1.0", | ||
| "lib0": "^0.2.117" | ||
| }, | ||
@@ -41,3 +41,3 @@ "peerDependencies": { | ||
| }, | ||
| "gitHead": "3634ee9ad71f7c9800a500f2556e42b1d14cf203", | ||
| "gitHead": "7827bded7c9181513a3b7c94acbaee0e4059d066", | ||
| "repository": { | ||
@@ -44,0 +44,0 @@ "url": "https://github.com/ueberdosis/hocuspocus" |
@@ -420,2 +420,6 @@ import { | ||
| awarenessUpdateHandler({ added, updated, removed }: any, origin: any) { | ||
| if (origin === this) { | ||
| return; | ||
| } | ||
| const changedClients = added.concat(updated).concat(removed); | ||
@@ -422,0 +426,0 @@ |
@@ -14,2 +14,4 @@ import type { Encoder } from "lib0/encoding"; | ||
| description?: string; | ||
| constructor() { | ||
@@ -16,0 +18,0 @@ this.encoder = createEncoder(); |
+1
-0
@@ -37,2 +37,3 @@ import type { Encoder } from "lib0/encoding"; | ||
| type?: MessageType; | ||
| description?: string; | ||
| } | ||
@@ -39,0 +40,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
294884
0.15%4022
0.22%Updated
Updated
Updated