fix client stream import

This commit is contained in:
Leonardo Venturini
2024-08-13 11:15:45 -04:00
parent 260870ab5d
commit 5fa650db4e

View File

@@ -77,7 +77,8 @@ export class Connection {
if (typeof url === 'object') {
self._stream = url;
} else {
const { ClientStream } = require("meteor/socket-stream-client");
import { ClientStream } from "meteor/socket-stream-client";
self._stream = new ClientStream(url, {
retry: options.retry,
ConnectionError: DDP.ConnectionError,