node-datachannel
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -14,2 +14,3 @@ # API | ||
proxyServer?: ProxyServer; | ||
bindAddress?: string; | ||
enableIceTcp?: boolean; | ||
@@ -16,0 +17,0 @@ enableIceUdpMux?: boolean; |
cmake_minimum_required(VERSION 3.15) | ||
cmake_policy(SET CMP0091 NEW) | ||
project(node_datachannel VERSION 0.4.0) | ||
project(node_datachannel VERSION 0.4.1) | ||
@@ -20,14 +20,9 @@ # Workaround for https://github.com/murat-dogan/node-datachannel/issues/65 | ||
if(APPLE) | ||
# Got linker error for arm64 | ||
# /usr/lib/gcc-cross/aarch64-linux-gnu/9/../../../../aarch64-linux-gnu/bin/ld: ../sysroot/usr/lib/aarch64-linux-gnu/libcrypto.a(sha1-armv8.o): relocation R_AARCH64_PREL64 against symbol `OPENSSL_armcap_P' which may bind externally can not be used when making a shared object; recompile with -fPIC | ||
# ../sysroot/usr/lib/aarch64-linux-gnu/libcrypto.a(sha1-armv8.o): in function `sha1_block_armv8': | ||
# (.text+0x1240): dangerous relocation: unsupported relocation | ||
if(NOT ${NODE_ARCH} STREQUAL "arm64") | ||
set(OPENSSL_USE_STATIC_LIBS TRUE) | ||
find_package(OpenSSL REQUIRED) | ||
elseif(UNIX) | ||
# Got linker error for arm64 | ||
# /usr/lib/gcc-cross/aarch64-linux-gnu/9/../../../../aarch64-linux-gnu/bin/ld: ../sysroot/usr/lib/aarch64-linux-gnu/libcrypto.a(sha1-armv8.o): relocation R_AARCH64_PREL64 against symbol `OPENSSL_armcap_P' which may bind externally can not be used when making a shared object; recompile with -fPIC | ||
# ../sysroot/usr/lib/aarch64-linux-gnu/libcrypto.a(sha1-armv8.o): in function `sha1_block_armv8': | ||
# (.text+0x1240): dangerous relocation: unsupported relocation | ||
if(NOT ${NODE_ARCH} STREQUAL "arm64") | ||
set(OPENSSL_USE_STATIC_LIBS TRUE) | ||
find_package(OpenSSL REQUIRED) | ||
endif() | ||
endif() | ||
@@ -42,3 +37,3 @@ | ||
GIT_REPOSITORY https://github.com/paullouisageneau/libdatachannel.git | ||
GIT_TAG "v0.17.10" | ||
GIT_TAG "v0.18.0" | ||
) | ||
@@ -81,3 +76,3 @@ | ||
# This should be removed along with the napi-thread-safe-callback-cancellable dependency when dropping support at end-of-life | ||
target_compile_definitions(${PROJECT_NAME} PRIVATE -DLEGACY_NAPI_THREAD_SAFE_CALLBACK) | ||
target_compile_definitions(${PROJECT_NAME} PRIVATE -DLEGACY_NAPI_THREAD_SAFE_CALLBACK) | ||
endif() | ||
@@ -84,0 +79,0 @@ |
@@ -20,3 +20,3 @@ import * as stream from 'stream'; | ||
export function preload(): void; | ||
export function initLogger(level: LogLevel): void; | ||
export function initLogger(level: LogLevel, callback?: (level: LogLevel, message: string) => void): void; | ||
export function cleanup(): void; | ||
@@ -50,5 +50,7 @@ export function setSctpSettings(settings: SctpSettings): void; | ||
export type TransportPolicy = 'all' | 'relay'; | ||
export interface RtcConfig { | ||
iceServers: (string | IceServer)[]; | ||
proxyServer?: ProxyServer; | ||
bindAddress?: string; | ||
enableIceTcp?: boolean; | ||
@@ -55,0 +57,0 @@ enableIceUdpMux?: boolean; |
{ | ||
"name": "node-datachannel", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "libdatachannel node bindings", | ||
@@ -44,3 +44,3 @@ "main": "lib/index.js", | ||
], | ||
"license": "LGPL", | ||
"license": "MPL 2.0", | ||
"gypfile": true, | ||
@@ -47,0 +47,0 @@ "bugs": { |
@@ -14,2 +14,3 @@ // eslint-disable-next-line @typescript-eslint/no-var-requires | ||
// proxyServer?: ProxyServer; | ||
// bindAddress?: string; | ||
// enableIceTcp?: boolean; | ||
@@ -16,0 +17,0 @@ // portRangeBegin?: number; |
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
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
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
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
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
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
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
0
20213
1316914