Skip to content

Commit d326d55

Browse files
Support Node in database@exp (#4814)
* Support Node in database@exp * Lint
1 parent b86be0e commit d326d55

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/database/exp/index.node.ts

+6
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,14 @@
1515
* limitations under the License.
1616
*/
1717

18+
import { Client } from 'faye-websocket';
19+
20+
import { setWebSocketImpl } from '../src/realtime/WebSocketConnection';
21+
1822
import { registerDatabase } from './register';
1923

24+
setWebSocketImpl(Client);
25+
2026
export * from './api';
2127

2228
registerDatabase('node');

0 commit comments

Comments
 (0)