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

node-datachannel

Package Overview
Dependencies
Maintainers
0
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.9.1 to 0.9.2

test/jest-tests/polyfill.test.js

4

CMakeLists.txt

@@ -5,3 +5,3 @@ cmake_minimum_required(VERSION 3.15)

project(node_datachannel VERSION 0.9.1)
project(node_datachannel VERSION 0.9.2)

@@ -33,3 +33,3 @@ # -Dnapi_build_version=8

GIT_REPOSITORY https://github.com/paullouisageneau/libdatachannel.git
GIT_TAG "v0.21.0"
GIT_TAG "v0.21.1"
)

@@ -36,0 +36,0 @@

@@ -66,3 +66,3 @@ import * as stream from 'stream';

// Lowercase to match the description type string from libdatachannel
export const enum DescriptionType {
export enum DescriptionType {
Unspec = 'unspec',

@@ -69,0 +69,0 @@ Offer = 'offer',

@@ -44,1 +44,9 @@ // createRequire is native in node version >= 12

};
export const DescriptionType = {
Unspec: 'unspec',
Offer: 'offer',
Answer: 'answer',
Pranswer: 'pranswer',
Rollback: 'rollback',
};
{
"name": "node-datachannel",
"version": "0.9.1",
"version": "0.9.2",
"description": "libdatachannel node bindings",
"type": "module",
"types": "./lib/index.d.ts",
"exports": {
".": {
"import": {
"default": "./lib/index.js",
"types": "./lib/index.d.ts"
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
},
"require": {
"default": "./lib/index.cjs",
"types": "./lib/index.d.cts"
"types": "./lib/index.d.cts",
"default": "./lib/index.cjs"
}

@@ -19,8 +20,8 @@ },

"import": {
"default": "./polyfill/index.js",
"types": "./polyfill/index.d.ts"
"types": "./polyfill/index.d.ts",
"default": "./polyfill/index.js"
},
"require": {
"default": "./polyfill/index.cjs",
"types": "./polyfill/index.d.cts"
"types": "./polyfill/index.d.cts",
"default": "./polyfill/index.cjs"
}

@@ -27,0 +28,0 @@ }

@@ -7,7 +7,7 @@ import NodeDataChannel from '../lib/index.js';

import RTCSctpTransport from './RTCSctpTransport.js';
import DOMException from 'node-domexception';
import 'node-domexception';
export default class _RTCPeerConnection extends EventTarget {
static async generateCertificate() {
throw new Error('Not implemented');
throw new DOMException('Not implemented');
}

@@ -196,6 +196,2 @@

static generateCertificate(keygenAlgorithm) {
throw new DOMException('Not implemented');
}
async addIceCandidate(candidate) {

@@ -202,0 +198,0 @@ if (candidate == null || candidate.candidate == null) {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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