node-datachannel 0.32.2 → 0.32.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CMakeLists.txt CHANGED
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.15)
2
2
  cmake_policy(SET CMP0091 NEW)
3
3
  cmake_policy(SET CMP0042 NEW)
4
4
 
5
- project(node_datachannel VERSION 0.32.2)
5
+ project(node_datachannel VERSION 0.32.3)
6
6
 
7
7
  # compile_commands.json
8
8
  # -----------------------------------
@@ -109,6 +109,7 @@ interface SelectedCandidateInfo {
109
109
  type Direction = 'SendOnly' | 'RecvOnly' | 'SendRecv' | 'Inactive' | 'Unknown';
110
110
  interface IceUdpMuxRequest {
111
111
  ufrag: string;
112
+ localUfrag: string;
112
113
  host: string;
113
114
  port: number;
114
115
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-datachannel",
3
- "version": "0.32.2",
3
+ "version": "0.32.3",
4
4
  "description": "WebRTC For Node.js and Electron. libdatachannel node bindings.",
5
5
  "main": "./dist/cjs/lib/index.cjs",
6
6
  "module": "./dist/esm/lib/index.mjs",
@@ -145,6 +145,7 @@ void IceUdpMuxListenerWrapper::onUnhandledStunRequest(const Napi::CallbackInfo &
145
145
  {
146
146
  Napi::Object reqObj = Napi::Object::New(env);
147
147
  reqObj.Set("ufrag", request.remoteUfrag.c_str());
148
+ reqObj.Set("localUfrag", request.localUfrag.c_str());
148
149
  reqObj.Set("host", request.remoteAddress.c_str());
149
150
  reqObj.Set("port", request.remotePort);
150
151
 
package/src/lib/types.ts CHANGED
@@ -157,6 +157,7 @@ export type Direction = 'SendOnly' | 'RecvOnly' | 'SendRecv' | 'Inactive' | 'Unk
157
157
 
158
158
  export interface IceUdpMuxRequest {
159
159
  ufrag: string;
160
+ localUfrag: string;
160
161
  host: string;
161
162
  port: number;
162
163
  }