Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@thallo/api-websocket

Package Overview
Dependencies
Maintainers
3
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thallo/api-websocket - npm Package Compare versions

Comparing version 1.0.6 to 1.1.0

2

dist/src/interface/websocketApiClient.d.ts

@@ -164,2 +164,3 @@ import ApiSignature from "@thallo/api-signature";

* 是否使用SSL
* 默认为true
*

@@ -172,2 +173,3 @@ * @type {boolean}

* 端口号
* 默认为8080
*

@@ -174,0 +176,0 @@ * @type {number}

@@ -18,2 +18,3 @@ import { WebsocketApiClientInterface, HeadersOptions, WebsocketApiType, WebsocketApiClientOptions, RequestOptions } from "src/interface/websocketApiClient";

private _currentSeq;
private _heartNum;
onNotify: (message: string) => void;

@@ -20,0 +21,0 @@ constructor({ host, Signature, appKey, registerMethod, registerPath, logoutMethod, logoutPath, isSSL, port, }: WebsocketApiClientOptions);

@@ -17,2 +17,3 @@ /*

this._currentSeq = baseClient_1.default.seq;
this._heartNum = 0;
this._host = host;

@@ -54,7 +55,18 @@ this._isSSL = isSSL;

this._heartTimer = setInterval(() => {
this._connection.send(`H1`);
if (this._heartNum % 2 === 0) {
this._heartNum += 1;
this._connection.send(`H1`);
}
else {
this.reconnect();
}
}, 25 * 1000);
};
this._connection.onerror = () => {
setInterval(() => {
this.reconnect();
}, 10 * 1000);
};
this._connection.onmessage = (m) => {
var _a, _b, _c, _d, _e;
var _a, _b, _c, _d, _e, _f;
if ((_a = m.data) === null || _a === void 0 ? void 0 : _a.includes("RF#")) {

@@ -78,6 +90,12 @@ this._isRegister = false;

}
this.onNotify(m.data.split("NF#").join());
this.onNotify(m.data.substring(3));
this._connection.send("NO");
return;
}
else if ((_f = m.data) === null || _f === void 0 ? void 0 : _f.includes("HO#")) {
this._heartNum += 1;
}
else if (m.data === "HF") {
this.reconnect();
}
};

@@ -102,2 +120,3 @@ }

this._isRegister = false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UNqQixFQUNELE9BQU8sQ0FDUixFQUNELEVBQUUsVUFBVSxFQUFFLElBQUksQ0FBQyxXQUFXLENBQUMsUUFBUSxFQUFFLEVBQUUsQ0FDNUMsQ0FDRixDQUFDO1FBRUYsTUFBTSxPQUFPLEdBQUcsRUFBMkMsQ0FBQztRQUU1RCxLQUFLLE1BQU0sR0FBRyxJQUFJLE1BQU0sQ0FBQyxJQUFJLENBQUMsU0FBUyxDQUErQixFQUFFO1lBQ3RFLElBQUksU0FBUyxDQUFDLEdBQUcsQ0FBQyxFQUFFO2dCQUNsQixPQUFPLENBQUMsR0FBRyxDQUFDLEdBQUcsQ0FBQyxTQUFTLENBQUMsR0FBRyxDQUFDLENBQUMsUUFBUSxFQUFFLENBQUMsQ0FBQzthQUM1QztTQUNGO1FBRUQsT0FBTyxNQUFNLENBQUMsTUFBTSxDQUFDLE9BQU8sRUFBRTtZQUM1Qix5QkFBeUIsRUFBRSxDQUFDLElBQUksQ0FBQztTQUNsQyxDQUFDLENBQUM7SUFDTCxDQUFDO0lBRUQsa0JBQWtCLENBQUMsT0FBdUI7UUFDeEMsSUFBSSxDQUFDLGdCQUFnQixHQUFHLE9BQU8sQ0FBQztJQUNsQyxDQUFDO0lBRUQsZ0JBQWdCLENBQUMsT0FBdUI7UUFDdEMsSUFBSSxDQUFDLGNBQWMsR0FBRyxPQUFPLENBQUM7SUFDaEMsQ0FBQztDQUNGO0FBdE5ELHFDQXNOQyJ9

2

package.json
{
"name": "@thallo/api-websocket",
"version": "1.0.6",
"version": "1.1.0",
"main": "dist/index",

@@ -5,0 +5,0 @@ "typings": "dist/index.d.ts",

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