node-datachannel
Advanced tools
Comparing version 0.20.0 to 0.21.0
@@ -32,3 +32,3 @@ cmake_minimum_required(VERSION 3.15) | ||
GIT_REPOSITORY https://github.com/paullouisageneau/libdatachannel.git | ||
GIT_TAG "v0.22.1" | ||
GIT_TAG "v0.22.2" | ||
) | ||
@@ -35,0 +35,0 @@ |
import { LogLevel, SctpSettings, Direction, Channel, DescriptionType, RTCSdpType, DataChannelInitConfig, RTCPeerConnectionState, RTCIceConnectionState, RTCSignalingState, RTCIceGatheringState, SelectedCandidateInfo, RtcConfig, WebSocketServerConfiguration } from './types.js'; | ||
export { IceServer, ProxyServer, ProxyServerType, RTCIceGathererState, RTCIceTransportState, RelayType, TransportPolicy } from './types.js'; | ||
import DataChannelStream$1 from './datachannel-stream.js'; | ||
@@ -164,2 +165,2 @@ import { WebSocketServer } from './websocket-server.js'; | ||
export { Audio, DataChannel, DataChannelStream, PeerConnection, RtcpReceivingSession, Track, Video, WebSocket, WebSocketServer, cleanup, _default as default, initLogger, preload, setSctpSettings }; | ||
export { Audio, Channel, DataChannel, DataChannelInitConfig, DataChannelStream, DescriptionType, Direction, LogLevel, PeerConnection, RTCIceConnectionState, RTCIceGatheringState, RTCPeerConnectionState, RTCSdpType, RTCSignalingState, RtcConfig, RtcpReceivingSession, SctpSettings, SelectedCandidateInfo, Track, Video, WebSocket, WebSocketServer, WebSocketServerConfiguration, cleanup, _default as default, initLogger, preload, setSctpSettings }; |
@@ -77,4 +77,6 @@ interface Channel { | ||
type RTCSdpType = 'answer' | 'offer' | 'pranswer' | 'rollback'; | ||
type RTCIceTransportState = "checking" | "closed" | "completed" | "connected" | "disconnected" | "failed" | "new"; | ||
type RTCPeerConnectionState = "closed" | "connected" | "connecting" | "disconnected" | "failed" | "new"; | ||
type RTCIceConnectionState = "checking" | "closed" | "completed" | "connected" | "disconnected" | "failed" | "new"; | ||
type RTCIceGathererState = "complete" | "gathering" | "new"; | ||
type RTCIceGatheringState = "complete" | "gathering" | "new"; | ||
@@ -107,2 +109,2 @@ type RTCSignalingState = "closed" | "have-local-offer" | "have-local-pranswer" | "have-remote-offer" | "have-remote-pranswer" | "stable"; | ||
export { type Channel, type DataChannelInitConfig, DescriptionType, Direction, type IceServer, type LogLevel, type ProxyServer, type ProxyServerType, type RTCIceConnectionState, type RTCIceGatheringState, type RTCPeerConnectionState, type RTCSdpType, type RTCSignalingState, RelayType, type RtcConfig, type SctpSettings, type SelectedCandidateInfo, type TransportPolicy, type WebSocketServerConfiguration }; | ||
export { type Channel, type DataChannelInitConfig, DescriptionType, Direction, type IceServer, type LogLevel, type ProxyServer, type ProxyServerType, type RTCIceConnectionState, type RTCIceGathererState, type RTCIceGatheringState, type RTCIceTransportState, type RTCPeerConnectionState, type RTCSdpType, type RTCSignalingState, RelayType, type RtcConfig, type SctpSettings, type SelectedCandidateInfo, type TransportPolicy, type WebSocketServerConfiguration }; |
{ | ||
"name": "node-datachannel", | ||
"version": "0.20.0", | ||
"version": "0.21.0", | ||
"description": "WebRTC For Node.js and Electron. libdatachannel node bindings.", | ||
@@ -107,2 +107,2 @@ "main": "./dist/cjs/lib/index.cjs", | ||
} | ||
} | ||
} |
@@ -151,12 +151,2 @@ import nodeDataChannel from './node-datachannel'; | ||
/**export { | ||
Channel, DataChannelInitConfig, DescriptionType, | ||
Direction, LogLevel, RtcConfig, SctpSettings, | ||
SelectedCandidateInfo, RTCIceConnectionState, | ||
RTCIceGathererState, RTCIceGatheringState, | ||
RTCIceTransportState, RTCPeerConnectionState, | ||
RTCSdpType, RTCSignalingState, RelayType, | ||
ProxyServerType, TransportPolicy, | ||
WebSocketServerConfiguration, IceServer, ProxyServer | ||
} from './types';**/ | ||
export { WebSocketServer } from './websocket-server'; | ||
@@ -182,1 +172,6 @@ export { WebSocket } from './websocket'; | ||
}; | ||
// Types | ||
// https://github.com/murat-dogan/node-datachannel/issues/300 | ||
export * from './types'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
584081
4751