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

@mtkruto/browser

Package Overview
Dependencies
Maintainers
1
Versions
223
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mtkruto/browser - npm Package Compare versions

Comparing version 0.0.76 to 0.0.77

8

esm/client/client.js

@@ -89,6 +89,4 @@ import { gunzip } from "../deps.js";

decrypted = await decryptMessage(buffer, this.session.authKey, this.sessionId);
console.log({ decrypted });
}
catch (_err) {
console.log("failed to decrypt msg", { _err });
// logger().error(`Failed to decrypt message: ${err}`);

@@ -103,6 +101,2 @@ continue;

}
console.log("---");
console.log("message.body", message.body.constructor.name);
console.log("body", body.constructor.name);
console.log("---");
// logger().debug(`Received ${body.constructor.name}`);

@@ -117,3 +111,2 @@ if (body instanceof types.Updates) {

}
// console.log(result.constructor.name)
const promise = this.promises.get(message.body.messageId);

@@ -166,3 +159,2 @@ if (promise) {

}
console.log("invoking", function_.constructor.name);
let seqNo = this.state.seqNo * 2;

@@ -169,0 +161,0 @@ if (!(function_ instanceof functions.Ping) && !(function_ instanceof types.MsgsAck)) {

2

package.json

@@ -6,3 +6,3 @@ {

"name": "@mtkruto/browser",
"version": "0.0.76",
"version": "0.0.77",
"description": "MTKruto for browsers",

@@ -9,0 +9,0 @@ "author": "Roj <rojvv@icloud.com>",

@@ -115,6 +115,4 @@ "use strict";

decrypted = await (0, _1_message_js_1.decryptMessage)(buffer, this.session.authKey, this.sessionId);
console.log({ decrypted });
}
catch (_err) {
console.log("failed to decrypt msg", { _err });
// logger().error(`Failed to decrypt message: ${err}`);

@@ -129,6 +127,2 @@ continue;

}
console.log("---");
console.log("message.body", message.body.constructor.name);
console.log("body", body.constructor.name);
console.log("---");
// logger().debug(`Received ${body.constructor.name}`);

@@ -143,3 +137,2 @@ if (body instanceof types.Updates) {

}
// console.log(result.constructor.name)
const promise = this.promises.get(message.body.messageId);

@@ -192,3 +185,2 @@ if (promise) {

}
console.log("invoking", function_.constructor.name);
let seqNo = this.state.seqNo * 2;

@@ -195,0 +187,0 @@ if (!(function_ instanceof functions.Ping) && !(function_ instanceof types.MsgsAck)) {

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