@signalwire/realtime-api
Advanced tools
Comparing version 4.0.1-dev.202405091746.b811a98.0 to 4.0.1-dev.202405171235.229320b.0
@@ -53,3 +53,2 @@ import type { Task } from '@redux-saga/types'; | ||
sessionEmitter: EventEmitter<import("./utils/interfaces").ClientEvents, any>; | ||
unifiedEventing: boolean | undefined; | ||
dispatch: import("redux").Dispatch<import("redux").AnyAction>; | ||
@@ -72,4 +71,2 @@ getState(): any; | ||
/** @internal */ | ||
get unifiedEventing(): boolean | undefined; | ||
/** @internal */ | ||
get emitter(): EventEmitter<EventTypes, any>; | ||
@@ -76,0 +73,0 @@ /** @internal */ |
@@ -21,3 +21,2 @@ import { SWCloseEvent } from './utils'; | ||
reauthenticate?(): Promise<void>; | ||
unifiedEventing: boolean; | ||
protected _rpcConnectResult: RPCConnectResult; | ||
@@ -24,0 +23,0 @@ private _requests; |
@@ -29,3 +29,2 @@ import { Saga, Task } from '@redux-saga/core'; | ||
sessionEmitter: import("eventemitter3").EventEmitter<import("../utils/interfaces").ClientEvents, any>; | ||
unifiedEventing: boolean | undefined; | ||
dispatch: import("redux").Dispatch<import("redux").AnyAction>; | ||
@@ -32,0 +31,0 @@ getState(): any; |
@@ -41,11 +41,3 @@ declare type WithToken = { | ||
}; | ||
export declare const RPCConnectUnified: (params: RPCConnectParams) => { | ||
id: string; | ||
method: import("..").JSONRPCMethod; | ||
params: { | ||
[key: string]: any; | ||
}; | ||
jsonrpc: "2.0"; | ||
}; | ||
export {}; | ||
//# sourceMappingURL=RPCConnect.d.ts.map |
@@ -28,3 +28,2 @@ /// <reference types="jest" /> | ||
sessionEmitter: EventEmitter<import(".").ClientEvents, any>; | ||
unifiedEventing: boolean | undefined; | ||
dispatch: import("redux").Dispatch<import("redux").AnyAction>; | ||
@@ -59,3 +58,2 @@ getState(): any; | ||
sessionEmitter: EventEmitter<import(".").ClientEvents, any>; | ||
unifiedEventing: boolean | undefined; | ||
dispatch: import("redux").Dispatch<import("redux").AnyAction>; | ||
@@ -62,0 +60,0 @@ getState(): any; |
@@ -16,3 +16,3 @@ /// <reference types="node" /> | ||
export declare type SubscriberMethod = 'subscriber.online' | 'subscriber.offline'; | ||
export declare type JSONRPCMethod = 'signalwire.connect' | 'signalwire.ping' | 'signalwire.disconnect' | 'signalwire.event' | 'signalwire.reauthenticate' | 'signalwire.subscribe' | 'signalwire.unsubscribe' | SubscriberMethod | WebRTCMethod | RoomMethod | UnifiedRoomMethod | VertoMethod | ChatJSONRPCMethod | MessagingJSONRPCMethod | VoiceJSONRPCMethod | ClientContextMethod; | ||
export declare type JSONRPCMethod = 'signalwire.connect' | 'signalwire.ping' | 'signalwire.disconnect' | 'signalwire.event' | 'signalwire.reauthenticate' | 'signalwire.subscribe' | 'signalwire.unsubscribe' | SubscriberMethod | WebRTCMethod | RoomMethod | CallFabricMethod | VertoMethod | ChatJSONRPCMethod | MessagingJSONRPCMethod | VoiceJSONRPCMethod | ClientContextMethod; | ||
export declare type JSONRPCSubscribeMethod = Extract<JSONRPCMethod, 'signalwire.subscribe' | 'chat.subscribe'>; | ||
@@ -52,7 +52,2 @@ export declare type JSONRPCUnSubscribeMethod = Extract<JSONRPCMethod, 'signalwire.unsubscribe'>; | ||
sessionChannel?: SessionChannel; | ||
/** | ||
* @internal | ||
* Unified eventing is required only with Call Fabric SDK | ||
* */ | ||
unifiedEventing?: boolean; | ||
instanceMap?: InstanceMap; | ||
@@ -185,5 +180,5 @@ } | ||
/** | ||
* List of all Unified Room methods | ||
* List of all Call Fabric methods | ||
*/ | ||
export declare type UnifiedRoomMethod = 'call.mute' | 'call.unmute' | 'call.deaf' | 'call.undeaf' | 'call.layout.list' | 'call.member.list' | 'call.member.remove' | 'call.layout.set' | 'call.microphone.volume.set' | 'call.microphone.sensitivity.set'; | ||
export declare type CallFabricMethod = 'call.mute' | 'call.unmute' | 'call.deaf' | 'call.undeaf' | 'call.layout.list' | 'call.member.list' | 'call.member.remove' | 'call.layout.set' | 'call.microphone.volume.set' | 'call.microphone.sensitivity.set'; | ||
export interface WebSocketClient { | ||
@@ -190,0 +185,0 @@ addEventListener: WebSocket['addEventListener']; |
@@ -24,3 +24,2 @@ /// <reference types="jest" /> | ||
sessionEmitter: EventEmitter<import("@signalwire/core").ClientEvents, any>; | ||
unifiedEventing: boolean | undefined; | ||
dispatch: import("redux").Dispatch<import("redux").AnyAction>; | ||
@@ -55,3 +54,2 @@ getState(): any; | ||
sessionEmitter: EventEmitter<import("@signalwire/core").ClientEvents, any>; | ||
unifiedEventing: boolean | undefined; | ||
dispatch: import("redux").Dispatch<import("redux").AnyAction>; | ||
@@ -58,0 +56,0 @@ getState(): any; |
@@ -22,3 +22,2 @@ import { UserOptions } from '@signalwire/core'; | ||
sessionEmitter: import("eventemitter3").EventEmitter<import("@signalwire/core").ClientEvents, any>; | ||
unifiedEventing: boolean | undefined; | ||
dispatch: import("redux").Dispatch<import("redux").AnyAction>; | ||
@@ -25,0 +24,0 @@ getState(): any; |
@@ -6,3 +6,3 @@ { | ||
"license": "MIT", | ||
"version": "4.0.1-dev.202405091746.b811a98.0", | ||
"version": "4.0.1-dev.202405171235.229320b.0", | ||
"main": "dist/index.node.js", | ||
@@ -42,3 +42,3 @@ "exports": { | ||
"dependencies": { | ||
"@signalwire/core": "4.1.0-dev.202405091746.b811a98.0", | ||
"@signalwire/core": "4.1.0-dev.202405171235.229320b.0", | ||
"ws": "^8.13.0" | ||
@@ -45,0 +45,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2332743
36715
+ Added@signalwire/core@4.1.0-dev.202405171235.229320b.0(transitive)
- Removed@signalwire/core@4.1.0-dev.202405091746.b811a98.0(transitive)