@signalwire/js
Advanced tools
Comparing version 3.23.4-dev.202308301318.6c435be.0 to 3.23.4
@@ -37,2 +37,4 @@ import { type BaseRoomInterface, type RoomSessionRecording, type RoomSessionPlayback, type RoomSessionStream } from '.'; | ||
export declare const showVideoMuted: RoomMethodDescriptor<void, RoomMethodParams>; | ||
export declare const lock: RoomMethodDescriptor<void, RoomMethodParams>; | ||
export declare const unlock: RoomMethodDescriptor<void, RoomMethodParams>; | ||
export declare const setHideVideoMuted: RoomMethodDescriptor<void, boolean>; | ||
@@ -96,2 +98,4 @@ export interface GetRecordingsOutput { | ||
export declare type StartStream = ReturnType<typeof startStream.value>; | ||
export declare type Lock = ReturnType<typeof lock.value>; | ||
export declare type Unlock = ReturnType<typeof unlock.value>; | ||
/** | ||
@@ -98,0 +102,0 @@ * Room Member Methods |
@@ -60,2 +60,4 @@ import type { BaseConnectionContract, SwEvent } from '.'; | ||
layoutName: string; | ||
/** Whether the room is locked */ | ||
locked: boolean; | ||
/** Metadata associated to this room session. */ | ||
@@ -62,0 +64,0 @@ meta?: Record<string, unknown>; |
@@ -243,4 +243,6 @@ import type { SwEvent } from '.'; | ||
endSilenceTimeout?: number; | ||
machineReadyTimeout?: number; | ||
machineVoiceThreshold?: number; | ||
machineWordsThreshold?: number; | ||
detectInterruptions?: boolean; | ||
} | ||
@@ -331,2 +333,4 @@ export interface VoiceCallDetectFaxParams extends VoiceCallDetectBaseParams { | ||
readonly record: CallingCallRecordEventParams['record'] | undefined; | ||
pause(params?: CallingCallRecordPauseMethodParams): Promise<this>; | ||
resume(): Promise<this>; | ||
stop(): Promise<this>; | ||
@@ -668,4 +672,4 @@ ended(): Promise<this>; | ||
*/ | ||
export declare type CallingCallRecordState = 'recording' | 'no_input' | 'finished'; | ||
export declare type CallingCallRecordEndState = Exclude<CallingCallRecordState, 'recording'>; | ||
export declare type CallingCallRecordState = 'recording' | 'paused' | 'no_input' | 'finished'; | ||
export declare type CallingCallRecordEndState = Exclude<CallingCallRecordState, 'recording' | 'paused'>; | ||
export interface CallingCallRecordEventParams { | ||
@@ -685,2 +689,5 @@ node_id: string; | ||
} | ||
export interface CallingCallRecordPauseMethodParams { | ||
behavior?: 'silence' | 'skip'; | ||
} | ||
/** | ||
@@ -825,2 +832,3 @@ * 'calling.call.collect' | ||
params: { | ||
beep: boolean; | ||
event: 'MACHINE' | 'HUMAN' | 'UNKNOWN' | 'READY' | 'NOT_READY' | CallingCallDetectState; | ||
@@ -1103,4 +1111,4 @@ }; | ||
export declare type VoiceCallAction = MapToPubSubShape<VoiceCallEvent>; | ||
export declare type VoiceCallJSONRPCMethod = 'calling.dial' | 'calling.end' | 'calling.pass' | 'calling.answer' | 'calling.play' | 'calling.play.pause' | 'calling.play.resume' | 'calling.play.volume' | 'calling.play.stop' | 'calling.record' | 'calling.record.stop' | 'calling.play_and_collect' | 'calling.play_and_collect.stop' | 'calling.play_and_collect.volume' | 'calling.tap' | 'calling.tap.stop' | 'calling.connect' | 'calling.disconnect' | 'calling.send_digits' | 'calling.detect' | 'calling.detect.stop' | 'calling.collect' | 'calling.collect.stop' | 'calling.collect.start_input_timers'; | ||
export declare type VoiceCallJSONRPCMethod = 'calling.dial' | 'calling.end' | 'calling.pass' | 'calling.answer' | 'calling.play' | 'calling.play.pause' | 'calling.play.resume' | 'calling.play.volume' | 'calling.play.stop' | 'calling.record' | 'calling.record.pause' | 'calling.record.resume' | 'calling.record.stop' | 'calling.play_and_collect' | 'calling.play_and_collect.stop' | 'calling.play_and_collect.volume' | 'calling.tap' | 'calling.tap.stop' | 'calling.connect' | 'calling.disconnect' | 'calling.send_digits' | 'calling.detect' | 'calling.detect.stop' | 'calling.collect' | 'calling.collect.stop' | 'calling.collect.start_input_timers'; | ||
export {}; | ||
//# sourceMappingURL=voiceCall.d.ts.map |
@@ -180,3 +180,3 @@ /// <reference types="node" /> | ||
*/ | ||
export declare type RoomMethod = 'video.room.get' | 'video.rooms.get' | 'video.list_available_layouts' | 'video.hide_video_muted' | 'video.show_video_muted' | 'video.members.get' | 'video.member.audio_mute' | 'video.member.audio_unmute' | 'video.member.video_mute' | 'video.member.video_unmute' | 'video.member.deaf' | 'video.member.undeaf' | 'video.member.set_input_volume' | 'video.member.set_output_volume' | 'video.member.set_input_sensitivity' | 'video.member.set_position' | 'video.member.remove' | 'video.member.get_meta' | 'video.member.set_meta' | 'video.member.update_meta' | 'video.member.delete_meta' | 'video.get_meta' | 'video.set_meta' | 'video.update_meta' | 'video.delete_meta' | 'video.set_layout' | 'video.set_position' | 'video.recording.list' | 'video.recording.start' | 'video.recording.stop' | 'video.recording.pause' | 'video.recording.resume' | 'video.playback.list' | 'video.playback.start' | 'video.playback.pause' | 'video.playback.resume' | 'video.playback.stop' | 'video.playback.set_volume' | 'video.playback.seek_absolute' | 'video.playback.seek_relative' | 'video.member.demote' | 'video.member.promote' | 'video.stream.list' | 'video.stream.start' | 'video.stream.stop'; | ||
export declare type RoomMethod = 'video.room.get' | 'video.rooms.get' | 'video.list_available_layouts' | 'video.hide_video_muted' | 'video.show_video_muted' | 'video.members.get' | 'video.member.audio_mute' | 'video.member.audio_unmute' | 'video.member.video_mute' | 'video.member.video_unmute' | 'video.member.deaf' | 'video.member.undeaf' | 'video.member.set_input_volume' | 'video.member.set_output_volume' | 'video.member.set_input_sensitivity' | 'video.member.set_position' | 'video.member.remove' | 'video.member.get_meta' | 'video.member.set_meta' | 'video.member.update_meta' | 'video.member.delete_meta' | 'video.get_meta' | 'video.set_meta' | 'video.update_meta' | 'video.delete_meta' | 'video.set_layout' | 'video.set_position' | 'video.recording.list' | 'video.recording.start' | 'video.recording.stop' | 'video.recording.pause' | 'video.recording.resume' | 'video.playback.list' | 'video.playback.start' | 'video.playback.pause' | 'video.playback.resume' | 'video.playback.stop' | 'video.playback.set_volume' | 'video.playback.seek_absolute' | 'video.playback.seek_relative' | 'video.member.demote' | 'video.member.promote' | 'video.stream.list' | 'video.stream.start' | 'video.stream.stop' | 'video.lock' | 'video.unlock'; | ||
export interface WebSocketClient { | ||
@@ -183,0 +183,0 @@ addEventListener: WebSocket['addEventListener']; |
@@ -6,3 +6,3 @@ { | ||
"license": "MIT", | ||
"version": "3.23.4-dev.202308301318.6c435be.0", | ||
"version": "3.23.4", | ||
"main": "dist/index.js", | ||
@@ -16,3 +16,3 @@ "module": "dist/index.esm.js", | ||
"engines": { | ||
"node": ">=10" | ||
"node": ">=14" | ||
}, | ||
@@ -44,4 +44,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@signalwire/core": "3.19.0-dev.202308301318.6c435be.0", | ||
"@signalwire/webrtc": "3.10.3-dev.202308301318.6c435be.0", | ||
"@signalwire/core": "3.19.0", | ||
"@signalwire/webrtc": "3.10.3", | ||
"jwt-decode": "^3.1.2" | ||
@@ -48,0 +48,0 @@ }, |
@@ -1,2 +0,2 @@ | ||
import { EventEmitter, actions, componentActions } from '@signalwire/core' | ||
import { actions, componentActions } from '@signalwire/core' | ||
import { BaseRoomSession, createBaseRoomSessionObject } from './BaseRoomSession' | ||
@@ -76,2 +76,4 @@ import type { RoomSession } from './RoomSession' | ||
expect(room.showVideoMuted).toBeDefined() | ||
// expect(room.lock).toBeDefined() | ||
// expect(room.unlock).toBeDefined() | ||
expect(room.getRecordings).toBeDefined() | ||
@@ -78,0 +80,0 @@ expect(room.startRecording).toBeDefined() |
@@ -493,2 +493,4 @@ import { | ||
startStream: Rooms.startStream, | ||
// lock: Rooms.lock, | ||
// unlock: Rooms.unlock, | ||
}) | ||
@@ -495,0 +497,0 @@ |
@@ -58,2 +58,4 @@ import { | ||
'demote', | ||
'lock', | ||
'unlock', | ||
] | ||
@@ -60,0 +62,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 too big to display
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 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
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
2538054
24059
0
683
4
+ Added@signalwire/core@3.19.0(transitive)
+ Added@signalwire/webrtc@3.10.3(transitive)
- Removed@signalwire/core@3.19.0-dev.202308301318.6c435be.0(transitive)
- Removed@signalwire/webrtc@3.10.3-dev.202308301318.6c435be.0(transitive)
Updated@signalwire/core@3.19.0
Updated@signalwire/webrtc@3.10.3