@bfchain/bnrtc2-client-typings
Advanced tools
Comparing version 2.0.11 to 2.0.12
@@ -15,3 +15,3 @@ /// <reference lib="dom" /> | ||
address: string; | ||
endPoints: EndPoint[]; | ||
endpoints: EndPoint[]; | ||
} | ||
@@ -39,2 +39,3 @@ type RESULT_CODE = import("./const").RESULT_CODE; | ||
send(address: string, dport: string, data: Bnrtc2.Bnrtc2Buffer | Uint8Array, devid?: string, src?: string): Promise<RESULT_CODE>; | ||
sendNeighbor(num: number, dport: string, data: Bnrtc2Buffer | Uint8Array, src?: string): Promise<RESULT_CODE>; | ||
broadcast(dport: string, data: Bnrtc2.Bnrtc2Buffer | Uint8Array, src?: string): Promise<RESULT_CODE>; | ||
@@ -41,0 +42,0 @@ sync(dport: string, data: Bnrtc2.Bnrtc2Buffer | Uint8Array, src?: string): Promise<RESULT_CODE>; |
@@ -25,4 +25,5 @@ export declare const enum READY_STATE { | ||
SYNC = 5, | ||
ACK = 6 | ||
ACK = 6, | ||
NEIGHBORCAST = 7 | ||
} | ||
//# sourceMappingURL=const.d.ts.map |
{ | ||
"name": "@bfchain/bnrtc2-client-typings", | ||
"version": "2.0.11", | ||
"version": "2.0.12", | ||
"main": "./build/index.js", | ||
@@ -8,3 +8,3 @@ "types": "./build/index.d.ts", | ||
"dependencies": { | ||
"@bfchain/bnrtc2-buffer-typings": "^2.0.11", | ||
"@bfchain/bnrtc2-buffer-typings": "^2.0.12", | ||
"@bfcs/util-evt": "^0.0.1-alpha.2" | ||
@@ -11,0 +11,0 @@ }, |
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
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
5039
123