Skip to content

Commit 3eb9f69

Browse files
committed
correct import
1 parent e33b29e commit 3eb9f69

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

src/frontend/apps/impress/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
"@types/node": "*",
5757
"@types/react": "18.3.12",
5858
"@types/react-dom": "*",
59+
"@types/ws": "8.5.13",
5960
"cross-env": "7.0.3",
6061
"dotenv": "16.4.7",
6162
"eslint-config-impress": "*",

src/frontend/apps/impress/src/features/docs/doc-management/libs/CollaborationProvider.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ export class CollaborationProvider extends HocuspocusProvider {
4646

4747
public constructor(configuration: CollaborationProviderConfiguration) {
4848
const withWS = isFirefox();
49+
//const withWS = true;
4950

5051
let url = '';
5152
if (isHocuspocusProviderConfigurationUrl(configuration)) {

src/frontend/servers/y-provider/src/libs/PollSync.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
} from '@hocuspocus/server';
1212
import { Request, Response } from 'express';
1313
import { v4 as uuid } from 'uuid';
14-
import { readSyncMessage, readUpdate } from 'y-protocols/sync.js';
14+
import { readSyncMessage } from 'y-protocols/sync';
1515
import * as Y from 'yjs';
1616

1717
import { base64ToYDoc, logger, toBase64 } from '@/utils';

0 commit comments

Comments
 (0)