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

enhanced-datachannel

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enhanced-datachannel - npm Package Compare versions

Comparing version 1.2.4 to 1.2.5

7

CHANGELOG.md
# ChangeLlog
## [1.2.5] - 2020-03-02
### Misc
- Update dev dependencies.
## [1.2.4] - 2020-01-06

@@ -59,2 +65,3 @@

[1.2.5]: https://github.com/leader22/enhanced-datachannel/releases/tag/v1.2.5
[1.2.4]: https://github.com/leader22/enhanced-datachannel/releases/tag/v1.2.4

@@ -61,0 +68,0 @@ [1.2.3]: https://github.com/leader22/enhanced-datachannel/releases/tag/v1.2.3

28

lib/based-datachannel.d.ts

@@ -6,15 +6,17 @@ import EventEmitter from "eventemitter3";

constructor(dc: RTCDataChannel);
binaryType: string;
bufferedAmountLowThreshold: number;
readonly bufferedAmount: number;
readonly id: number | null;
readonly label: string;
readonly maxPacketLifeTime: number | null;
readonly maxRetransmits: number | null;
readonly negotiated: boolean;
readonly ordered: boolean;
readonly priority: RTCPriorityType;
readonly protocol: string;
readonly readyState: RTCDataChannelState;
readonly closed: boolean;
get binaryType(): string;
set binaryType(type: string);
get bufferedAmountLowThreshold(): number;
set bufferedAmountLowThreshold(threshold: number);
get bufferedAmount(): number;
get id(): number | null;
get label(): string;
get maxPacketLifeTime(): number | null;
get maxRetransmits(): number | null;
get negotiated(): boolean;
get ordered(): boolean;
get priority(): RTCPriorityType;
get protocol(): string;
get readyState(): RTCDataChannelState;
get closed(): boolean;
close(): void;

@@ -21,0 +23,0 @@ send(data: any): void;

@@ -7,5 +7,6 @@ import BasedDataChannel from "./based-datachannel";

constructor(dc: RTCDataChannel);
readonly sending: boolean;
readonly recving: boolean;
binaryType: string;
get sending(): boolean;
get recving(): boolean;
set binaryType(_type: string);
get binaryType(): string;
close(): void;

@@ -12,0 +13,0 @@ send(data: Blob, meta?: any): Promise<void>;

@@ -1,9 +0,9 @@

import BasedDataChannel from "./based-datachannel";
import PromisedDataChannel from "./promised-datachannel";
import ChunkedDataChannel from "./chunked-datachannel";
export declare function based(dc: RTCDataChannel): BasedDataChannel;
export declare function promised(dc: RTCDataChannel): PromisedDataChannel;
export declare function chunked(dc: RTCDataChannel): ChunkedDataChannel;
export declare type BasedDataChannel = InstanceType<typeof BasedDataChannel>;
export declare type PromisedDataChannel = InstanceType<typeof PromisedDataChannel>;
export declare type ChunkedDataChannel = InstanceType<typeof ChunkedDataChannel>;
import BasedDC from "./based-datachannel";
import PromisedDC from "./promised-datachannel";
import ChunkedDC from "./chunked-datachannel";
export declare function based(dc: RTCDataChannel): BasedDC;
export declare function promised(dc: RTCDataChannel): PromisedDC;
export declare function chunked(dc: RTCDataChannel): ChunkedDC;
export declare type BasedDataChannel = InstanceType<typeof BasedDC>;
export declare type PromisedDataChannel = InstanceType<typeof PromisedDC>;
export declare type ChunkedDataChannel = InstanceType<typeof ChunkedDC>;
{
"name": "enhanced-datachannel",
"version": "1.2.4",
"version": "1.2.5",
"description": "Wanna `enhance(RTCDataChannel)` for general usage.",

@@ -33,6 +33,6 @@ "main": "lib/index.js",

"@types/debug": "^4.1.5",
"@typescript-eslint/eslint-plugin": "^2.14.0",
"@typescript-eslint/parser": "^2.14.0",
"@typescript-eslint/eslint-plugin": "^2.21.0",
"@typescript-eslint/parser": "^2.21.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.9.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-prettier": "^3.1.2",

@@ -42,12 +42,12 @@ "jasmine": "^3.5.0",

"karma-chrome-launcher": "^3.1.0",
"karma-firefox-launcher": "^1.2.0",
"karma-jasmine": "2.0.1",
"karma-firefox-launcher": "^1.3.0",
"karma-jasmine": "~3.1.1",
"karma-mocha-reporter": "^2.2.5",
"karma-rollup-preprocessor": "^7.0.2",
"karma-rollup-preprocessor": "^7.0.3",
"karma-safari-launcher": "^1.0.0",
"prettier": "^1.19.1",
"rollup": "^1.28.0",
"rollup": "^1.32.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"typescript": "3.6.4"
"typescript": "~3.8.3"
},

@@ -54,0 +54,0 @@ "dependencies": {

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