Sign In

@hocuspocus/provider

Package Overview
Dependencies
Maintainers
6
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hocuspocus/provider - npm Package Compare versions

Comparing version
4.4.0
to
4.5.0
+2
-1
dist/hocuspocus-provider.cjs

@@ -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) {

@@ -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 {

{
"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();

@@ -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