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
5
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.0 to 0.0.1-alpha.1

9

cjs/@types.d.ts

@@ -9,6 +9,5 @@ /// <reference lib="dom" />

close(code?: number, reason?: string): Promise<boolean>;
send(address: string, dport: string, data: import("@bfchain/bnrtc2-buffer").Bnrtc2Buffer): void;
onData(dport: string, handler: Bnrtc2DataHandler): boolean;
offData(dport: string, handler: Bnrtc2DataHandler): boolean;
out(): void;
send(address: string, dport: string, data: Bnrtc2.Bnrtc2Buffer | Uint8Array): void;
onData(dport: string, handler: Bnrtc2DataHandler): void;
offData(dport: string, handler?: Bnrtc2DataHandler): void;
}

@@ -20,3 +19,3 @@ interface ResultData {

}
type Bnrtc2DataHandler = (data: Bnrtc2Data) => boolean;
type Bnrtc2DataHandler = (data: Bnrtc2Data) => void;
interface Bnrtc2Data {

@@ -23,0 +22,0 @@ address: string;

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

import '@bfcs/util-evt-typings';
import './@types';
export * from './const';
import "@bfchain/bnrtc2-buffer-typings";
import "./@types";
export * from "./const";
//# sourceMappingURL=index.d.ts.map

@@ -13,4 +13,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
require("@bfcs/util-evt-typings");
require("@bfchain/bnrtc2-buffer-typings");
require("./@types");
__exportStar(require("./const"), exports);

@@ -9,6 +9,5 @@ /// <reference lib="dom" />

close(code?: number, reason?: string): Promise<boolean>;
send(address: string, dport: string, data: import("@bfchain/bnrtc2-buffer").Bnrtc2Buffer): void;
onData(dport: string, handler: Bnrtc2DataHandler): boolean;
offData(dport: string, handler: Bnrtc2DataHandler): boolean;
out(): void;
send(address: string, dport: string, data: Bnrtc2.Bnrtc2Buffer | Uint8Array): void;
onData(dport: string, handler: Bnrtc2DataHandler): void;
offData(dport: string, handler?: Bnrtc2DataHandler): void;
}

@@ -20,3 +19,3 @@ interface ResultData {

}
type Bnrtc2DataHandler = (data: Bnrtc2Data) => boolean;
type Bnrtc2DataHandler = (data: Bnrtc2Data) => void;
interface Bnrtc2Data {

@@ -23,0 +22,0 @@ address: string;

@@ -1,3 +0,3 @@

import '@bfcs/util-evt-typings';
import './@types';
export * from './const';
import "@bfchain/bnrtc2-buffer-typings";
import "./@types";
export * from "./const";

@@ -1,3 +0,3 @@

import '@bfcs/util-evt-typings';
import './@types';
export * from './const';
import "@bfchain/bnrtc2-buffer-typings";
import "./@types";
export * from "./const";

@@ -9,6 +9,5 @@ /// <reference lib="dom" />

close(code?: number, reason?: string): Promise<boolean>;
send(address: string, dport: string, data: import("@bfchain/bnrtc2-buffer").Bnrtc2Buffer): void;
onData(dport: string, handler: Bnrtc2DataHandler): boolean;
offData(dport: string, handler: Bnrtc2DataHandler): boolean;
out(): void;
send(address: string, dport: string, data: Bnrtc2.Bnrtc2Buffer | Uint8Array): void;
onData(dport: string, handler: Bnrtc2DataHandler): void;
offData(dport: string, handler?: Bnrtc2DataHandler): void;
}

@@ -20,3 +19,3 @@ interface ResultData {

}
type Bnrtc2DataHandler = (data: Bnrtc2Data) => boolean;
type Bnrtc2DataHandler = (data: Bnrtc2Data) => void;
interface Bnrtc2Data {

@@ -23,0 +22,0 @@ address: string;

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

import '@bfcs/util-evt-typings';
import './@types';
export * from './const';
import "@bfchain/bnrtc2-buffer-typings";
import "./@types";
export * from "./const";
//# sourceMappingURL=index.d.ts.map

@@ -1,3 +0,3 @@

import '@bfcs/util-evt-typings';
import './@types';
export * from './const';
import "@bfchain/bnrtc2-buffer-typings";
import "./@types";
export * from "./const";
{
"name": "@bfchain/bnrtc2-client-typings",
"version": "0.0.0",
"version": "0.0.1-alpha.1",
"main": "cjs/index.js",

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

"dependencies": {
"@bfchain/bnrtc2-buffer": "0.0.0",
"@bfcs/util-evt-typings": "0.0.1-alpha.1"
"@bfchain/bnrtc2-buffer": "^0.0.1-alpha.1"
}
}

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