diff --git a/projects/loafer/ng-rpc/package.json b/projects/loafer/ng-rpc/package.json index e69f5e7..56f46e6 100644 --- a/projects/loafer/ng-rpc/package.json +++ b/projects/loafer/ng-rpc/package.json @@ -1,6 +1,6 @@ { "name": "@loafer/ng-rpc", - "version": "0.0.6", + "version": "0.0.7", "repository": { "type": "git", "url": "https://git.loafle.net/loafer/ng.git" diff --git a/projects/loafer/ng-rpc/src/lib/client/rwc/websocket/RxWebsocketSubject.ts b/projects/loafer/ng-rpc/src/lib/client/rwc/websocket/RxWebsocketSubject.ts index 1301f9c..e84a742 100644 --- a/projects/loafer/ng-rpc/src/lib/client/rwc/websocket/RxWebsocketSubject.ts +++ b/projects/loafer/ng-rpc/src/lib/client/rwc/websocket/RxWebsocketSubject.ts @@ -4,9 +4,8 @@ import { WebSocketSubject, WebSocketSubjectConfig } from 'rxjs/webSocket'; import { RPCMessage } from '../../../core/type'; export interface RxWebsocketSubjectConfig extends WebSocketSubjectConfig { - reconnectInterval?: 5000; - reconnectRetry?: 10; - compressionThreshold?: 1024; + reconnectInterval?: number; + reconnectRetry?: number; } const DEFAULT_RX_WEBSOCKET_CONFIG: RxWebsocketSubjectConfig = { @@ -26,7 +25,6 @@ const DEFAULT_RX_WEBSOCKET_CONFIG: RxWebsocketSubjectConfig = { }, reconnectInterval: 5000, reconnectRetry: 10, - compressionThreshold: 1024, }; export class RxWebsocketSubject extends Subject { diff --git a/projects/loafer/ng-rpc/src/public_api.ts b/projects/loafer/ng-rpc/src/public_api.ts index 19f25f4..bfeddf9 100644 --- a/projects/loafer/ng-rpc/src/public_api.ts +++ b/projects/loafer/ng-rpc/src/public_api.ts @@ -8,6 +8,9 @@ export * from './lib/client/rwc/websocket/RPCClientWebsocketRWC'; export * from './lib/client/rwc/websocket/RxWebsocketSubject'; export * from './lib/core/error'; export * from './lib/core/token'; +export * from './lib/core/type'; +export * from './lib/codec/codec'; +export * from './lib/codec/compression_codec'; export * from './lib/decorator/rpc-subscriber.decorator'; export * from './lib/protocol/RPCClientCodec'; export * from './lib/protocol/RPCError';