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

@bfchain/bnrtc2-client-typings

Package Overview
Dependencies
Maintainers
6
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bfchain/bnrtc2-client-typings - npm Package Compare versions

Comparing version 0.0.1-alpha.5 to 0.0.1-alpha.6

9

cjs/@types.d.ts

@@ -15,7 +15,2 @@ /// <reference lib="dom" />

}
interface ResultData {
id: number;
code: import('./').RESULT_CODE;
backPressureInfo: BackPressureInfo;
}
type Bnrtc2DataHandler = (data: Bnrtc2Data) => void;

@@ -27,6 +22,2 @@ interface Bnrtc2Data {

}
type BackPressureInfo = {
ProcessedMsgId: number;
AvailRecvSize: number;
};
interface Channel extends WebSocket {

@@ -33,0 +24,0 @@ }

11

cjs/const.d.ts

@@ -16,8 +16,11 @@ export declare const enum READY_STATE {

}
export declare const enum DATA_TYPE {
export declare const enum SEND_DATA_TYPE {
DATA = 0,
BACKPRESSURE = 1,
BINDDPORT = 2,
UNBINDDPORT = 3
BINDDPORT = 1,
UNBINDDPORT = 2
}
export declare const enum RECEIVE_DATA_TYPE {
RECEIVE_DATA = 0,
SEND_DATA = 1
}
//# sourceMappingURL=const.d.ts.map

@@ -15,7 +15,2 @@ /// <reference lib="dom" />

}
interface ResultData {
id: number;
code: import('./').RESULT_CODE;
backPressureInfo: BackPressureInfo;
}
type Bnrtc2DataHandler = (data: Bnrtc2Data) => void;

@@ -27,6 +22,2 @@ interface Bnrtc2Data {

}
type BackPressureInfo = {
ProcessedMsgId: number;
AvailRecvSize: number;
};
interface Channel extends WebSocket {

@@ -33,0 +24,0 @@ }

@@ -16,7 +16,10 @@ export declare const enum READY_STATE {

}
export declare const enum DATA_TYPE {
export declare const enum SEND_DATA_TYPE {
DATA = 0,
BACKPRESSURE = 1,
BINDDPORT = 2,
UNBINDDPORT = 3
BINDDPORT = 1,
UNBINDDPORT = 2
}
export declare const enum RECEIVE_DATA_TYPE {
RECEIVE_DATA = 0,
SEND_DATA = 1
}

@@ -15,7 +15,2 @@ /// <reference lib="dom" />

}
interface ResultData {
id: number;
code: import('./').RESULT_CODE;
backPressureInfo: BackPressureInfo;
}
type Bnrtc2DataHandler = (data: Bnrtc2Data) => void;

@@ -27,6 +22,2 @@ interface Bnrtc2Data {

}
type BackPressureInfo = {
ProcessedMsgId: number;
AvailRecvSize: number;
};
interface Channel extends WebSocket {

@@ -33,0 +24,0 @@ }

@@ -16,8 +16,11 @@ export declare const enum READY_STATE {

}
export declare const enum DATA_TYPE {
export declare const enum SEND_DATA_TYPE {
DATA = 0,
BACKPRESSURE = 1,
BINDDPORT = 2,
UNBINDDPORT = 3
BINDDPORT = 1,
UNBINDDPORT = 2
}
export declare const enum RECEIVE_DATA_TYPE {
RECEIVE_DATA = 0,
SEND_DATA = 1
}
//# sourceMappingURL=const.d.ts.map
{
"name": "@bfchain/bnrtc2-client-typings",
"version": "0.0.1-alpha.5",
"version": "0.0.1-alpha.6",
"main": "cjs/index.js",

@@ -9,4 +9,4 @@ "type": "cjs/index.d.ts",

"dependencies": {
"@bfchain/bnrtc2-buffer": "^0.0.1-alpha.5"
"@bfchain/bnrtc2-buffer": "^0.0.1-alpha.6"
}
}

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

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