Skip to content

Commit

Permalink
Merge pull request #129 from Virus288/fix/interfaces
Browse files Browse the repository at this point in the history
Fix: Added additional exports for ws and socketio servers
  • Loading branch information
Virus288 authored Jan 19, 2025
2 parents d573628 + e48e492 commit baa1d93
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "moc-socket",
"version": "0.2.2",
"version": "0.2.3",
"description": "Websocket mocking utility",
"productName": "MocSocket",
"author": "https://github.com/Virus288",
Expand Down
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import MocSocket from './mocSocket.js';
import type SocketIoProvider from './modules/servers/socketIo.js';
import type WsProvider from './modules/servers/ws.js';

export type { IClient, ISimpleClient, ISendMessageConfig, ISendAsyncMessageConfig } from '../types/index.js';

export { ESocketEvents } from './enums/index.js';

export type { WsProvider, SocketIoProvider };
export default MocSocket;

0 comments on commit baa1d93

Please sign in to comment.