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

@bfchain/bnrtc2-client

Package Overview
Dependencies
Maintainers
6
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bfchain/bnrtc2-client - npm Package Compare versions

Comparing version 2.0.9 to 2.0.10

3

build/bnrtc2Controller.d.ts

@@ -0,4 +1,6 @@

import { ServiceInfo } from "@bfchain/bnrtc2-client-api";
export declare class Bnrtc2Controller implements Bnrtc2.Bnrtc2ControllerInterface {
private readonly _api;
constructor(apiHost?: string, apiPort?: number);
registService(serviceInfo: ServiceInfo): Promise<boolean>;
bindAddress(address: string): Promise<boolean>;

@@ -14,4 +16,5 @@ unbindAddress(address: string): Promise<boolean>;

getServiceInfo(name: string): Promise<Bnrtc2.Bnrtc2ServiceInfo | undefined>;
getAddressInfo(address: string): Promise<Bnrtc2.AddressInfo | undefined>;
}
export declare const bnrtc2Controller: Bnrtc2Controller;
//# sourceMappingURL=bnrtc2Controller.d.ts.map

@@ -18,2 +18,5 @@ "use strict";

}
registService(serviceInfo) {
return this._api.registService(serviceInfo);
}
bindAddress(address) {

@@ -69,4 +72,9 @@ return __awaiter(this, void 0, void 0, function* () {

}
getAddressInfo(address) {
return __awaiter(this, void 0, void 0, function* () {
return this._api.getAddressInfo(address);
});
}
}
exports.Bnrtc2Controller = Bnrtc2Controller;
exports.bnrtc2Controller = new Bnrtc2Controller();

8

package.json
{
"name": "@bfchain/bnrtc2-client",
"version": "2.0.9",
"version": "2.0.10",
"main": "./build/index.js",

@@ -8,5 +8,5 @@ "types": "./build/index.d.ts",

"dependencies": {
"@bfchain/bnrtc2-buffer": "^2.0.9",
"@bfchain/bnrtc2-client-typings": "^2.0.9",
"@bfchain/bnrtc2-client-api": "^2.0.9",
"@bfchain/bnrtc2-buffer": "^2.0.10",
"@bfchain/bnrtc2-client-typings": "^2.0.10",
"@bfchain/bnrtc2-client-api": "^2.0.10",
"@bfcs/util-evt": "^0.0.1-alpha.2"

@@ -13,0 +13,0 @@ },

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