Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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 1.0.3 to 1.0.4

2

lib/client/Client.d.ts

@@ -37,3 +37,3 @@ import { PServer } from "../Server";

private onError;
startConnect(onServerInfo: (PServer: any) => void, clientInfo?: PServer): void;
startConnect(onServerInfo: (server: PServer) => void, clientInfo?: PServer): void;
private start;

@@ -40,0 +40,0 @@ private doConnect;

@@ -25,8 +25,8 @@ "use strict";

onConnected() {
this.handlerMgr.getHandler(HandlerMgr_1.Cmd.ServerInfo).serverInfo = this;
this._connect_stat = NetStatus.connected;
this.clearTimeOut();
this._socket_client.sendTypeBuff(HandlerMgr_1.Cmd.ServerInfo, Server_1.PServer.encode(this.clientInfo).finish()); //发送获取数据要求
this.handlerMgr = new HandlerMgr_1.HandlerMgr(this._socket_client);
this.handlerMgr.getHandler(HandlerMgr_1.Cmd.ServerInfo).serverInfo = this;
this.lineLogInfo(this.lineInfo + "服务器---连接成功\n\n正在请求服务器数据...\n");
this._socket_client.sendTypeBuff(HandlerMgr_1.Cmd.ServerInfo, Server_1.PServer.encode(this.clientInfo).finish()); //发送获取数据要求
}

@@ -33,0 +33,0 @@ async onMessage(pkg) {

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

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

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