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

node-datachannel

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-datachannel - npm Package Compare versions

Comparing version 0.0.17 to 0.0.18

2

CMakeLists.txt
cmake_minimum_required(VERSION 3.15)
cmake_policy(SET CMP0091 NEW)
project(node_datachannel VERSION 0.0.17)
project(node_datachannel VERSION 0.0.18)

@@ -5,0 +5,0 @@ include_directories(${CMAKE_JS_INC})

@@ -49,2 +49,3 @@ export as namespace NodeDataChannel;

sendMessage: (msg: string) => boolean;
sendMessageBinary: (buffer: Buffer) => boolean;
isOpen: () => boolean;

@@ -60,3 +61,3 @@ availableAmount: () => Number;

onBufferedAmountLow: (cb: () => void) => void;
onMessage: (cb: (msg: string) => void) => void;
onMessage: (cb: (msg: string | Buffer) => void) => void;
}

@@ -63,0 +64,0 @@

{
"name": "node-datachannel",
"version": "0.0.17",
"version": "0.0.18",
"description": "libdatachannel node bindings",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -81,2 +81,3 @@ # node-datachannel - libdatachannel node bindings

dc1.sendMessage("Hello from Peer1");
// Binary message: Use sendMessageBinary(Buffer)
});

@@ -83,0 +84,0 @@ dc1.onMessage((msg) => {

@@ -63,2 +63,3 @@ const nodeDataChannel = require('../lib/index');

dc1.sendMessage("Hello from Peer1");
// Binary message: Use sendMessageBinary(Buffer)
});

@@ -65,0 +66,0 @@ dc1.onMessage((msg) => {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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