Skip to content

Commit 9f4e6c1

Browse files
Copilotstreamich
andcommitted
Add MessagePack aliases and fix missing MsgPackDecoder export
Co-authored-by: streamich <[email protected]>
1 parent 1dd5136 commit 9f4e6c1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/msgpack/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,12 @@ export * from './types';
3232
export {MsgPackEncoderFast} from './MsgPackEncoderFast';
3333
export {MsgPackEncoder} from './MsgPackEncoder';
3434
export {MsgPackEncoderStable} from './MsgPackEncoderStable';
35+
export {MsgPackDecoder} from './MsgPackDecoder';
3536
export {MsgPackDecoderFast} from './MsgPackDecoderFast';
3637
export {MsgPackToJsonConverter} from './MsgPackToJsonConverter';
3738
export {JsonPackValue} from '../JsonPackValue';
3839
export {JsonPackExtension} from '../JsonPackExtension';
40+
41+
// User-friendly aliases
42+
export {MsgPackEncoder as MessagePackEncoder} from './MsgPackEncoder';
43+
export {MsgPackDecoder as MessagePackDecoder} from './MsgPackDecoder';

0 commit comments

Comments
 (0)