Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

conectar-ws

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

conectar-ws - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

94

index.d.ts

@@ -9,8 +9,22 @@ // Type definitions for Wire.js 0.0.1

interface Wire {
add_stream(): void;
addEventListener(): void;
addEventListener(): void;
addObject(): void;
connect(): Promise<void>;
createWhiteboard(): void;
add_stream(
stream: 'camera'|'mic',
media: MediaStream,
peer_id: string
): void;
addEventListener(event: string, func: (params: object) => void): void;
addObject(
whiteboard_id: string,
object_id: string,
objec: string
): void;
addWhiteboardMetadata(
whiteboard_id: string,
whiteboard_name: string
): void;
connect(url: string): Promise<void>;
createWhiteboard(
whiteboard_id: string,
whiteboard_name: string,
): void;
end_camera(): void;

@@ -20,44 +34,44 @@ end_mic(): void;

get_list_of_conversations(): Promise<any>;
get_peerconnection(): void;
get_private_messages(): Promise<any>;
get_room_conversations(): Promise<any>;
get_room_metadata(): Promise<any>;
get_room_participants(): Promise<any>;
get_room_whiteboards(): Promise<void>;
// hande_remove_track(): void;
// handle_ice_connection_state_change(): void;
// handle_local_candidate(): void;
// handle_negotiation_needed(): void;
// handle_remote_answer(): void;
// handle_remote_candidate(): void;
// handle_remote_offer(): void;
// handle_remote_track(): void;
hang_up(): void;
prepare_time(): void;
removeEventListener(): void;
removeObject(): void;
removeWhiteboard(): void;
renameWhiteboard(): void;
request(): Promise<any>;
get_private_messages(roomId: string): Promise<any>;
get_room_conversations(roomId: string): Promise<any>;
get_room_metadata(roomId: string): Promise<any>;
get_room_participants(roomId: string): Promise<any>;
get_room_whiteboards(roomId: string): Promise<void>;
hang_up(recipient: string): void;
prepare_time<T>(obj: object): T;
removeEventListener(event: string): void;
removeObject(
whiteboard_id: string,
object_id: string
): void;
removeWhiteboard(whiteboard_id: string): void;
renameWhiteboard(
whiteboard_id: string,
whiteboard_name: string
): void;
request(url:string, options: RequestInit): Promise<any>;
run_listeners(): void;
send_call_decline(): void;
send_private_message(): void;
send_stream(): void;
send_video_call_accept(): void;
send_video_call_request(): void;
send_voice_call_accept(): void;
send_voice_call_request(): void;
send(): void;
share_screen(): void;
start_camera(): Promise<void>;
start_mic(): Promise<void>;
send_private_message(recipient: string, txt: string): void;
send_stream(
user_id: string,
media: 'camera'|'mic',
stream: MediaStream
): void;
send_video_call_accept(recipient: string): void;
send_video_call_request(recipient: string): void;
send_voice_call_accept(recipient: string): void;
send_voice_call_request(recipient: string): void;
send(action: string, data: object): void;
share_screen(peer_id: string): void;
start_camera(): Promise<MediaStream>;
start_mic(): Promise<MediaStream>;
start_screensharing(): void;
toggle_muted_mic(): void;
toggle_video(): void;
video_call(): void;
voice_call(): void;
video_call(peer_id: string): void;
voice_call(peer_id: string): void;
}
const Wire: Wire;
export default Wire;
}
{
"name": "conectar-ws",
"version": "0.0.5",
"version": "0.0.6",
"description": "Conectar WS connections",

@@ -5,0 +5,0 @@ "main": "dist/wire.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc