🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

socket_protobuf

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

socket_protobuf - npm Package Compare versions

Comparing version

to
1.2.0

6

lib/client/Client.js

@@ -65,18 +65,18 @@ "use strict";

onClose() {
this.disconnected();
this.lineLogErr("服务器---连接-对方关闭");
this.clearSocket();
this.startTimeOut();
this.disconnected();
}
onEnd() {
this.disconnected();
this.lineLogErr("服务器---连接-对方结束");
this.clearSocket();
this.startTimeOut();
this.disconnected();
}
onError() {
this.disconnected();
this.lineLogErr(this.lineInfo + " Sever服务器---连接错误");
this.clearSocket();
this.startTimeOut();
this.disconnected();
}

@@ -83,0 +83,0 @@ startConnect(onServerInfo, clientInfo = null, onConnected = null, onDisconnected = null) {

{
"name": "socket_protobuf",
"version": "1.1.9",
"version": "1.2.0",
"description": "socket发送protobuf二进制流的SDK",

@@ -5,0 +5,0 @@ "main": "App.js",