node-datachannel
Advanced tools
Comparing version 0.9.1 to 0.9.2
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1098157
108
20435