node-datachannel 0.5.0 → 0.5.1

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.5.0)
5
+ project(node_datachannel VERSION 0.5.1)
6
6
 
7
7
  # -Dnapi_build_version=8
8
8
  add_definitions(-DNAPI_VERSION=8)
package/package.json CHANGED
@@ -1,15 +1,11 @@
1
1
  {
2
2
  "name": "node-datachannel",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "libdatachannel node bindings",
5
5
  "type": "module",
6
6
  "exports": {
7
- ".": {
8
- "import": "./lib/index.js"
9
- },
10
- "./polyfill": {
11
- "import": "./polyfill/index.js"
12
- }
7
+ ".": "./lib/index.js",
8
+ "./polyfill": "./polyfill/index.js"
13
9
  },
14
10
  "typings": "lib/index.d.ts",
15
11
  "engines": {
@@ -18,7 +18,6 @@ export default class _RTCIceTransport extends EventTarget {
18
18
  this.dispatchEvent(new Event('gatheringstatechange'));
19
19
  });
20
20
  this.#pc.addEventListener('iceconnectionstatechange', () => {
21
- console.log('*********');
22
21
  this.dispatchEvent(new Event('statechange'));
23
22
  });
24
23
 
@@ -1,4 +1,4 @@
1
- import * as nodeDataChannel from '../lib/index.js';
1
+ import nodeDataChannel from '../lib/index.js';
2
2
 
3
3
  nodeDataChannel.initLogger('Debug');
4
4
  nodeDataChannel.preload();
@@ -1,5 +1,5 @@
1
1
  import polyfill from '../polyfill/index.js';
2
- import * as nodeDataChannel from '../lib/index.js';
2
+ import nodeDataChannel from '../lib/index.js';
3
3
 
4
4
  nodeDataChannel.initLogger('Info');
5
5