@bfchain/bnrtc2-client
Advanced tools
Comparing version 0.0.1-alpha.21 to 0.0.2
@@ -0,1 +1,2 @@ | ||
import { Bnrtc2Api } from "@bfchain/bnrtc2-client-api"; | ||
import { Attacher, StatefulAttacher } from "@bfcs/util-evt"; | ||
@@ -5,2 +6,3 @@ import { Bnrtc2Buffer } from "@bfchain/bnrtc2-buffer"; | ||
private readonly _api; | ||
get api(): Bnrtc2Api; | ||
private _msgIdAcc; | ||
@@ -7,0 +9,0 @@ constructor(apiHost?: string, apiPort?: number); |
@@ -59,3 +59,3 @@ "use strict"; | ||
return task; | ||
} | ||
}, | ||
}); | ||
@@ -137,2 +137,5 @@ this._api = new bnrtc2_client_api_1.Bnrtc2Api(apiHost, apiPort); | ||
} | ||
get api() { | ||
return this._api; | ||
} | ||
send(address, dport, data) { | ||
@@ -139,0 +142,0 @@ var _a; |
{ | ||
"name": "@bfchain/bnrtc2-client", | ||
"version": "0.0.1-alpha.21", | ||
"version": "0.0.2", | ||
"main": "./build/index.js", | ||
@@ -8,5 +8,5 @@ "types": "./build/index.d.ts", | ||
"dependencies": { | ||
"@bfchain/bnrtc2-buffer": "^0.0.1-alpha.21", | ||
"@bfchain/bnrtc2-client-typings": "^0.0.1-alpha.21", | ||
"@bfchain/bnrtc2-client-api": "^0.0.1-alpha.21", | ||
"@bfchain/bnrtc2-buffer": "^0.0.2", | ||
"@bfchain/bnrtc2-client-typings": "^0.0.2", | ||
"@bfchain/bnrtc2-client-api": "^0.0.2", | ||
"@bfcs/util-evt": "^0.0.1-alpha.2" | ||
@@ -13,0 +13,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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
17232
409
0
+ Added@bfchain/bnrtc2-buffer@0.0.2(transitive)
+ Added@bfchain/bnrtc2-buffer-typings@0.0.2(transitive)
+ Added@bfchain/bnrtc2-client-api@0.0.2(transitive)
+ Added@bfchain/bnrtc2-client-typings@0.0.2(transitive)
- Removed@bfchain/bnrtc2-buffer@0.0.1-alpha.21(transitive)
- Removed@bfchain/bnrtc2-buffer-typings@0.0.1-alpha.21(transitive)
- Removed@bfchain/bnrtc2-client-api@0.0.1-alpha.21(transitive)
- Removed@bfchain/bnrtc2-client-typings@0.0.1-alpha.21(transitive)