@mtkruto/browser
Advanced tools
Comparing version 0.0.76 to 0.0.77
@@ -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)) { |
@@ -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)) { |
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
5997678
183367